Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
관련 이슈 번호
close #63
작업 내용
PR 포인트
theme 세팅
기존 피그마 디자인이 purple-500, grey-300과 같이 색상명을 토큰으로 하여 디자인되어있었는데요!
시맨틱한 네이밍을 부여하기 위해, 다음과 같이 컬러 시스템을 새로 정의했습니다.
이를 기반으로 tailwind theme에 extend해주었습니다.
typogrphay도 마찬가지로 피그마에 정의된 시스템대로 tailwind theme에 extend해주었습니다.
borderRadius와 boxShadow도 피그마와 동일하게 세팅했습니다.
textColor 사용법
<div className="text-main">text-main</div>
bgColor 사용법
<div className="bg-primary">bg-primary</div>
borderColor 사용법
<div className="border border-main">border-main</div>
typography 사용법
<h1 className="text-head1">head1</h1>
borderRadius 사용법
<div className="rounded-base">border-radius-base</div>
boxShadow 사용법
<div className="shadow-normal p-4 bg-white">shadow-normal</div>
고민과 학습내용
Tailwind 시작하기
스크린샷