orange-opensource/orange-boosted-bootstrap/token-system
Claude Code and agent skill by orange-opensource/orange-boosted-bootstrap
- community
Checking that the SKILL.md file is still in the repository.
OUDS design token system rules and architecture. Use this skill when working with tokens, adding new component tokens, debugging undefined token errors, working on dark mode, editing _variables.scss, or touching any file in packages/*/scss/tokens/. Covers the 3-tier hierarchy (raw→semantic→component), CSS custom property bridge for dark mode, auto-generated file protections, import order, and the color-mode mixin. For deep architecture details, read references/architecture.md.
Install
npx vskill@latest install orange-opensource/orange-boosted-bootstrap/token-systemSKILL.md
Token System
Why tokens matter
The token system makes one codebase serve 3 brands. Component SCSS uses token variables → each brand provides different values → same SCSS produces different visual output. Breaking the token contract breaks multi-brand.
Token hierarchy
Rules
1. Component tokens first, then semantic
2. CSS custom properties for ALL colors
Colors come in light/dark pairs → exposed as CSS custom props → runtime switching.
3. Never use raw tokens
$core-ouds-*, $core-orange-*, $core-sosh-* — no semantic meaning, breaks on redesign.
4. Never edit auto-generated files
Read-only per brand: _raw.scss, _semantic.scss, _component.scss, _*-custom-props.scss
Only _composite.scss is hand-editable (elevation, fonts, SVG icons, Sass maps).
5. Import order is critical
6. New tokens → all 3 brands
Add to all: packages/orange/, packages/sosh/, packages/orange-compact/. Each brand can have different values. Temporary fallbacks go in scss/_variables.scss with // TODO:.
7. Use color-mode() for theme declarations
Naming convention
| Layer | Pattern | Example | |
|---|---|---|---|
| Raw | $core-ouds-{cat}-{scale} | $core-ouds-border-radius-200 | |
| Semantic | $ouds-{cat}-{variant} | $ouds-border-radius-default | |
| Component | $ouds-{comp}-{cat}-{variant} | $ouds-button-border-radius-default | |
| CSS prop | --{$prefix}{cat}-{name} | --bs-color-action-enabled |
Deep reference
For the full pipeline (Figma → DTCG → Style Dictionary → SCSS), layer-by-layer explanation, and color flow diagrams, read references/architecture.md in this skill directory.
Security
- Security scanPassed, 93 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.github/skills/token-system/SKILL.md
Popularity
- Repository stars
- 219
- Repository forks
- 61
- 7-day trend score
- 27
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/orange-opensource/orange-boosted-bootstrap/token-system)