Skip to main content

primer-slint-token-layers

星标0
分支0
更新时间2026年4月28日 11:05

Maps Primer design values into packages/primer-slint/tokens.slint without duplicating hex: assigns each shared color to one PrimerColors out property, composes ButtonTokens/CheckboxTokens/BannerTokens/LabelTokens and LayoutTokens per AGENTS, and uses an audit table before adding literals. Use when adding or refactoring Primer tokens, resolving duplicate colors, or porting a component that needs new semantic or component-level colors.

安装

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

SKILL.md
readonly