Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

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

  • 2 svar
  • 1 har detta problem
  • 19 visningar
  • Senaste svar av 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.

Ändrad av jhchnc

Alla svar (2)

more options

(removed comment, figured out how to edit post)

Ändrad av 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.