logo-with-variants
✓创建具有多种变体(图标、文字标记、徽标)和亮/暗模式的徽标组件。当用户提供徽标 SVG 文件并希望按照 Elements 项目中的 Clerk 模式创建基于变体的徽标组件时使用。
SKILL.md
Creates logo components with variant support following the established pattern in Elements codebase.
Reference implementation: Check src/components/ui/logos/clerk.tsx for the exact pattern to follow.
CRITICAL: The variants array MUST list ALL combinations explicitly in {base}-{mode} format (e.g., "icon-dark", "logo-light"). This is what makes the variant count badge (e.g., "6") appear correctly in the UI. Do NOT just list base names like ["icon", "logo", "wordmark"].
创建具有多种变体(图标、文字标记、徽标)和亮/暗模式的徽标组件。当用户提供徽标 SVG 文件并希望按照 Elements 项目中的 Clerk 模式创建基于变体的徽标组件时使用。 来源:crafter-station/elements。
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/crafter-station/elements --skill logo-with-variants- 分类
- *创意媒体
- 认证
- ✓
- 收录时间
- 2026-02-01
- 更新时间
- 2026-02-18
快速解答
什么是 logo-with-variants?
创建具有多种变体(图标、文字标记、徽标)和亮/暗模式的徽标组件。当用户提供徽标 SVG 文件并希望按照 Elements 项目中的 Clerk 模式创建基于变体的徽标组件时使用。 来源:crafter-station/elements。
如何安装 logo-with-variants?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/crafter-station/elements --skill logo-with-variants 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/crafter-station/elements