Skip to content

[CHORE] design-tokens 자동 반영#23

Closed
khyeji98 wants to merge 2 commits into
developfrom
chore/design-tokens-sync-20260511-154923
Closed

[CHORE] design-tokens 자동 반영#23
khyeji98 wants to merge 2 commits into
developfrom
chore/design-tokens-sync-20260511-154923

Conversation

@khyeji98
Copy link
Copy Markdown
Collaborator

자동 생성된 디자인 토큰 반영

Source: zizizoi0709-p/design-tokens@e7c153b4546582551fc6ae378c460fade9a2fa0e
Trigger: push on main
Workflow run: #1
Branch: chore/design-tokens-sync-20260511-154923develop

변경된 파일 (베이스: Projects/Shared/DesignSystem/)

  • Resources/Colors.xcassets/ (Asset Catalog)
  • Sources/Color/Generated/Colors+Generated.swift
  • Sources/CustomFont/Generated/Typography+Generated.swift
  • Sources/Tokens/Generated/Spacing+Generated.swift
  • Sources/Tokens/Generated/Sizing+Generated.swift
  • Sources/Tokens/Generated/BorderRadius+Generated.swift
  • Sources/Tokens/Generated/BorderWidth+Generated.swift
  • Sources/Tokens/Generated/Opacity+Generated.swift
  • Sources/Tokens/Generated/BoxShadow+Generated.swift

머지 후 작업

신규 파일이 Xcode 프로젝트에 반영되도록 로컬에서 아래를 실행한다.

./tuisttool generate && tuist graph

자동 생성된 PR입니다. 토큰 변경 시마다 새 브랜치/새 PR이 생성되므로
머지하지 않은 채로 누적될 수 있습니다. 머지 후엔 브랜치가 자동 삭제됩니다.

Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

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

자동 생성된 디자인 토큰 코드이므로 대부분의 컨벤션을 따르고 있습니다. 일부 토큰의 선언 순서가 수치적으로 일관되지 않으나, 기능적 문제는 없습니다.

public static let borderRadius250: CGFloat = 12
public static let borderRadius300: CGFloat = 16
public static let borderRadius400: CGFloat = 24
public static let borderRadius50: CGFloat = 2
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[P5] Nitpick

일부 숫자 기반 토큰(borderRadius50)이 비순차적으로 선언되어 있습니다. 자동 생성된 코드이므로 기능상 문제는 없으나, 가독성을 위해 토큰 이름의 숫자 순서대로 정렬되는 것이 좋습니다. 이는 디자인 토큰 생성 스크립트 설정으로 개선할 수 있을 것입니다.

public static let opacity200: CGFloat = 0.16
public static let opacity300: CGFloat = 0.24
public static let opacity400: CGFloat = 0.32
public static let opacity50: CGFloat = 0.05
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[P5] Nitpick

일부 숫자 기반 토큰(opacity50)이 비순차적으로 선언되어 있습니다. 자동 생성된 코드이므로 기능상 문제는 없으나, 가독성을 위해 토큰 이름의 숫자 순서대로 정렬되는 것이 좋습니다. 이는 디자인 토큰 생성 스크립트 설정으로 개선할 수 있을 것입니다.

public static let spacing350: CGFloat = 20
public static let spacing400: CGFloat = 24
public static let spacing450: CGFloat = 28
public static let spacing50: CGFloat = 2
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[P5] Nitpick

일부 숫자 기반 토큰(spacing50)이 비순차적으로 선언되어 있습니다. 자동 생성된 코드이므로 기능상 문제는 없으나, 가독성을 위해 토큰 이름의 숫자 순서대로 정렬되는 것이 좋습니다. 이는 디자인 토큰 생성 스크립트 설정으로 개선할 수 있을 것입니다.

@khyeji98 khyeji98 requested a review from duthd3 May 11, 2026 15:50
@khyeji98 khyeji98 self-assigned this May 11, 2026
UIColor → SwiftUI.Color 교체 및 DesignTokenShadow에 Sendable 적합성 추가
@khyeji98 khyeji98 closed this May 12, 2026
@khyeji98 khyeji98 deleted the chore/design-tokens-sync-20260511-154923 branch May 12, 2026 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant