Skip to content

Commit 52d3262

Browse files
Refactor styles.css onto a single set of light/dark theme tokens
Replaces ~50 scattered body.dark per-selector color overrides with semantic CSS custom properties (--bg, --text, --border, --invert-bg, etc.) defined once in :root and redefined once under body.dark, so any new section inherits correct theming automatically. Also fixes two existing dark-mode bugs this surfaced: .btn-primary had no dark styling and was nearly invisible against a dark background, and the footer logo's dark override was un-inverting it back toward black on the footer's always-dark background.
1 parent 26bdd9b commit 52d3262

1 file changed

Lines changed: 160 additions & 156 deletions

File tree

0 commit comments

Comments
 (0)