Google Chrome System Dark Mode

When I switch Ubuntu 20.04 to dark mode (via gnome-tweak-tool > appearance > Shell > Yaru-dark and the Appearance section of the system app) Google Chrome doesn't seem to think that my OS/System Preference is for a dark theme, as evidenced by the chrome settings section and dev tools being light-themed. My dev tools are set to use a theme based on system preference. I know the enable-force-dark experimental setting exists, but I don't want chrome to try and convert web pages to a dark theme by itself. Is there some sort of setting in dconf or elsewhere that will tell Google Chrome to render it's internal pages with a dark theme?


Solution 1:

You must switch Google Chrome to GTK theme (Settings->Appearance->Themes) for make this works.

Solution 2:

Run

sudo nano ~/.config/gtk-3.0/settings.ini

and set

gtk-application-prefer-dark-theme

to 1.