After upgrading Chrome to 114.0.5735.90, it now follows the system dark mode. I want to force websites opened in Google Chrome to use light mode while keeping the OS on dark mode. I've tried to disable chrome://flags/#enable-force-dark but not luck, it does nothing.
-
You can open and new tab customize chrome button and click on colors and themes and change the theme. ..... That all the option chrome gives– JohnMay 31 at 20:19
-
Even if I choose a light theme, the websites still follow the system theme.– RaftelMay 31 at 20:22
-
I use Light Mode (Windows and Linux) and Chrome works fine on all websites that way.– JohnMay 31 at 20:23
-
I'm sorry that I wasn't clear, I need to keep using the dark theme on all applications except browsers, Google chrome show web contents on dark mode and I want to force it to light mode.– RaftelMay 31 at 20:35
4 Answers
It is currently impossible to achieve this easily. chrome://flags/#enable-force-dark only attempts to set prefers-color-scheme media option to dark, setting it to false only means it won't try to enforce it, not that'll try to enforce light theme.
This is suggested as a feature in Chromium's bug tracker, which doesn't seem to have much progress - you can bump it with good reasoning why this option should exist.
As a workaround, the best thing you can do is launch dev tools (F12), then under Styles tab click on this icon in top right corner of toolbar:
and choose prefers-colors-scheme: light. That isn't preserved ofc, though. You can also set this to a shortcut after clicking cog icon (settings) -> Shortcuts -> Toggle CSS media feature prefers-color-scheme.
This fixed the issue for me in Ubuntu jammy (to be called in a terminal):
gsettings set org.gnome.desktop.interface color-scheme prefer-light
-
Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.– Community BotJun 3 at 8:52
chrome://flags/#enable-force-dark is Auto Dark Mode for Web Contents, not for the browser interface itself.
You can install a Theme from the Chrome Web Store to change the theme back. Something like Light Theme for Google Chrome or Default Light Theme.
-
Sorry for the confusion, I do need to force light mode for Web contents not the interface. I've tried the theme you linked, they do change the interface to light, but the website are still dark.– RaftelMay 31 at 20:32
-
I was struggling with this new update, and the best solution I have now is to press F12 > Settings (gear icon) > Preferences tab > Appearance category > Theme > light.
-
1Hello, this doesn't really answer the question. They are asking about forcing light mode on websites which support that. Jun 2 at 13:18
-