-
Notifications
You must be signed in to change notification settings - Fork 0
refactor: Tailwind CSS 마이그레이션 및 색상 토큰 재구성 (v0.2.1) #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 4 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
b35becc
feat: Tailwind CSS v4에 타이포그래피 토큰 추가
choihooo 6e20de5
feat: 타이포그래피 유틸리티 클래스 추가
choihooo 3b3d48e
refactor: 색상 토큰 재구성 및 CSS 파일 구조 개선
choihooo c525bf2
chore: bump version to 0.2.1
choihooo 215f41c
chore: vanilla-extract 의존성 및 설정 제거
choihooo 5ad5c2b
docs: CHANGELOG 날짜 수정 및 vanilla-extract 제거 내용 추가
choihooo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| { | ||
| "name": "@team-numberone/daepiro-design-system", | ||
| "version": "0.2.0", | ||
| "version": "0.2.1", | ||
| "description": "대피로 디자인 시스템 - React 컴포넌트 라이브러리", | ||
| "private": false, | ||
| "packageManager": "[email protected]", | ||
|
|
||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,63 +1,13 @@ | ||
| @import "tailwindcss"; | ||
|
|
||
| @theme { | ||
| /* Colors - Primary (Orange) */ | ||
| --color-primary-50: #fff0ea; | ||
| --color-primary-100: #ffd1bd; | ||
| --color-primary-200: #ffba9d; | ||
| --color-primary-300: #ff9b70; | ||
| --color-primary-400: #ff8754; | ||
| --color-primary-500: #ff6929; | ||
| --color-primary-600: #e86025; | ||
| --color-primary-700: #b54b1d; | ||
| --color-primary-800: #8c3a17; | ||
| --color-primary-900: #6b2c11; | ||
| /* Import Design Tokens (CSS Variables in :root) */ | ||
| @import "./tokens/colors.css"; | ||
| @import "./tokens/typography.css"; | ||
| @import "./tokens/shadows.css"; | ||
|
|
||
| /* Colors - Secondary (Green) */ | ||
| --color-secondary-50: #e9f8f0; | ||
| --color-secondary-100: #bae9d0; | ||
| --color-secondary-200: #98deb9; | ||
| --color-secondary-300: #6acf98; | ||
| --color-secondary-400: #4dc585; | ||
| --color-secondary-500: #20b766; | ||
| --color-secondary-600: #1da75d; | ||
| --color-secondary-700: #178248; | ||
| --color-secondary-800: #126538; | ||
| --color-secondary-900: #0d4d2b; | ||
| /* Import Tailwind Theme Configuration */ | ||
| @import "./theme/colors.css"; | ||
| @import "./theme/typography.css"; | ||
|
|
||
| /* Colors - Tertiary (Red) */ | ||
| --color-tertiary-50: #ffeae9; | ||
| --color-tertiary-100: #fdbeba; | ||
| --color-tertiary-200: #fd9e98; | ||
| --color-tertiary-300: #fc7269; | ||
| --color-tertiary-400: #fb564c; | ||
| --color-tertiary-500: #fa2c1f; | ||
| --color-tertiary-600: #e4281c; | ||
| --color-tertiary-700: #b21f16; | ||
| --color-tertiary-800: #8a1811; | ||
| --color-tertiary-900: #69120d; | ||
|
|
||
| /* Colors - Gray */ | ||
| --color-gray-50: #f5f5f7; | ||
| --color-gray-75: #e4e5ea; | ||
| --color-gray-100: #c9ccd4; | ||
| --color-gray-200: #afb3bf; | ||
| --color-gray-300: #8b90a1; | ||
| --color-gray-400: #757a8f; | ||
| --color-gray-500: #525973; | ||
| --color-gray-600: #4b5169; | ||
| --color-gray-700: #3a3f52; | ||
| --color-gray-800: #2d313f; | ||
| --color-gray-900: #222530; | ||
|
|
||
| /* Typography */ | ||
| --font-family-sans: Pretendard, -apple-system, BlinkMacSystemFont, system-ui, | ||
| sans-serif; | ||
|
|
||
| /* Shadows */ | ||
| --shadow-floating: 2px 2px 4px 0 rgba(0, 0, 0, 0.1), 0 0 4px 0 | ||
| rgba(0, 0, 0, 0.15); | ||
| --shadow-btn-pressed: 0 0 1px 0 rgba(34, 37, 48, 0.15), 1px 1px 2px 0 | ||
| rgba(34, 37, 48, 0.15); | ||
| --shadow-dimmed: 0 0 8px 0 rgba(0, 0, 0, 0.1), 0 0 20px 0 rgba(0, 0, 0, 0.1); | ||
| } | ||
| /* Import Custom Utilities */ | ||
| @import "./utilities/typography.css"; |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,87 @@ | ||
| /* Tailwind Theme - Colors */ | ||
| @theme { | ||
| /* Colors - Orange (for Tailwind utilities: bg-orange-500, text-orange-500, etc.) */ | ||
| --color-orange-50: var(--color-orange-50); | ||
| --color-orange-100: var(--color-orange-100); | ||
| --color-orange-200: var(--color-orange-200); | ||
| --color-orange-300: var(--color-orange-300); | ||
| --color-orange-400: var(--color-orange-400); | ||
| --color-orange-500: var(--color-orange-500); | ||
| --color-orange-600: var(--color-orange-600); | ||
| --color-orange-700: var(--color-orange-700); | ||
| --color-orange-800: var(--color-orange-800); | ||
| --color-orange-900: var(--color-orange-900); | ||
|
|
||
| /* Colors - Green (for Tailwind utilities: bg-green-500, text-green-500, etc.) */ | ||
| --color-green-50: var(--color-green-50); | ||
| --color-green-100: var(--color-green-100); | ||
| --color-green-200: var(--color-green-200); | ||
| --color-green-300: var(--color-green-300); | ||
| --color-green-400: var(--color-green-400); | ||
| --color-green-500: var(--color-green-500); | ||
| --color-green-600: var(--color-green-600); | ||
| --color-green-700: var(--color-green-700); | ||
| --color-green-800: var(--color-green-800); | ||
| --color-green-900: var(--color-green-900); | ||
|
|
||
| /* Colors - Red (for Tailwind utilities: bg-red-500, text-red-500, etc.) */ | ||
| --color-red-50: var(--color-red-50); | ||
| --color-red-100: var(--color-red-100); | ||
| --color-red-200: var(--color-red-200); | ||
| --color-red-300: var(--color-red-300); | ||
| --color-red-400: var(--color-red-400); | ||
| --color-red-500: var(--color-red-500); | ||
| --color-red-600: var(--color-red-600); | ||
| --color-red-700: var(--color-red-700); | ||
| --color-red-800: var(--color-red-800); | ||
| --color-red-900: var(--color-red-900); | ||
|
|
||
| /* Colors - Gray (for Tailwind utilities: bg-gray-500, text-gray-500, etc.) */ | ||
| --color-gray-50: var(--color-gray-50); | ||
| --color-gray-75: var(--color-gray-75); | ||
| --color-gray-100: var(--color-gray-100); | ||
| --color-gray-200: var(--color-gray-200); | ||
| --color-gray-300: var(--color-gray-300); | ||
| --color-gray-400: var(--color-gray-400); | ||
| --color-gray-500: var(--color-gray-500); | ||
| --color-gray-600: var(--color-gray-600); | ||
| --color-gray-700: var(--color-gray-700); | ||
| --color-gray-800: var(--color-gray-800); | ||
| --color-gray-900: var(--color-gray-900); | ||
|
|
||
| /* Semantic Colors - Primary (maps to Orange) */ | ||
| --color-primary-50: var(--color-orange-50); | ||
| --color-primary-100: var(--color-orange-100); | ||
| --color-primary-200: var(--color-orange-200); | ||
| --color-primary-300: var(--color-orange-300); | ||
| --color-primary-400: var(--color-orange-400); | ||
| --color-primary-500: var(--color-orange-500); | ||
| --color-primary-600: var(--color-orange-600); | ||
| --color-primary-700: var(--color-orange-700); | ||
| --color-primary-800: var(--color-orange-800); | ||
| --color-primary-900: var(--color-orange-900); | ||
|
|
||
| /* Semantic Colors - Secondary (maps to Green) */ | ||
| --color-secondary-50: var(--color-green-50); | ||
| --color-secondary-100: var(--color-green-100); | ||
| --color-secondary-200: var(--color-green-200); | ||
| --color-secondary-300: var(--color-green-300); | ||
| --color-secondary-400: var(--color-green-400); | ||
| --color-secondary-500: var(--color-green-500); | ||
| --color-secondary-600: var(--color-green-600); | ||
| --color-secondary-700: var(--color-green-700); | ||
| --color-secondary-800: var(--color-green-800); | ||
| --color-secondary-900: var(--color-green-900); | ||
|
|
||
| /* Semantic Colors - Tertiary (maps to Red) */ | ||
| --color-tertiary-50: var(--color-red-50); | ||
| --color-tertiary-100: var(--color-red-100); | ||
| --color-tertiary-200: var(--color-red-200); | ||
| --color-tertiary-300: var(--color-red-300); | ||
| --color-tertiary-400: var(--color-red-400); | ||
| --color-tertiary-500: var(--color-red-500); | ||
| --color-tertiary-600: var(--color-red-600); | ||
| --color-tertiary-700: var(--color-red-700); | ||
| --color-tertiary-800: var(--color-red-800); | ||
| --color-tertiary-900: var(--color-red-900); | ||
| } |
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.