[DESIGN] 폴더 화면 UI 개편#82
Merged
Merged
Conversation
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.
Closes #81
개요
폴더 화면의 폴더 카드 UI를 Figma 디자인 방향에 맞춰 개편했습니다.
기존 폴더 카드는 그라데이션 배경을 사용하는 단일 카드 형태였지만, 이번 작업에서는 폴더의 형태가 더 직접적으로 드러나도록 상단 탭과 카드 body가 분리된 구조로 변경했습니다.
또한 작은 화면에서 카드가 과하게 크게 보이지 않도록 카드 폭 기준 compact 스타일을 적용했습니다. PR #65에서 적용했던 폴더 화면의 반응형 카드 폭 계산 흐름은 유지하면서, 새 폴더 카드 UI 내부의 높이, padding, 폰트 크기, 메뉴 아이콘 크기가 좁은 화면에서 자연스럽게 줄어들도록 보완했습니다.
폴더 카드를 길게 눌렀을 때 뒤에 가려진 탭 영역이 비쳐 보이지 않도록 눌림 효과도 opacity 방식에서 scale 방식으로 변경했습니다.
마지막으로 폴더 카드의 색상과 치수 값을 컴포넌트 내부에 직접 하드코딩하지 않고,
constants/theme.ts의 토큰으로 분리해 관리하도록 정리했습니다.주요 구현 내용
FolderCard에icon,variant,disabled기반 표시 옵션 추가Colors.brand.folderCard.body토큰으로 분리ComponentTokens.folderCard로 분리파일별 역할
components/ui/folder-card.tsx: 폴더 카드 UI 구조 개편, compact 크기 대응, 눌림 효과 보정, 디자인 토큰 참조 적용constants/theme.ts: 폴더 카드 body 색상 및 카드 치수/간격 관련 component token 추가해결한 이슈 목록
theme.ts토큰으로 분리Colors.brand.*참조 사용체크 사항
참고사항
Screenshots or Video