Az oldal korlátolt funkcionalitással fog rendelkezni, amíg elvégezzük a felhasználói élményt javító karbantartást. Ha egy leírás nem oldja meg a problémáját, és kérdést tenne fel, akkor a támogatási közösségünk a @FirefoxSupport Twitter oldalon tud segíteni, vagy az /r/firefox oldalon a Redditen.

Támogatás keresése

Kerülje el a támogatási csalásokat. Sosem kérjük arra, hogy hívjon fel egy telefonszámot vagy osszon meg személyes információkat. Jelentse a gyanús tevékenységeket a „Visszaélés bejelentése” lehetőséggel.

További tudnivalók

A témacsoportot lezárták és archiválták. Tegyen fel új kérdést, ha segítségre van szüksége.

Disabling dark mode

  • 9 válasz
  • 1 embernek van ilyen problémája
  • 24 megtekintés
  • Utolsó üzenet ettől: Paul

more options

With a new update that came out a little bit ago, firefox decided to match themes and dark/light mode. I don't like this. I use the darkfox theme, but like light mode for everything.

I previously changed browser.theme.content-theme, which fixed the content, but not toolbars/popups/etc.

Today I found out about browser.theme.toolbar-theme and changed that, which did make everything else light mode (temporarily).

It seems that the changes in about:config are tied to the theme as well. Every time I close firefox, the changes revert. When I switched the theme from darkfox to the default light theme, it changed the preferences to light mode, and when I went back to darkfox it changed the preferences to dark mode.

On darkfox, the preferences are: browser.theme.content-theme 2 browser.theme.toolbar-theme 0

On the light theme, they are: browser.theme.content-theme 1 browser.theme.toolbar-theme 1

Is there some way to unlink theme and preferences, or otherwise lock these two specific preferences so firefox stops trying to match my theme and dark mode?

With a new update that came out a little bit ago, firefox decided to match themes and dark/light mode. I don't like this. I use the darkfox theme, but like light mode for everything. I previously changed browser.theme.content-theme, which fixed the content, but not toolbars/popups/etc. Today I found out about browser.theme.toolbar-theme and changed that, which did make everything else light mode (temporarily). It seems that the changes in about:config are tied to the theme as well. Every time I close firefox, the changes revert. When I switched the theme from darkfox to the default light theme, it changed the preferences to light mode, and when I went back to darkfox it changed the preferences to dark mode. On darkfox, the preferences are: browser.theme.content-theme 2 browser.theme.toolbar-theme 0 On the light theme, they are: browser.theme.content-theme 1 browser.theme.toolbar-theme 1 Is there some way to unlink theme and preferences, or otherwise lock these two specific preferences so firefox stops trying to match my theme and dark mode?

Összes válasz (9)

more options

Try to enter 'about:config' in the URL bar and set layout.css.prefers-color-scheme.content-override = 2 or 1.

more options
more options

terry21 said

You could try userChrome.css. https://support.mozilla.org/en-US/questions/1364054#answer-1473397

So it only took me two weeks to respond -- boy, my work has been so busy that I haven't even had time to fix the most annoying thing that I see every time I turn on my computer.

Anyway, thanks for this, it helps in part. My menue bar (the one from the 3 little lines) is in light mode now, but my right-click menues are in dark, as is my history window still. Any further CSS things I could use to fix those? thanks!

Módosította: natoboo101,

more options

TyDraniu said

Try to enter 'about:config' in the URL bar and set layout.css.prefers-color-scheme.content-override = 2 or 1.

Unfortunately, no change from this.

more options

OK, try these. I am not using black on white but I have made those the colours. These don't affect the history window; perhaps ask about that on the FirefoxCSS sub on reddit. 'panelview' may also affect the 3 bar menu.

menupopup, panel {
  --panel-background: White !important;
  --panel-color: Black !important;
}
panelview {
  --arrowpanel-background: White !important;
  --arrowpanel-color: Black !important;
  color: Black !important;
}
more options

terry21 said

OK, try these. I am not using black on white but I have made those the colours. These don't affect the history window; perhaps ask about that on the FirefoxCSS sub on reddit. 'panelview' may also affect the 3 bar menu.
menupopup, panel {
  --panel-background: White !important;
  --panel-color: Black !important;
}
panelview {
  --arrowpanel-background: White !important;
  --arrowpanel-color: Black !important;
  color: Black !important;
}

Getting closer! My right-click menues are light mode now. History window is still dark though.

more options

As I said, you may have to ask on the reddit sub. I have never been able to find code for the library window in the time I have had available. The Browser Tool Box is supposed to help but it's a devil to use.

more options

terry21 said

As I said, you may have to ask on the reddit sub. I have never been able to find code for the library window in the time I have had available. The Browser Tool Box is supposed to help but it's a devil to use.

Yup, I'm asking the reddit now. Hopefully I can get something good.

more options

WARNING from the moderator team: userChrome.css scripts are not provided by Mozilla and is not officially supported. Firefox is a work in progress and, to allow for continuous innovation, Mozilla cannot guarantee future updates won’t impact your customizations. For this reason, Mozilla does not officially support style rules customization.

Please read Firefox Advanced Customization and Configuration Options to learn more.