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!

Hilfe durchsuchen

Vorsicht vor Support-Betrug: Wir fordern Sie niemals auf, eine Telefonnummer anzurufen, eine SMS an eine Telefonnummer zu senden oder persönliche Daten preiszugeben. Bitte melden Sie verdächtige Aktivitäten über die Funktion „Missbrauch melden“.

Weitere Informationen

Dark Mode and a theme?

  • 2 Antworten
  • 1 hat dieses Problem
  • 48 Aufrufe
  • Letzte Antwort von Chen

more options

Before Firefox updated last night, I was able to use a dark mode and a theme on new tabs and the settings/addons page. Now I'm only able to use one or the other? Is this a glitch or just how it is now?

Before Firefox updated last night, I was able to use a dark mode and a theme on new tabs and the settings/addons page. Now I'm only able to use one or the other? Is this a glitch or just how it is now?
Angefügte Screenshots

Ausgewählte Lösung

They are definitely linked. Starting in Firefox 95, built-in pages, and websites that have light/dark responsive themes, tend to follow your toolbar theme. If your toolbar theme has dark text on the tabs, the content theme will have dark text on a light background. And vice versa.

There is a way to decouple your page (content) theme preference from your toolbar theme. At this point, it's only available through the back door...

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button accepting the risk.

More info on about:config: Configuration Editor for Firefox. The moderators would like us to remind you that changes made through this back door aren't fully supported and aren't guaranteed to continue working in the future.

(2) In the search box in the page, type or paste layout.css.prefers-color-scheme.content-override and pause while the list is filtered

(3) Double-click the preference to display an editing field, and change the value to whatever you prefer from the list below, then press Enter or click the blue check mark button to save the change.

  • 0 => Force a Dark background
  • 1 => Force a Light background
  • 2 => Follow the System theme (default in Firefox 94)
  • 3 => Follow the Browser toolbar theme (default in Firefox 95+)

The about:config page should immediately reflect your saved change.

Does that work on your Firefox?

Diese Antwort im Kontext lesen 👍 2

Alle Antworten (2)

more options

Ausgewählte Lösung

They are definitely linked. Starting in Firefox 95, built-in pages, and websites that have light/dark responsive themes, tend to follow your toolbar theme. If your toolbar theme has dark text on the tabs, the content theme will have dark text on a light background. And vice versa.

There is a way to decouple your page (content) theme preference from your toolbar theme. At this point, it's only available through the back door...

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button accepting the risk.

More info on about:config: Configuration Editor for Firefox. The moderators would like us to remind you that changes made through this back door aren't fully supported and aren't guaranteed to continue working in the future.

(2) In the search box in the page, type or paste layout.css.prefers-color-scheme.content-override and pause while the list is filtered

(3) Double-click the preference to display an editing field, and change the value to whatever you prefer from the list below, then press Enter or click the blue check mark button to save the change.

  • 0 => Force a Dark background
  • 1 => Force a Light background
  • 2 => Follow the System theme (default in Firefox 94)
  • 3 => Follow the Browser toolbar theme (default in Firefox 95+)

The about:config page should immediately reflect your saved change.

Does that work on your Firefox?

more options

That worked! Thanks so much!