BigHugger
sk Skill · mgifford

light-dark-mode

Load this skill whenever the project supports light/dark mode, colour theme switching, high-contrast mode, or responds to prefers-color-scheme. Under no circumstances hard-code colours that break in alternative themes. Absolutely always test colour contrast in both light and dark themes, and respect user OS-level colour preferences via CSS media queries.

installs 8w
0
30-day movement
starts with the next reading
Related entries
1
Connections
0
htmljavascriptcssJavaScript
Host repository
mgifford/accessibility-skills
Host stars
45
Host language
JavaScript