Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic theme mode not working #7313

Open
3 of 5 tasks
ricardoboss opened this issue Apr 4, 2025 · 1 comment
Open
3 of 5 tasks

Dynamic theme mode not working #7313

ricardoboss opened this issue Apr 4, 2025 · 1 comment
Labels
Bug component: settings Related to the settings page of Zen platform: windows

Comments

@ricardoboss
Copy link

Captchas

  • I have read the instructions.
  • I have searched existing issues and avoided creating duplicates.
  • I am not filing an enhancement request.
  • I have checked that this issue cannot be reproduced on Mozilla Firefox.
  • I have checked that this issue can be reproduced once I removed all my Mods and Custom CSS.

What happened?

The browser is stuck in light mode when I actually set it to automatic:

Image

Version

1.10.3b (Firefox 136.0.4) (64-bit)

What platform are you seeing the problem on?

Windows - x64

What component is this issue related to?

Settings

Relevant log output if applicable

@tyuichis
Copy link

tyuichis commented Apr 5, 2025

Seems to be an issue on Mac too. Automatic defaults to Dark Mode. prefers-color-scheme returns the wrong theme color (Dark instead of Light), i.e. by checking with:

if (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches) {
  console.log('User prefers dark mode');
} else {
  console.log('User prefers light mode');
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug component: settings Related to the settings page of Zen platform: windows
Projects
Status: Triage
Development

No branches or pull requests

3 participants