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
{{ message }}
This repository has been archived by the owner on Jun 20, 2020. It is now read-only.
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.
Also for better user experience I recommend stylus + github dark and not github dark script, the latter doesnt support multiple @moz-doc sections and its needed.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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!
The text was updated successfully, but these errors were encountered: