본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Disabling dark mode

  • 9 답장
  • 1 이 문제를 만남
  • 24 보기
  • 최종 답변자: 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?

모든 댓글 (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!

글쓴이 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.