Skip to content

Conversation

@gdaegeun539
Copy link
Member

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines

What kind of change does this PR introduce?

Select your one and delete others

  • Refactoring

What is the current behavior?

You can also link to an open issue here

#21
디자인시스템 토큰을 사용할 때 자체적으로 주입하는 값과 머티리얼에 오버라이드하는 값을 섞어 사용하는 상황입니다.

What is the new behavior (if this is a feature change)?

디자인시스템 토큰을 사용할 때 자체적으로 주입하는 값만을 사용합니다.

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

Yes

  • LightAlertSuccess 색상과 DarkAlertSuccess 색상을 CommonAlertSuccess로 통일합니다.
  • FeelinColors 클래스를 Theme.kt에서 Colors.kt로 이동합니다.
  • FeelinColors 클래스가 디자인 시스템의 모든 색상 토큰을 가집니다.
  • 디자인 시스템의 모든 타이포그래피 토큰을 가지는 FeelinTypographyCollectionType.kt에 추가합니다.
  • 새로 토큰을 사용할 때는 FeelinTypographyLocalFeelinColors.current를 사용해야 합니다.
    • 해당하는 클래스의 프로퍼티 값은 피그마와 통일해 두었습니다.
  • 기존에 머티리얼 토큰을 사용한 부분은 아래와 같이 자체적으로 주입하는 값으로 변경했습니다.

Typography changes

  • MaterialTheme.typography.titleLargeFeelinTypography.title1
  • MaterialTheme.typography.titleMediumFeelinTypography.title2
  • MaterialTheme.typography.titleSmallFeelinTypography.title3
  • MaterialTheme.typography.headlineLargeFeelinTypography.heading1
  • MaterialTheme.typography.headlineSmallFeelinTypography.heading3
  • MaterialTheme.typography.bodyLargeFeelinTypography.body1
  • MaterialTheme.typography.bodyMediumFeelinTypography.body2
  • MaterialTheme.typography.bodySmallFeelinTypography.body3
  • MaterialTheme.typography.labelMediumFeelinTypography.caption2
  • MaterialTheme.typography.labelSmallFeelinTypography.caption1
  • CaptionActiveTextStyleFeelinTypography.active

Color changes

  • MaterialTheme.colorScheme.primaryLocalFeelinColors.current.brandPrimary
  • MaterialTheme.colorScheme.primaryContainerfeelinColors.backgroundPrimary

Other information:

LabelMedium, LabelSmall 보니까 자체 디자인시스템 토큰 상수로 통일하기 잘 한거 같네요.

@gdaegeun539 gdaegeun539 self-assigned this Dec 3, 2025
@gdaegeun539 gdaegeun539 added the refactor 코드 리팩토링 label Dec 3, 2025
Copy link
Collaborator

@hyunjung-choi hyunjung-choi left a comment

Choose a reason for hiding this comment

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

고생하셨습니다ㅠㅠㅠㅠㅠ
얘는 빨리 머지해야할 것 같네요 ! ㅎㅎ

@gdaegeun539
Copy link
Member Author

gdaegeun539 commented Dec 5, 2025

검토 감사합니다! 바로 병합하겠습니다

@gdaegeun539 gdaegeun539 merged commit 8cfd4ea into project-lyrics:develop Dec 5, 2025
2 checks passed
@gdaegeun539 gdaegeun539 linked an issue Dec 28, 2025 that may be closed by this pull request
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.

design: decouple design system data from material

2 participants