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

css snippet @media (prefers-color-scheme: light) {} #39

Closed
kendallgassner opened this issue Oct 1, 2021 · 1 comment
Closed

css snippet @media (prefers-color-scheme: light) {} #39

kendallgassner opened this issue Oct 1, 2021 · 1 comment
Labels
good first issue Good for newcomers

Comments

@kendallgassner
Copy link
Collaborator

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

The user might indicate this preference through an operating system setting (e.g. light or dark mode) or a user agent setting.

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

@media (prefers-color-scheme: light) {}
@kendallgassner kendallgassner added the good first issue Good for newcomers label Oct 1, 2021
@aylinmarie
Copy link

Happy to take this on!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants