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 Updated 61 repo stars

File contents

mgifford/accessibility-skills commit fcb83d0599

Frequently asked questions

npx get-skill add mgifford/light-dark-mode