refactor: PandaCSS에서 Tailwind CSS로 스타일링 시스템 마이그레이션#356
Open
refactor: PandaCSS에서 Tailwind CSS로 스타일링 시스템 마이그레이션#356
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the 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 |
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.
💻 작업 내용
PandaCSS 기반 스타일링 시스템을 Tailwind CSS로 마이그레이션했습니다. 이를 통해 번들 사이즈 최적화와 더 나은 개발자 경험을 제공합니다.
주요 변경사항:
1. 새로운 Tailwind UI 패키지 생성 (
packages/ui/tailwind)cn()유틸리티 및 Tailwind 프리셋 제공2. Web 앱 Tailwind 설정 마이그레이션 (
apps/web)tailwind.config.ts,postcss.config.mjs설정 추가styled-systemimport를 Tailwind 클래스로 전환3. 마이그레이션된 주요 페이지/컴포넌트
4. 코드 최적화
@gitanimals/ui-panda참조 제거 및@gitanimals/ui-tailwind로 교체이전 → 현재:
css(),styled()→ Tailwind CSS 유틸리티 클래스@gitanimals/ui-panda→@gitanimals/ui-tailwind삭제된 코드:
.style.ts파일 대폭 간소화)📸 스크린샷
UI 변경 없음 - 기능적으로 동일하게 유지되며 내부 스타일링 시스템만 변경됨