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!

Søg i 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 svar
  • 1 har dette problem
  • 19 visninger
  • Seneste svar af 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.

Ændret af jhchnc den

Alle svar (2)

more options

(removed comment, figured out how to edit post)

Ændret af jhchnc den

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.