디자인 토큰 2계층 재설계 (전면 표준화 Phase 3-7) - #113
Hidden character warning
Conversation
|
Warning Review limit reached
Next review available in: 19 seconds You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (4)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🚀 CI 빌드 성공!📦 빌드 정보
📁 생성된 파일✅ 모든 검사 통과
자동 생성된 댓글입니다. |
관련 이슈
개요
디자인 토큰을 원시 · 의미 2계층으로 재설계했습니다.
기존
theme.js는 값의 나열이었습니다.colors.primary가 무슨 색인지는 알 수 있지만 **"이 색을 언제 쓰는가"**가 정의돼 있지 않았습니다. 그래서 새 컴포넌트를 만들 때 참조할 기준이 없어 결국 눈대중으로rgba를 적게 됐고, 같은 연보라가 토큰으로도 하드코딩으로도 존재하게 됐습니다.구조
src/styles/tokens.jssrc/styles/semantic.jssurface·text·border·action·feedback·rank·glass·layersrc/styles/theme.js컴포넌트는 의미 토큰만 참조합니다.
palette.lilac90은 무슨 색인지만 알려주지만action.primary는 어디에 써야 하는지를 알려줍니다.하위 호환
theme.js를 쓰는 기존 5개 파일(GlassCard,ProfileContent,StatsContent,DialogueSystem,NotFound)은 한 줄도 고치지 않았습니다.colors·glassmorphism·glassCard·media·componentStylesexport를 그대로 유지하되 값만 의미 토큰을 참조하도록 바꿨습니다.이제 색을 바꾸려면
tokens.js의 팔레트 한 곳만 고치면 의미 토큰과 호환 레이어를 타고 전체에 반영됩니다.검증
자동
format:checklinttest:cibuild시각적 변화가 없음을 실제 렌더 값으로 확인
토큰 재설계는 보이는 것이 하나도 달라지지 않아야 성공입니다. 404 화면(
theme.js사용처)의 계산된 스타일을 브라우저에서 직접 읽었습니다.rgba(0, 0, 0, 0.4)surface.glass20pxradius.lgrgba(200, 182, 226, 0.9)action.primary기존 값과 정확히 일치합니다. 콘솔 에러 0건.
남은 작업 (이슈 #100)
rgba값을 의미 토큰 참조로 교체 (컴포넌트별)