refactor(fe): 타이포 스케일 토큰 등록, text-[Npx] 임의값을 이름으로 치환#117
Merged
Conversation
글자 크기를 text-[11px], text-[13px], text-[15px] 임의값으로 45곳에 흩뿌려 쓰고 있어 스케일에 이름도 단일 출처도 없었다. styles.css @theme에 font-size 토큰으로 등록하고 임의값을 이름으로 치환한다. 토큰은 font-size만 정의해 렌더가 이전과 픽셀 동일하다. - --text-caption(11px), --text-label(13px), --text-body(15px) 등록 - text-[11px]→text-caption(20), text-[13px]→text-label(9), text-[15px]→text-body(16) - line-height는 각 사용처 leading 클래스가 계속 결정 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
seongbin9786
marked this pull request as ready for review
July 19, 2026 07:06
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
글자 크기를
text-[11px],text-[13px],text-[15px]임의값으로 45곳에 흩뿌려 쓰고 있어 스케일에 이름도, 단일 출처도 없었다. styles.css에 이름 붙은 토큰으로 등록하고 임의값을 치환했다.Refactor
--text-caption11px,--text-label13px,--text-body15pxtext-[11px]→text-caption(20건),text-[13px]→text-label(9건),text-[15px]→text-body(16건)Policy