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.

mgifford fcb83d0 2 files · 26.2 KB Updated

File contents

mgifford/accessibility-skills/tree/main/skills/light-dark-mode commit fcb83d0599

Frequently asked questions

npx skillmds@latest add mgifford/light-dark-mode