Skip to content

refactor: 디자인 토큰 폴더 및 워크플로우 수정#46

Merged
wlrnjs merged 1 commit into
developfrom
feat/figma-design-token
May 11, 2026
Merged

refactor: 디자인 토큰 폴더 및 워크플로우 수정#46
wlrnjs merged 1 commit into
developfrom
feat/figma-design-token

Conversation

@wlrnjs
Copy link
Copy Markdown
Member

@wlrnjs wlrnjs commented May 11, 2026

Pull Request

관련 이슈

작업 내용

  • 디자인 토큰 폴더 수정
    • Figma Studio for Figma에서 무료 플랜은 폴더 관리가 안된다고 해서 한 파일로 관리할 수 있도록 수정했습니다.
  • 워크플로우 수정
    • 워크플로우 버전 수정 진행했습니다.

참고 사항

  • 머지 후 테스트 필요합니다.

체크리스트

  • 기능이 정상 동작하는지 확인
  • 불필요한 코드/주석 제거

@wlrnjs wlrnjs requested a review from junye0l May 11, 2026 16:22
@wlrnjs wlrnjs self-assigned this May 11, 2026
@wlrnjs wlrnjs added the refactor 코드 리팩터링, 구조 개선, 클린 코드 작업 label May 11, 2026
@vercel
Copy link
Copy Markdown

vercel Bot commented May 11, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
finditem-monitoring Ready Ready Preview, Comment May 11, 2026 4:23pm

@wlrnjs wlrnjs merged commit 2d1e742 into develop May 11, 2026
4 checks passed
@wlrnjs wlrnjs deleted the feat/figma-design-token branch May 11, 2026 16:23
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

본 PR은 디자인 토큰 관리 방식의 효율성을 높이기 위한 리팩토링을 수행합니다. 기존의 분산된 토큰 파일 구조를 단일 파일로 통합하여 관리 편의성을 개선하고, 관련 설정 및 워크플로우를 최신 상태로 조정하였습니다.

Highlights

  • 디자인 토큰 구조 통합: Figma Studio 무료 플랜 제약 사항을 고려하여 여러 파일로 나뉘어 있던 디자인 토큰을 'tokens.json' 단일 파일로 통합했습니다.
  • 설정 및 워크플로우 업데이트: Style Dictionary 설정 파일의 소스 경로를 수정하고 워크플로우 버전을 업데이트했습니다.
Ignored Files
  • Ignored by pattern: .github/workflows/** (1)
    • .github/workflows/build-design-tokens.yml
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize the Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counterproductive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.


토큰들이 모여 하나가 되니, 디자인의 질서가 바로 서네. 복잡한 폴더는 이제 안녕, 간결한 코드로 다시 태어나네.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request consolidates design tokens into a single tokens.json file and updates the Style Dictionary configuration to point to this file. The reviewer suggests reverting to glob patterns for the source configuration to improve maintainability and notes that the workflow modifications mentioned in the PR description are missing from the changes.


const sd = new StyleDictionary({
source: ['tokens/**/*.json', '!tokens/$metadata.json'],
source: ['tokens/tokens.json'],
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

PR 제목 및 설명에 명시된 '워크플로우 수정(버전 수정)' 관련 변경 사항이 실제 diff 내역에 포함되어 있지 않습니다. .github/workflows 폴더 내의 YAML 파일 등 누락된 파일이 있는지 확인이 필요합니다.


const sd = new StyleDictionary({
source: ['tokens/**/*.json', '!tokens/$metadata.json'],
source: ['tokens/tokens.json'],
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Style Dictionary의 source 설정을 특정 파일명(tokens.json)으로 고정하기보다 glob 패턴을 사용하는 것이 유지보수 측면에서 더 유리합니다. 파일명이 변경되거나 나중에 토큰 파일이 추가되더라도 설정을 매번 수정할 필요가 없으며, Tokens Studio에서 생성될 수 있는 $metadata.json 파일을 자동으로 제외하는 기존 로직을 유지할 수 있습니다.

  source: ['tokens/**/*.json', '!tokens/$metadata.json'],

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor 코드 리팩터링, 구조 개선, 클린 코드 작업

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants