Vivaldi on Manjaro Gnome: can't switch sites to light mode when Gnome is in dark mode

Can’t switch sites to light mode when Gnome is in dark mode. Sites are always in dark mode, when Gnome is set in dark mode. Vivaldi settings in Appearance don’t work. Vivaldi flag –-enable-force-dark=disable also doesn’t work.

Has anyone had this issue?

Vivaldi Settings → Appearance → Website Appearance:

  1. Set the theme to Auto
  2. Uncheck Force a dark theme on all websites

If that doesn’t work, maybe others might have a clue.

Regards.

1 Like

Thanks for your reply! I’ve tried these settings, and all sites are still in dark mode. Now i’ve noticed, that when i set “Force a dark theme on all websites“ sites look a bit different, more dark… It looks like something different changes sites to dark mode, not vivaldi itself, if it makes any sense.

Sites which implement dark/light mode by use of a button usually do it by switching the base css.

Another approach is to ask the system if it is in dark or light mode and load the css accordingly.

Also note the cautionary message provided by Vivaldi when selecting to force apply a dark mode - because it may give a strange result.

A complete browser shutdown and restart may be required for the change to be fully applied.

1 Like

This is the case I think. Somehow sites get request for dark version all the time. When I switch gnome theme to light, all sites in vivaldi switch to light theme too.

Ok, I think it’s Vivaldi bug:

1 Like

It looks like that issue was fixed several months ago.

I’m currently using Vivaldi 7.7.3851 on Debian, and there’s no such issue. I haven’t used Manjaro for a few hours – it was fine then, but when I switch back, I’ll check Vivaldi again.

I don’t think Vivaldi is the problem.

Please create a fresh User account (for testing purposes) and let us know if this persists in a fresh environment.

Regards.

I’ve made new user - all the same. Vivaldi setting “Website Appearance” doesn’t change sites appearance. Only Gnome theme (light/dark) changes site instantly.

I’ve finally managed to switch sites to light mode through the “chrome menu“:
chrome://settings/appearance

On this menu you have to switch to classic theme from GTK theme and then select light mode.

GTK2 support is being removed from Arch, and by extension, Manjaro. Perhaps that is related.

Good to know you found a workaround in the meantime.

Regards.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.