I have totally ran out of ideas as to why Chrome/Firefox both won't use my GTK theme which is set to dark. I've been messing around with trying to add --force-dark-mode --enable-features=WebUIDarkMode
to the flags, but that doesn't appear to be working either. I don't know whether I'm doing it wrong or not.
I tried adding the following to ~/.config/gtk-4.0/settings.ini
and ~/.config/gtk-3.0/settings.ini
as well.
[Settings]
gtk-application-prefer-dark-theme=1
That didn't work either.
Could anyone provide me with some advice as to how to get Chromium to use dark mode? I'm on pretty much a brand new installation of Ubuntu 22.04.02
EDIT: Changing the files I mentioned and rebooting solved the issue.