fix: use accent-dark with nord5 light override for prayer backgrounds
All checks were successful
CI / update (push) Successful in 1m32s

var(--color-bg-secondary) from app.css is not available since app.css
is never imported. Use var(--accent-dark) from nordtheme.css with
explicit light mode overrides using var(--nord5).
This commit is contained in:
2026-02-04 13:04:58 +01:00
parent d65886b4e7
commit 1c100a4534
4 changed files with 27 additions and 4 deletions

View File

@@ -31,7 +31,7 @@ div.gebet{
}
.gebet_wrapper{
padding: 1em;
background-color: var(--color-bg-secondary);
background-color: var(--accent-dark);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
max-width: 600px;
}
@@ -51,6 +51,11 @@ a.gebet-link {
color: inherit;
display: block;
}
@media (prefers-color-scheme: light) {
.gebet_wrapper {
background-color: var(--nord5);
}
}
</style>
{#if href}