feat: tailwind-merge 모바일 커스텀 클래스 등록 (#173) - #175
Conversation
- typo classGroup에 typo-m-* 모바일 타이포그래피 클래스 12종 추가 - spacing 테마에 xlarge_m 토큰 추가 - radius 테마에 xtiny 토큰 추가 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Warning Review limit reached
Next review available in: 57 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
typoclassGroup에 모바일 타이포그래피 클래스 12종 추가 (typo-m-heading1~3,typo-m-subtitle1~3,typo-m-body1~4,typo-m-caption1~2)spacing테마에xlarge_m토큰 추가radius테마에xtiny토큰 추가배경
cn()내부의tailwind-merge는 등록되지 않은 클래스를 동일 그룹으로 인식하지 못합니다.모바일 반응형 작업(#162)에서
max-lg:typo-m-subtitle2같이 반응형 prefix + 커스텀 typo 클래스를 조합할 때,extendTailwindMerge에 모바일 클래스가 없으면 충돌 해결이 되지 않아 스타일이 의도대로 적용되지 않습니다.Test plan
cn('typo-body3 max-lg:typo-m-subtitle2')반환값에서 두 클래스가 모두 유지되는지 확인cn('typo-body3', 'typo-m-body1')처럼 같은 그룹 내 충돌 시 뒤쪽 클래스로 올바르게 병합되는지 확인🤖 Generated with Claude Code