desktop: My Zen Browser is keep forcing to use dark mode on some website that doesn't have a default background been set

Captchas

  • I have read the instructions.
  • I have searched existing issues and avoided creating duplicates.
  • I am not filing an enhancement request.

What happened?

I’m currently experiencing a minor bug where some of my site is forcing to display things in dark mode even though i’ve set the theme into light mode…

Image

Some websites like Laravel, and Alpine.js was broken because of this glitch…

Image

Image

Couple days ago… It doesn’t happen… Before this glitch happens… Everything runs normally with white background as the default page background… Somehow, this glitch happened and makes me hard to read what is written on the site…

This Display is when I used Firefox, and opened the same website but in dark mode…

Image

Reproducible?

  • I have checked that this issue cannot be reproduced on Mozilla Firefox.

Version

1.7.6b

What platform are you seeing the problem on?

Linux (Tarball)

Relevant log output if applicable


About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 5
  • Comments: 15 (3 by maintainers)

Most upvoted comments

Turn browser.tabs.allow_transparent_browser to false in about:config

This issue is due to websites which do not specify a background color. The browser.tabs.allow_transparent_browser toggle did not work for me.

I had to install the Stylus extension and add this rule for all URLs to fix the problem: html { background-color: white; }

With Stylus, this fixes all websites with this issue, and websites which specify background-color are not affected.

Please use this information to plan a native fix.