Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

  • 2 replies
  • 1 has this problem
  • 19 views
  • Last reply by TyDraniu

more options

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

All Replies (2)

more options

(removed comment, figured out how to edit post)

Modified by jhchnc

more options

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.