diff --git a/containers/backupchecks/src/static/css/layout.css b/containers/backupchecks/src/static/css/layout.css index e5c1381..d258e5e 100644 --- a/containers/backupchecks/src/static/css/layout.css +++ b/containers/backupchecks/src/static/css/layout.css @@ -373,17 +373,10 @@ body.bc-body { } } -/* ============================================================ - DARK THEME overrides - ============================================================ */ -[data-bs-theme="dark"] .bc-main { +.bc-main { background: var(--bc-main-bg-dark); } -[data-bs-theme="light"] .bc-main { - background: var(--bc-main-bg); -} - /* ============================================================ CONTENT TYPOGRAPHY & UTILITIES ============================================================ */ diff --git a/containers/backupchecks/src/templates/layout/base.html b/containers/backupchecks/src/templates/layout/base.html index a7d33b2..9ab2fd7 100644 --- a/containers/backupchecks/src/templates/layout/base.html +++ b/containers/backupchecks/src/templates/layout/base.html @@ -30,8 +30,7 @@ {% endmacro %} -{% set _theme_pref = (current_user.theme_preference if current_user.is_authenticated else 'auto') %} - +