feat(tokens): define primitive token foundations#248
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review (2)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
|
Codecov Report✅ All modified and coverable lines are covered by tests. 🚀 New features to boost your workflow:
|
|
외부에 노출되는 API 변경점은 없어서 changeset은 생략했습니다. 개발자 리뷰는 따로 불필요해서 PR 리뷰는 정민님께서 봐주시면 좋을 것 같습니다! @haedawn |
typography, spacing 은 기존에 제공받은 피그마(구버전) 참고해서 작업했습니다. radius는 추가 필요한 foundation 값으로 보고 신규 추가했습니다. |
Yeom-JinHo
left a comment
There was a problem hiding this comment.
spacing은 숫자스케일이고, radius의 경우 의미(단위) 스케일이네요~?
구형이라 어떻게 정의되어있었는지 모르겠지만 추후에는 한쪽으로 통일하면 좋을꺼 같네요
|
spacing 관련해서 구버전엔 050-900로 되어있는데 이번부터는 픽셀 값 그대로 4,8,12 ..로 가거나, radius 처럼 sm, md, .. 이런 식으로 가면 좋을거 같아요! |
위에서 해주신 정민님 피드백도 함께 고려해서 숫자 스케일로 통일했습니다! (2, 4, 8, 12). full만 9999px라는 매직 넘버 대신 시멘틱하게 반영했습니다. |
의견 감사합니다! 64px 포함해서 숫자 스케일로 작업 반영했습니다. |
|
@froggy1014 리뷰 확인 부탁드립니다! |

Summary
SIDE v2 디자인 토큰의 Primitive 레이어(원시값 계층)를 JSON으로 정의합니다.
Semantic 토큰 설계(#221)의 선행 작업입니다.
tokens/primitive/color.json— 10개 hue × 11단계(50~950) + black/whitetokens/primitive/spacing.json— 4px 기본 단위, space-050~900tokens/primitive/radius.json— none / sm / md / lg / xl / fulltokens/primitive/typography.json— fontFamily / fontSize / fontWeight / lineHeightNotes
color.gray.500)-side-color-gray-500Related
closes #220