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

Add support for variants (light & dark mode) #3

Open
helje5 opened this issue Jul 2, 2021 · 1 comment
Open

Add support for variants (light & dark mode) #3

helje5 opened this issue Jul 2, 2021 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@helje5
Copy link
Contributor

helje5 commented Jul 2, 2021

I think this can also be done using just plain CSS (switching the site on light or dark mode).

A small JS button to let the user switch shouldn't be hard either?

@helje5 helje5 added the help wanted Extra attention is needed label Jul 6, 2021
@Tyler-Keith-Thompson
Copy link

FWIW there's also a media query that reads from OS settings: https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme

That could be a replacement for a button, or at least a default value for said button.

helje5 added a commit that referenced this issue Oct 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Development

No branches or pull requests

2 participants