-
Notifications
You must be signed in to change notification settings - Fork 174
Open
Labels
Experience: FrontendExperience: UXType: Enhancementgood first issueA good issue for anyone new to open source to work onA good issue for anyone new to open source to work onhacktoberfestGood issue for someone to work on for HacktoberfestGood issue for someone to work on for Hacktoberfesthelp wantedWe'd love to have help working on this issueWe'd love to have help working on this issue
Description
Description
There should be a button that switches the site between a light theme and a dark theme, with its default state set by something akin to window.matchMedia('(prefers-color-scheme: dark)')
Requirements
A white flash of light (a "flashbang") often occurs on pages that have toggleable themes before dark mode can be applied. There are ways to avoid this, described in the "Loading strategy" section of this reputable article.
Additional Notes
Let's be real, a site for coders should always have a dark theme.
Metadata
Metadata
Assignees
Labels
Experience: FrontendExperience: UXType: Enhancementgood first issueA good issue for anyone new to open source to work onA good issue for anyone new to open source to work onhacktoberfestGood issue for someone to work on for HacktoberfestGood issue for someone to work on for Hacktoberfesthelp wantedWe'd love to have help working on this issueWe'd love to have help working on this issue