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

When in Default theme phoenix does not respond to OS toggling Dark-mode in chromium #766

Closed
mathewdennis1 opened this issue Dec 17, 2022 · 2 comments

Comments

@mathewdennis1
Copy link
Contributor

Describe the bug
OS dark mode auto-swich does not work in phoenix running on chromium while it works on firefox.
To Reproduce
Steps to reproduce the behavior:

  1. Go to 'view > themes'
  2. Change current theme to system default
  3. Now toggle dark mode in os.
  4. See error

Expected behavior
Phoenix respond to os changing to dark mode.
Screenshots
ezgif com-gif-maker (2)

Desktop (please complete the following information):

  • OS: ubuntu 22.10
  • Browser: chromium
@mathewdennis1 mathewdennis1 changed the title when in Default theme phoenix does not respond to OS toggling Dark-mode in chromium When in Default theme phoenix does not respond to OS toggling Dark-mode in chromium Dec 17, 2022
@mathewdennis1
Copy link
Contributor Author

mathewdennis1 commented Dec 19, 2022

looks like a bug in chromium : media query always returns "light" even in dark mode.

image

https://developer.chrome.com/blog/auto-dark-theme/

@abose
Copy link
Member

abose commented Nov 7, 2023

This is a chrome bug in linux/gnome as @mathewdennis1 pointed out.
Closing as it will be fixed in future gnome-chrome updates.

Works as expected in mac/windows/tauri.
Closing as there is nothing we can do from our end.

@abose abose closed this as completed Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants