light-dark-mode
@mgifford · 收录于 1 周前
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 安装 校验哈希
npx oh-my-skill add mgifford/accessibility-skills/light-dark-mode/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- mgifford/accessibility-skills/light-dark-mode/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify mgifford/accessibility-skills/light-dark-mode安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
23GitHub stars
~4.2K最小装载
~4.2K含声明引用
~4.3K文本包总量
索引托管
评论
登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。
…