fix: use semantic color for prayer section backgrounds in light mode
All checks were successful
CI / update (push) Successful in 1m27s
All checks were successful
CI / update (push) Successful in 1m27s
Replace var(--accent-dark) with var(--color-bg-secondary) which maps to the correct color in both modes, removing dead @media overrides that referenced the undefined var(--accent-light). Also match rosary cross fill to Benedictus medal color in light mode.
This commit is contained in:
@@ -31,7 +31,7 @@ div.gebet{
|
||||
}
|
||||
.gebet_wrapper{
|
||||
padding: 1em;
|
||||
background-color: var(--accent-dark);
|
||||
background-color: var(--color-bg-secondary);
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
||||
max-width: 600px;
|
||||
}
|
||||
@@ -51,14 +51,6 @@ a.gebet-link {
|
||||
color: inherit;
|
||||
display: block;
|
||||
}
|
||||
@media(prefers-color-scheme: light){
|
||||
.gebet_wrapper{
|
||||
background-color: var(--accent-light);
|
||||
}
|
||||
:global(.gebet v:lang(la)){
|
||||
color: black;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
{#if href}
|
||||
|
||||
Reference in New Issue
Block a user