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.
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