SKILL

shadcn-theming

Use when defining or auditing shadcn/ui design tokens, OKLCH colors, or dark/light mode CSS variables.

原文 · 译文尚未补齐

适用对象:设计与内容创作。自动收录 · 待核查。

原作者说明节选

从固定版本的 SKILL.md 提取,保留原文语言。以下内容属于作者说明,本站尚未验证安装、兼容或运行结果。

查看英文原文

原文涵盖的主题

  • shadcn Theming
  • Agent Workflow (MANDATORY)
  • Overview
  • Theme CLI (verified on shadcn 4.23.0)
  • Critical Rules
  • Architecture
  • Token Hierarchy
  • Validation Checklist

Design tokens and theming for shadcn/ui: CSS custom properties (--background, --primary, etc.), OKLCH wide-gamut colors, dark/light mode via the .dark class or prefers-color-scheme, and Tailwind v4 @theme directive integration — identical for the Base UI, Radix and React Aria bases. Also covers the 7 base colors, presets (init --preset, apply --preset --only theme,font), migrate base-color, shadcn/tailwind.css / eject, and shadcn/typeset for rendered markdown. Documents the token hierarchy (component → semantic → primitive OKLCH values) and the validation checklist (dark-mode overrides, chart/sidebar variables, no hard-coded hex). Before theming work, spawn agents in parallel, one Agent call each with a name: 1. fuse-ai-pilot:explore-codebase - Find existing theme tokens 2. fuse-ai-pilot:research-expert - Verify OKLCH patterns via Context7 After: Run fuse-ai-pilot:sniper for validation. | Feature | Description | |---------|-------------| | CSS Variables | --background, --foreground, --primary | | OKLCH Colors | Wide-gamut P3 color space | | Dark Mode | .dark class or prefers-color-scheme | | Tailwind v4 | @theme inline directive integration + @custom-variant dark | | Base colors |

这里只展示节选,请以完整原文和当前要求为准。

来源仓库
Fusengine/claude-plugins
源文件
plugins/shadcn-expert/skills/shadcn-theming/SKILL.md
固定版本
b9f82810cf3b5e3c4350332ac3ef618d60163cc0
阅读完整原作者说明 ↗

来源与内容状态

本条为自动发现的元数据,尚未完成人工文档核查;适用性与运行结果待核查。

原作者:Fusengine/claude-plugins · 原作者仓库元数据。文档核查:未核查。最近来源检查:2026-11-11T11:01:45.779Z。

分类由名称、说明与路径规则生成,分类不代表已核实适配。

许可与权利归属

MIT。第三方内容及版权归原作者,使用条件以原文为准。

许可原文 ↗

本站没有因同步、复制或用户自报成功而将资源标为运行验证通过。

限制与注意事项

  • 元数据收录不代表本站已经安装、适配、实测或进行安全审查。