Skip to content

fix: use dark background in all themes#14

Open
RickardHF wants to merge 1 commit into
mainfrom
issue-13-dark-background-all-themes
Open

fix: use dark background in all themes#14
RickardHF wants to merge 1 commit into
mainfrom
issue-13-dark-background-all-themes

Conversation

@RickardHF
Copy link
Copy Markdown
Owner

Summary

Updates the light mode CSS variables in globals.css to use the same dark palette as the default/dark theme. This ensures the background stays dark regardless of the user's prefers-color-scheme setting.

Closes #13

Update light mode CSS variables to use the same dark palette as the
default/dark theme, ensuring the background stays dark regardless of
the user's prefers-color-scheme setting.

Closes #13

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Owner Author

@RickardHF RickardHF left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review: ✅ Looks Good

Summary: This PR correctly addresses issue #13 by replacing the light-mode CSS variable values in globals.css with the same dark palette already defined in :root.

Correctness: All 11 overridden variables now exactly match their :root counterparts. The --btn-text value was already correct and is preserved.

Observations:

  • The change is minimal and surgical — only values inside the @media (prefers-color-scheme: light) block are updated.
  • The comment was updated to reflect the design intent, which is good documentation.
  • Since the light-mode values now mirror :root, the entire @media block could technically be removed. However, keeping it is reasonable as explicit documentation of the "always dark" intent.
  • No functional regressions expected — this is a CSS-only change.

No issues found. LGTM — ready to merge.

@RickardHF RickardHF mentioned this pull request May 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Vissual change

1 participant