Skip to content

Conversation

@MINJI121
Copy link
Contributor

@MINJI121 MINJI121 commented Mar 20, 2025

  • 반영 브랜치
    feature/GlobalStyle -> dev

  • 변경 사항
  1. 공통 color 중 text 작성에 사용되는 color들을 따로 정의했습니다.(보다 간결한 코드 작성 가능)
@layer utilities {
.text-black3 {
    color: var(--color-black3);
  }
}

변경 전 text에 color 적용 방법
<button className="text-[var(--color-black3)]">로그인</button>
변경 후 text에 color 적용 방법
<button className="text-black3">로그인</button>

  1. font style 정의 방식을 변경하며 @apply를 삭제했습니다.(최신 버전에 맞지 않다고 판단)
    변경 전/후 사용 방법은 같습니다.

  • 테스트 결과
    image

@MINJI121 MINJI121 added Fix Something isn't working Style New feature or request labels Mar 20, 2025
@MINJI121 MINJI121 self-assigned this Mar 20, 2025
Copy link
Contributor

@ozen0718 ozen0718 left a comment

Choose a reason for hiding this comment

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

확인했습니다!

@MINJI121 MINJI121 merged commit 24220db into dev Mar 20, 2025
1 check passed
@MINJI121 MINJI121 deleted the feature/GlobalStyle branch March 20, 2025 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Fix Something isn't working Style New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants