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

Fixed System Theme Detection doesn't work in Firefox #43 #44

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kartonrad
Copy link

This introduced a few changes in the architecture.

Essentially, a script is attatched to every tab, to listen for the changes in the (prefers-color-scheme: dark) media query.
Upon change, the extention is messaged.

This sets a global variable, that is then used to update the theme, either immediately, or when you focus the window

This introduced a few changes in the architecture
@kartonrad
Copy link
Author

Fixes #43

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

Successfully merging this pull request may close these issues.

1 participant