3-layer 구조
토큰은 세 계층: primitive(원시 hex) → semantic(의미 별칭, light/dark) → component(컴포넌트 슬롯). 컴포넌트에서는 primitive를 직접 참조하지 말고 semantic 또는 component 토큰을 경유해야 다크모드가 자동 동작한다.
사용 규칙
- 브랜드 퍼플(
wds.color.purple.500)은 CTA·selected·accent 신호에만. 일반 텍스트 색으로 사용 금지. - 에러·성공·경고는
function_red_3,function_green_3,function_yellow_3같은 시맨틱 토큰만. - 신규 뱃지 전용
#0080c6은 primitive에 없는 값 — 레거시이므로 새 사용 자제.