fix: use semantic color for prayer section backgrounds in light mode
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:
2026-02-04 13:01:51 +01:00
parent 9da0a2740d
commit d65886b4e7
4 changed files with 10 additions and 26 deletions

View File

@@ -856,18 +856,12 @@ onMount(() => {
scroll-snap-align: start;
padding: 2rem;
margin-bottom: 2rem;
background: var(--accent-dark);
background: var(--color-bg-secondary);
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
position: relative;
}
@media(prefers-color-scheme: light) {
.prayer-section {
background: var(--accent-light);
}
}
.prayer-section.decade {
scroll-snap-align: start;
min-height: 50vh; /* Only decades need minimum height for scroll-snap */
@@ -940,6 +934,12 @@ onMount(() => {
transition: all 0.3s ease;
}
@media (prefers-color-scheme: light) {
.rosary-visualization :global(.cross-symbol) {
fill: var(--nord3);
}
}
.rosary-visualization :global(.hitboxes) {
fill: transparent;
}