bymgifford· 32 skills
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.
$npx -y skills add mgifford/accessibility-skills --skill light-dark-modeInstalls into the current project.
Run `npx skills use "https://github.com/mgifford/accessibility-skills" --skill "mgifford/accessibility-skills/light-dark-mode"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/mgifford/accessibility-skills" that are relevant to the current task. Run `npx skills add "https://github.com/mgifford/accessibility-skills"` and select the relevant skills, then follow their instructions.