Force dark theme for content in Chrome depending on system settings
2
votes
0
answers
124
views
I know there is a setting in
chrome://flags
which forces dark mode for content ("Auto dark mode for Web content", #enable-force-dark
). This works pretty well on all websites, even those which don't explicitly support dark mode.
However, this setting seems to be independent of Android's system-wide Dark theme. I would like Chrome to display content in dark mode each time I switch Android to Dark mode, and revert back to normal when Android is in Light mode. How can I achieve this?
Bonus question: is it possible for a website to tell Chrome to follow system-wide Light/Dark theme? This would, at least, solve the problem for websites that I develop.
Asked by Dmitry Grigoryev
(686 rep)
Dec 14, 2024, 09:18 PM
Last activity: Dec 15, 2024, 01:31 AM
Last activity: Dec 15, 2024, 01:31 AM