Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

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.