Skip to content

chore(tokens): token JSON file integration#274

Merged
3o14 merged 5 commits into
devfrom
tokens/figma-sync
May 3, 2026
Merged

chore(tokens): token JSON file integration#274
3o14 merged 5 commits into
devfrom
tokens/figma-sync

Conversation

@3o14
Copy link
Copy Markdown
Member

@3o14 3o14 commented Apr 30, 2026

Changes

Token Studio 연동을 위해 기존 json 파일을 하나의 tokens.json 으로 통합합니다.

작업 배경: https://sipe-team.slack.com/archives/C0AN5S2T458/p1777475537413149?thread_ts=1777453760.109129&cid=C0AN5S2T458

@tokens-studio/sd-transforms

  • token-transformer 제거 → @tokens-studio/sd-transforms 도입
  • 기존에 별도 스텝으로 분리됐던 Token Studio 포맷 변환이 build:tokens 내부에서 자동 처리됨
  • CI의 transform:tokens 스텝 제거

Semantic 토큰 TypeScript 타입 생성 추가

  • config.js에 semantic 토큰 전용 타입 생성 로직 추가 (semantic.d.ts)
  • cssVar()의 허용 타입이 PrimitiveToken에서 PrimitiveToken | SemanticToken(DesignToken)으로 확장됨
  • 컴포넌트에서 semantic 토큰 사용 시 타입 안정성 확보

기타

  • tokens-transformed.json .gitignore 추가 (빌드 중간 산출물)

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 30, 2026

⚠️ No Changeset found

Latest commit: 8778586

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 30, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review (2)
  • main
  • release/v1

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 9c844a1f-c585-4067-9f37-1c60bdf165b8

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch tokens/figma-sync

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 30, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Comment thread tokens/tokens.json
Comment thread packages/tokens/package.json Outdated
Comment thread packages/tokens/package.json
@3o14 3o14 requested a review from froggy1014 May 1, 2026 10:13
@3o14 3o14 merged commit 403ae41 into dev May 3, 2026
7 checks passed
@3o14 3o14 deleted the tokens/figma-sync branch May 3, 2026 07:28
@3o14 3o14 restored the tokens/figma-sync branch May 6, 2026 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants