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

Support CSS feature prefers-color-scheme #1007

Closed
peterbecich opened this issue Feb 13, 2022 · 3 comments · Fixed by #1008
Closed

Support CSS feature prefers-color-scheme #1007

peterbecich opened this issue Feb 13, 2022 · 3 comments · Fixed by #1008

Comments

@peterbecich
Copy link
Member

https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme

The prefers-color-scheme CSS media feature is used to detect if the user has requested a light or dark color theme.

GitHub and Google support this feature.

@kandji-edwin
Copy link

Are there color palettes for light and dark themes that would be used for this?

@peterbecich
Copy link
Member Author

@kandji-edwin , I haven't found any so I took the existing colors and guessed: #1008 (comment)

@gbaz gbaz closed this as completed in #1008 Jan 2, 2023
@peterbecich
Copy link
Member Author

Improvement: #1281

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants