@media (prefers-color-scheme)

This media query allows to theme for system light and dark mode.

Estimated Support About

25.0% supported

Notes

  • 1

    Not supported. @media (prefers-color-scheme) is transformed into @media ( _filtered_a ).

  • 2

    Not supported. @media (prefers-color-scheme:dark) is transformed into @media none.

Know something we don't?

Is any of the above data outdated? Or do you want to add a new email client to the list? Heads on to GitHub and edit the data file!

Not comfortable with GitHub? Send us an email or get in touch on Twitter.

Test it yourself

This feature was last tested on September 26, 2019.

If you want to test this feature in the same conditions as we did, you can get our test code and run a test by yourself. Make sure to follow our testing recommendations first.