-
Notifications
You must be signed in to change notification settings - Fork 0
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
[Feat] 아이콘, 색상 변경 사항 반영 #72
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
import IconArrowBottom from '@/assets/icons/IconArrowBottom.svg'; | ||
import IconArrowFillBottom from '@/assets/icons/IconArrowFillBottom.svg'; | ||
import IconArrowFillTop from '@/assets/icons/IconArrowFillTop.svg'; | ||
import IconArrowLeft from '@/assets/icons/IconArrowLeft.svg'; | ||
import IconArrowRight from '@/assets/icons/IconArrowRight.svg'; | ||
import IconArrowTop from '@/assets/icons/IconArrowTop.svg'; | ||
import IconCalendar from '@/assets/icons/IconCalendar.svg'; | ||
import IconChat from '@/assets/icons/IconChat.svg'; | ||
import IconCheck from '@/assets/icons/IconCheck.svg'; | ||
import IconCheckCalendar from '@/assets/icons/IconCheckCalendar.svg'; | ||
import IconCheckbox from '@/assets/icons/IconCheckbox.svg'; | ||
import IconDocument from '@/assets/icons/IconDocument.svg'; | ||
import IconLineThree from '@/assets/icons/IconLineThree.svg'; | ||
import IconNotice from '@/assets/icons/IconNotice.svg'; | ||
|
@@ -19,20 +22,23 @@ import IconSmile from '@/assets/icons/IconSmile.svg'; | |
import IconStack from '@/assets/icons/IconStack.svg'; | ||
import IconStar from '@/assets/icons/IconStar.svg'; | ||
import IconTwinkle from '@/assets/icons/IconTwinkle.svg'; | ||
import IconUnSelectedCheckbox from '@/assets/icons/IconUnSelectedCheckbox.svg'; | ||
import IconX from '@/assets/icons/IconX.svg'; | ||
import IconXCircle from '@/assets/icons/IconXCircle.svg'; | ||
import IconCheckbox from '@/assets/icons/IconCheckbox.svg'; | ||
import IconUnSelectedCheckbox from '@/assets/icons/IconUnSelectedCheckbox.svg'; | ||
import _IconX from '@/assets/icons/_IconX.svg'; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Codebase verification 아이콘 네이밍 컨벤션 불일치 확인됨 프로젝트의 모든 아이콘 파일들이 'Icon' 접두사를 사용하는 일관된 네이밍 패턴을 따르고 있습니다. '_IconX.svg'는 이 패턴을 벗어나는 유일한 파일이며, 같은 디렉토리에 'IconX.svg'가 이미 존재합니다.
🔗 Analysis chainIconX 네이밍 변경 검토 필요
다음 스크립트로 프로젝트의 아이콘 네이밍 패턴을 확인해보겠습니다: Also applies to: 58-58 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# 프로젝트 내 SVG 아이콘 파일의 네이밍 패턴 확인
fd -e svg . assets/icons/ -x basename {} \; | sort
Length of output: 156 Script: #!/bin/bash
# Find all SVG files in the project
echo "=== All SVG files ==="
fd -e svg .
echo -e "\n=== Files with 'Icon' in name ==="
fd -e svg -g "*Icon*.svg" .
echo -e "\n=== Check for documentation files ==="
fd -e md -g "*naming*.md" -g "*convention*.md" .
Length of output: 3003 |
||
|
||
export const icons = { | ||
arrowBottom: IconArrowBottom, | ||
arrowFillBottom: IconArrowFillBottom, | ||
arrowFillTop: IconArrowFillTop, | ||
arrowLeft: IconArrowLeft, | ||
arrowRight: IconArrowRight, | ||
arrowTop: IconArrowTop, | ||
calendar: IconCalendar, | ||
chat: IconChat, | ||
check: IconCheck, | ||
checkCalendar: IconCheckCalendar, | ||
checkbox: IconCheckbox, | ||
document: IconDocument, | ||
lineThree: IconLineThree, | ||
notice: IconNotice, | ||
|
@@ -46,8 +52,8 @@ export const icons = { | |
stack: IconStack, | ||
star: IconStar, | ||
twinkle: IconTwinkle, | ||
unSelectedCheckbox: IconUnSelectedCheckbox, | ||
x: IconX, | ||
xCircle: IconXCircle, | ||
checkbox: IconCheckbox, | ||
unSelectedCheckbox: IconUnSelectedCheckbox, | ||
iconX: _IconX, | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codebase verification
primary800
색상 토큰 제거 가능이 색상 토큰은 현재 테마 시스템 파일들에서만 참조되고 있으며, 실제 컴포넌트에서는 사용되지 않는 것으로 확인됩니다. 다음과 같이 정리가 필요합니다:
packages/theme/src/tokens/colors.ts
에서primary800
정의 제거packages/theme/src/themes/light.ts
와dark.ts
에서 참조 제거packages/theme/src/themes/contract.ts
에서 타입 정의 제거🔗 Analysis chain
TODO 주석 처리된 색상 정리 필요
primary800
색상이 삭제 예정으로 표시되어 있습니다. 이 색상을 사용하는 모든 곳을 확인하고 적절한 대체 색상으로 마이그레이션하는 계획이 필요합니다.🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
Length of output: 325
Script:
Length of output: 57