cloodle-design-tokens
Cloodle 设计系统的颜色、排版、间距和组件令牌。样式化 Cloodle 界面、创建 CSS 或在整个平台上实现一致的视觉设计时使用。
📖 中文导读:Cloodle 设计系统的颜色、排版、间距和组件令牌。样式化 Cloodle 界面、创建 CSS 或在整个平台上实现一致的视觉设计时使用。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: cloodle-design-tokens description: Cloodle design system tokens for colors, typography, spacing, and components. Use when styling Cloodle interfaces, creating CSS, or implementing consistent visual design across the platform.
Cloodle Design Tokens
Apply consistent visual design across all Cloodle platform interfaces using these design tokens.
When to Use This Skill
- Creating new UI components for Cloodle
- Styling pages in Kirby CMS or Moodle
- Ensuring brand consistency across platforms
- Implementing responsive, accessible designs
Quick Reference
See reference.md for the complete token definitions.
Key Principles
- Warm and Grounding - Use earth tones (terracotta, forest, sand) as primary palette
- Breath-Based Spacing - Use the 8px breath unit for consistent rhythm
- Accessible by Default - Maintain 4.5:1 contrast minimum
- Motion with Purpose - Animations should feel calm and intentional
Implementation
Colors
/* Primary accent */
background: var(--cloodle-coral);
/* Grounded CTA */
background: var(--cloodle-forest);
/* Warm background */
background: var(--cloodle-white); /* #FAF8F5, not stark white */
Typography
/* Headings */
font-family: var(--font-display); /* Outfit */
/* Body text */
font-family: var(--font-body); /* Source Serif Pro */
/* UI elements */
font-family: var(--font-ui); /* Inter */
Spacing
/* Use semantic spacing tokens */
padding: var(--space-rest); /* 24px - inside cards */
margin-bottom: var(--space-settle); /* 32px - between cards */
Platform-Specific Notes
Kirby CMS (UIkit)
Map tokens to UIkit variables in SCSS.
Moodle (Boost Union)
Map tokens to Bootstrap/Boost variables.
React/Web Components
Use CSS custom properties directly.