You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WIth MacOS, IOS, and Android support for dark mode and the prefers-color-scheme CSS media query, it would be great if this script would respect those settings if set.
The behavior I was thinking is:
prefers-color-scheme == light --> Disable dark mode related styling, but keep other tweaks enabled
prefers-color-scheme == dark --> Enable dark mode related styling
prefers-color-scheme == false (unset) --> Enable dark mode related styling
Ideally, there would be a feature toggle which could override the OS setting.
WIth MacOS, IOS, and Android support for dark mode and the prefers-color-scheme CSS media query, it would be great if this script would respect those settings if set.
The behavior I was thinking is:
prefers-color-scheme == light --> Disable dark mode related styling, but keep other tweaks enabled
prefers-color-scheme == dark --> Enable dark mode related styling
prefers-color-scheme == false (unset) --> Enable dark mode related styling
Ideally, there would be a feature toggle which could override the OS setting.
Mozilla - prefers-color-scheme
prefers-color-scheme: Hello darkness, my old friend
Thoughts? Thanks for the great project!