"매 design token 의 single source of truth 의 의 distill 한 이후, 매 platform-agnostic transform 의 cascade". 매 2026 modern style system 의 W3C Design Tokens (DTCG) format + CSS Cascade Layers + Tailwind v4 oxide engine 의 combine — 매 token 의 JSON 의 author 한 이후, 매 web/iOS/Android/Figma 의 의 sync.
매 핵심
매 layered architecture
Layer 0 — Primitives: raw values (#0066ff, 16px, 1.5).
Layer 3 — Theme: light/dark/brand variants 의 swap layer.
매 핵심 capability
Token-driven: 매 raw CSS literal 의 X — 매 token reference 의 only.
Multi-platform export: Style Dictionary / Terrazzo 의 web/iOS/Android/Figma 의 generate.
Runtime theming: CSS custom properties 의 cascade — 매 theme swap 의 zero-rebuild.
Type safety: 매 token name 의 TypeScript autocomplete 의 enforce.
Cascade Layers: @layer reset, tokens, components, utilities — 매 specificity war 의 elim.
매 응용
Design system at scale (Material 3, IBM Carbon, Salesforce Lightning).
Multi-brand SaaS (1 codebase, N tenants).
Dark/light mode + high-contrast accessibility.
Cross-platform app (web + RN) 의 shared token.
AI-generated theme (LLM 의 brand color 의 variation 의 emit).
💻 패턴
Design Tokens (DTCG format)
// tokens/color.json — W3C Design Tokens Community Group spec
{"color":{"brand":{"primary":{"$value":"#0066ff","$type":"color"},"accent":{"$value":"#ff3366","$type":"color"}},"text":{"primary":{"$value":"{color.gray.900}","$type":"color"},"secondary":{"$value":"{color.gray.600}","$type":"color"}}}}
functionThemeToggle() {const[theme,setTheme]=useState<'light'|'dark'>('light');useEffect(()=>{document.documentElement.dataset.theme=theme;},[theme]);return<buttononClick={()=>setTheme(t=>t==='light'?'dark':'light')}>Toggle</button>;}// CSS: [data-theme="dark"] { --color-text-primary: #fff; }
// 매 zero re-render — 매 CSS cascade 의 instant.
언제: 매 token rename refactor (1 source → N platform 의 propagate); 매 brand variant 의 LLM 의 generate ("매 corporate / playful / luxury 의 3 palette"); 매 a11y contrast 의 audit.
언제 X: 매 final color picking 의 designer / brand 의 final call — LLM 의 raw suggestion 의 X canonical.
❌ 안티패턴
Magic number: 매 raw padding: 13px — token 의 X.
Tight component coupling: button 의 #0066ff 의 hardcode — theme swap 의 die.
Over-tokenization: 매 every value 의 token — 매 friction 의 increase.
Specificity war: !important 의 spam — cascade layer 의 use.
Ad-hoc dark mode: 매 component 의 매 own dark logic — 매 token level 의 push.