DartBrief Design System

토큰 + 컴포넌트 카탈로그 + 화면/시나리오 spec 통합 site. SSOT — 코드 (Flutter / Web) 와 spec (docs/spec/*.md) 의 단일 진실.

Foundation

Components 11

Screens 4

Flows

AuthGate (예정)
requireAuth → 모달 → 로그인 → 후속 액션
Onboarding (예정)
첫 로그인 → 추천 종목 등록 → 첫 공시 reveal
📂 구조: 토큰 SSOT = docs/design/tokens/*.json (Style Dictionary) · 컴포넌트 시각 = docs/design/components/*.html · 화면/플로우 spec = docs/spec/screen-*.md / flow-*.md (Vite ?raw import 로 빌드 시 inline)
🔗 Flutter: mobile/lib/shared/theme/generated/ · Web (Next.js): frontend/src/styles/generated/ · 둘 다 Style Dictionary 출력 import.
🚀 빌드: cd docs/design && npm run builddocs/design/dist/ → docs 사이트(cd docs && npm run docs:build)가 /design 으로 verbatim 호스팅. 배포는 docs 사이트 전체(docs.dartbrief.com)가 CF Pages 대상.