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!

Цей вебсайт матиме обмежену функціональність, доки ми проводимо його обслуговування для поліпшення роботи. Якщо прочитана стаття не розв'язала вашу проблему і ви хочете поставити питання, наша спільнота підтримки з радістю допоможе вам на @FirefoxSupport у Twitter та /r/firefox на Reddit.

Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

Certain websites appear in some sort of "dark mode" when dark themes are enabled

  • 9 відповідей
  • 5 мають цю проблему
  • 155 переглядів
  • Остання відповідь від Andrew Nefedkin

more options

I've been using Elijah Lopez's Matte Black (Red) theme for months. Recently, I think because I added the ClearURLs extension or some other change, certain websites enter some sort of "dark mode" when accessed.

Websites that do this include Twitter, an independent blog, and Youtube.

The website appears normally with the default light theme enabled. In the second photo, the website appears in the "dark mode" with the black Firefox theme enabled.

I have deleted cookies and cache, reinstalled Firefox, and reinstalled Extensions. I think this problem only occurs with dark themes, and nothing else. The moment I change to dark theme, the problem comes back. It is strange because the dark theme was working just fine for months until recently.

How can I keep the dark theme, preferably the same Elijah Lopez's dark theme, while using websites normally and not in this weird "dark theme" style adaptation?

I've been using Elijah Lopez's Matte Black (Red) theme for months. Recently, I think because I added the ClearURLs extension or some other change, certain websites enter some sort of "dark mode" when accessed. Websites that do this include Twitter, an independent blog, and Youtube. The website appears normally with the default light theme enabled. In the second photo, the website appears in the "dark mode" with the black Firefox theme enabled. I have deleted cookies and cache, reinstalled Firefox, and reinstalled Extensions. I think this problem only occurs with dark themes, and nothing else. The moment I change to dark theme, the problem comes back. It is strange because the dark theme was working just fine for months until recently. How can I keep the dark theme, preferably the same Elijah Lopez's dark theme, while using websites normally and not in this weird "dark theme" style adaptation?

Обране рішення

If you want to have different color scheme preference for FF UI and sites, you can change "layout.css.prefers-color-scheme.content-override" in 'about:config' to:

  Dark (0), light (1), system (2) or browser (3)

For 94 default was 2, in version 95 it is 3. You can either fallback to 2 or just use 0/1 to change color preference for sites.

WARNING: Changing preferences through this interface not officially supported Hidden settings edited using the about:config tool are explicitly not supported, which means that Mozilla makes no guarantees they will be supported in the future, or that Mozilla will fix them if they break. Mozilla does not test these preferences, and will not in the future. That includes security and performance testing which these preferences may affect.

[Warning added by moderator.]

Читати цю відповідь у контексті 👍 8

Усі відповіді (9)

more options

Вибране рішення

If you want to have different color scheme preference for FF UI and sites, you can change "layout.css.prefers-color-scheme.content-override" in 'about:config' to:

  Dark (0), light (1), system (2) or browser (3)

For 94 default was 2, in version 95 it is 3. You can either fallback to 2 or just use 0/1 to change color preference for sites.

WARNING: Changing preferences through this interface not officially supported Hidden settings edited using the about:config tool are explicitly not supported, which means that Mozilla makes no guarantees they will be supported in the future, or that Mozilla will fix them if they break. Mozilla does not test these preferences, and will not in the future. That includes security and performance testing which these preferences may affect.

[Warning added by moderator.]

Змінено Chris Ilias

more options

Thank you so much, this was driving me crazy

more options

TyDraniu, thanks a lot!

more options

Changing the option, from 3 to 1 reverted the web pages, back to where it was, prior to the update to v95.

more options

Thanks so much! Glad I am finally rid of that dark mode and pages I couldn't read!

more options

Changing the option from 3-1 still did not work for me to get rid of this dark mode. I have tried all the sugeestions - isn't there anyone who can help??

more options
Somehow, changing this option from 3 to 2 or 1 don't work as expected anymore which many reports since few days when this happend. It changes background of sites, but contex menus and tabs are still in dark theme. What to do?

TyDraniu said

If you want to have different color scheme preference for FF UI and sites, you can change "layout.css.prefers-color-scheme.content-override" in 'about:config' to: Dark (0), light (1), system (2) or browser (3) For 94 default was 2, in version 95 it is 3. You can either fallback to 2 or just use 0/1 to change color preference for sites. WARNING: Changing preferences through this interface not officially supported Hidden settings edited using the about:config tool are explicitly not supported, which means that Mozilla makes no guarantees they will be supported in the future, or that Mozilla will fix them if they break. Mozilla does not test these preferences, and will not in the future. That includes security and performance testing which these preferences may affect. [Warning added by moderator.]

Змінено Hedrox

more options

Hedrox said

Somehow, changing this option from 3 to 2 or 1 don't work as expected anymore which many reports since few days when this happend. It changes background of sites, but contex menus and tabs are still in dark theme. What to do?

Looks like you've chosen a dark theme. If you see white text on your tab bar, theme is dark. Please switch to a light theme to have bright context menus.

See Use themes to change the look of Firefox or Built-in themes in Firefox - alternative to complete themes to learn more about themes.

more options

TyDraniu сказал(а)

If you want to have different color scheme preference for FF UI and sites, you can change "layout.css.prefers-color-scheme.content-override" in 'about:config' to: Dark (0), light (1), system (2) or browser (3) For 94 default was 2, in version 95 it is 3. You can either fallback to 2 or just use 0/1 to change color preference for sites.

Wow, this really helps!!! What a pity to suddenly have a change in default colors even without an UI option to customize!