X
Tap here to go to the mobile version of the site.

Support Forum

How can I use the "prefers-color-scheme: dark" CSS media query on FF Developers Edition, Ubuntu 18.04?

Posted

I'm trying to test latest CSS properties that I think FF 67 supports. Specifically:

prefers-color-scheme: dark

Is this something I can set in FF? Or is this an OS level integration?

Thanks.

I'm trying to test latest CSS properties that I think FF 67 supports. Specifically: prefers-color-scheme: dark Is this something I can set in FF? Or is this an OS level integration? Thanks.

Modified by jhchnc

Additional System Details

Application

  • User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0

More Information

Question owner

(removed comment, figured out how to edit post)

(removed comment, figured out how to edit post)

Modified by jhchnc

TyDraniu
  • Top 25 Contributor
319 solutions 1830 answers

It's OS based and probably you can't set the dark mode in Ubuntu. It works in Win10 and perhaps in Mac.

But according to bug 1529323, devs are considering setting 'prefers-color-scheme: dark' when the dark theme is chosen in Firefox.

It's OS based and probably you can't set the dark mode in Ubuntu. It works in Win10 and perhaps in Mac. But according to [https://bugzilla.mozilla.org/show_bug.cgi?id=1529323 bug 1529323], devs are considering setting 'prefers-color-scheme: dark' when the dark theme is chosen in Firefox.