Closed iammatthias closed 5 years ago
Two color schemes exist for this site, a light and a dark.
Goal: default to light theme. Switch to dark theme programmatically based on local time of day. Must work with current theming using Emotion.sh.
Achieved with @media (prefers-color-scheme: dark), waiting on wider browser support(implemented already, but won't work in most browsers yet).
Two color schemes exist for this site, a light and a dark.
Goal: default to light theme. Switch to dark theme programmatically based on local time of day. Must work with current theming using Emotion.sh.