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 prefers-color-scheme CSS media query #4514

Closed
danielcompton opened this issue Sep 27, 2018 · 5 comments
Closed

Add support for prefers-color-scheme CSS media query #4514

danielcompton opened this issue Sep 27, 2018 · 5 comments

Comments

@danielcompton
Copy link
Contributor

For dark mode in macOS (among others):

https://drafts4.csswg.org/mediaqueries-5/#prefers-color-scheme
https://brehaut.net/blog/2018/a_dark_mode_less_mixin

This is still not implemented anywhere yet.

@axelfontaine
Copy link

Implemented in Safari Tech Preview 68 now.

@Malvoz
Copy link
Contributor

Malvoz commented Oct 29, 2018

Implemented in Safari Tech Preview 68 now.

In the future, please provide documentation to confirm it :)
https://trac.webkit.org/changeset/237156/webkit

@atjn
Copy link
Contributor

atjn commented Jan 6, 2019

Chrome is looking at it now:
https://www.chromestatus.com/feature/5109758977638400

@DoubyCz
Copy link

DoubyCz commented Jan 29, 2019

on mobile platform, there must be system dark mode preference in settings (Android 9+). It does not make any sense without it, so not just a browser but OS version is limitating factor too.

@Fyrd
Copy link
Owner

Fyrd commented Jan 31, 2019

Now available at https://caniuse.com/#feat=prefers-color-scheme

@Fyrd Fyrd closed this as completed Jan 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants