Fix dark/light theme toggle — incomplete CSS overrides for key elements #17
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Bug Description
The dark/light theme toggle is incomplete. Switching to light theme leaves several elements (footer, dark sections, glass cards) with dark backgrounds and/or invisible text because
[data-theme="light"]CSS overrides are missing.Root Cause Analysis
[data-theme="light"]overrides are incomplete instyle.css.footer— no light theme background/text color defined (dark bg + dark text = invisible).bg-dark-section— no light theme override (stays dark in light mode).glass-card— no light theme override (glass effect designed for dark background)Acceptance Criteria
[data-theme="light"].footerhas proper light background and text colors.bg-dark-sectionhas light theme override (light background, dark text).glass-cardhas light theme variant (light bg, dark text, subtle shadow)Files Likely Affected
css/style.css—[data-theme="light"]overridesjs/theme.jsorjs/main.js— theme toggle logic, localStorage persistenceindex.html+ 5 other pages — theme toggle button presence in navbarHow to Verify