Skip to main content
在 Manus 中运行任何 Skill
一键导入

styling

星标90
分支13
更新时间2026年7月12日 15:49

样式规范与设计系统 / Styling Standards & Design System Enforcement. 定义项目样式全流程标准:所有样式必须基于 @pawhaven/design-system 设计 Token、必须使用 Tailwind 语义 utility class(禁止 CSS 变量绕过 bg-[var(--color-*)])、禁止硬编码颜色值(hex/rgb/rgba/hsl)、禁止魔法数字(backdrop-blur-[12px]/w-[137px])、禁止内联 style={}、响应式断点规范、cn() 工具类合并、深色模式兼容。 触发场景 / Trigger: 样式 styling CSS SCSS SASS CSS Modules Tailwind utility-first utility class atomic CSS, Tailwind className utility class postcss JIT just-in-time compiler config, 设计系统 design system design token primitives foundation brand identity consistency, design tokens colors spacing typography font shadow radius border elevation z-index, 颜色 color palette primary secondary accent neutral background surface text border, 间距 spacing padding margin gap layout grid flex box alignment, 响应式 responsive breakpoint sm md lg xl 2xl mobile tablet desktop adaptive, 深色模式 dark mode light mode theme toggle color-scheme prefers-color-scheme, 硬编码颜色 hardcoded color hex #fff #000 rgb( rgba( hsl( hsla( named color, 魔法数字 magic numbers arbitrary valu

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly