Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Light/Dark mode switch refactor: toggle on <html>, use CSS vars #11

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Commits on Jan 4, 2024

  1. Configuration menu
    Copy the full SHA
    f4a51c3 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2024

  1. Toggle is consistent and functional

    - Repsects prefers-dark by default in JS (no override in SASS)
    - light/dark-mode class correctly applied to <html>, not <body>
    peterkos committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    ca0c5e0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6139666 View commit details
    Browse the repository at this point in the history