Skip to content

style: DS CORE v2 반영 — accent 컬러 Sky blue 전환 및 컴포넌트 수정 - #357

Merged
ychany merged 23 commits into
devfrom
style/355-ds-skyblue
Jul 20, 2026
Merged

style: DS CORE v2 반영 — accent 컬러 Sky blue 전환 및 컴포넌트 수정#357
ychany merged 23 commits into
devfrom
style/355-ds-skyblue

Conversation

@ychany

@ychany ychany commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

작업 요약

  • Sky blue 팔레트(11스텝)를 추가하고 accent 시멘틱 토큰을 Sky blue 로 교체합니다
  • Secondary 버튼 색상을 수정하고 스트로크를 삭제합니다
  • 상태 칩의 아이콘을 제거하고 워딩·완료 컬러를 변경합니다
  • 토너먼트 카드 레이아웃을 개편합니다 (이미지 스택 + 프로필 20px)
  • Pick 스티커·체크박스·카운트다운 칩 등 하드코딩된 blue 를 Sky blue 로 일괄 교체합니다

작업 세부 내용

토큰 (globals.css)

  • --color-sky-blue-50~950 팔레트 신규 추가
  • 시멘틱 교체: bg/accent→sky 500, text/accent→sky 600, border/accent→sky 400, icon/accent→sky 500
  • bg/neutral/tertiary: gray-300 → gray-75

컴포넌트

  • Secondary 버튼: Default bg-neutral-tertiary+text-neutral-secondary / Pressed·Disabled gray-50, 보더 삭제
  • 상태 칩(StatusChip): 내부 아이콘 제거(텍스트만), 플레이플레이 중, 완료 칩 sky-blue-50 + text/accent, 고정폭 제거(hug)
  • 토너먼트 카드: 시안 레이아웃으로 개편 — 좌측 아이템 이미지 스택(회전 겹침), radius 16px, 프로필 20px(UserProfileGroup 에 size prop 추가), 날짜 제거
  • Pick 스티커: sky-blue-400 + 상단 이너 글로우(#A2DEFF), 스티커 전체 -15° 회전, 폰트 20px (ProductCard·FinalProductCard)
  • 체크박스: 선택 bg/accent, 미선택 black/8 — 위시 그리드·by-wish 선택 카드 2곳
  • 카운트다운 칩(DepositCountdown): sky-blue-50 배경 칩 형태로
  • 기본 프로필 캐릭터(user-profile-blue.svg): fill sky-blue-200

하드코딩 blue 일괄 정리

  • 로딩바 bg-blue-500bg-bg-accent, 라운드 전환(파이어·숫자·링)·가이드 팝오버 → 시멘틱 토큰
  • blue-50 하이라이트 배경(친구초대 스톱워치·참여자 패널·바스켓 칩·알림 아이콘) → sky 계열
  • 결승 배경 그라데이션 #ECF3FE 계열 → sky-blue-50 계열
  • VS 뱃지: 결승 파랑 분기 제거, DS 단일 스타일(bg/neutral/secondary)로 통일

범위 제외 / 확인 포인트

  • Bottom Nav·신규 아이콘(trophy_new, Home): 협의대로 이번 PR 제외
  • 토너먼트 카드 이미지: 목록 API 에 아이템 이미지 필드가 없어 시안과 동일한 placeholder 로 구현 (실제 썸네일은 백엔드 필드 추가 후 후속)
  • 토너먼트 카드 날짜: 시안 레이아웃에 없어 제거 — 디자이너 확인 필요
  • 카드 더보기 아이콘: 시안 원본이 가로점을 -90° 회전(=세로점)해 사용 중이라 스펙 텍스트("horizontal")와 모순 — 현행(가로점) 유지, 디자이너 확인 필요
  • 체크박스 stroke 1.4px 는 SVG 에셋 내부 값이라 색상만 반영 (에셋 재-export 필요 시 후속)

연관 이슈

closes #355
closes #337

Summary by CodeRabbit

  • 새로운 기능
    • 프로필 이미지 그룹에 표시 크기 옵션을 추가해 레이아웃과 배지가 크기에 맞게 조정됩니다.
  • 스타일
    • 하늘색 토큰/중립 배경을 반영해 버튼·로딩바·배지·그라데이션/그림자·경계 두께(예: 1.85px) 등을 전반적으로 다듬었습니다.
  • 변경 사항
    • 토너먼트 카드의 생성일 표시를 제거하고, 상태 칩은 아이콘 없이 텍스트 라벨 중심으로 변경되었습니다.
    • 위시/매치/알림 등 일부 UI 색상 및 배경 처리도 정리되었습니다.

@vercel

vercel Bot commented Jul 19, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
piki Ready Ready Preview, Comment Jul 20, 2026 8:22am

@github-actions

Copy link
Copy Markdown

Discord 스레드 연동용 메타데이터입니다. discord-pr-bot 워크플로가 자동 생성하며, 수정·삭제하면 PR 과 Discord 알림 연동이 끊깁니다.

@coderabbitai

coderabbitai Bot commented Jul 19, 2026

Copy link
Copy Markdown

Review Change Stack

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

Sky blue 디자인 토큰과 시맨틱 색상이 추가·전환되었으며, 버튼·상태 칩·토너먼트 카드·프로필 그룹·매치 화면 및 주요 화면의 스타일이 업데이트되었습니다. TournamentCard의 날짜 prop과 상태 칩 아이콘도 제거되었습니다.

Changes

CORE v2 디자인 및 컴포넌트 변경

Layer / File(s) Summary
디자인 토큰과 공통 컴포넌트
apps/web/src/styles/globals.css, apps/web/src/components/button/*, apps/web/src/components/status-chip/*
Sky blue 팔레트와 시맨틱 색상 참조가 추가되고, 버튼 및 상태 칩의 색상·간격·아이콘·라벨이 변경되었습니다.
토너먼트 카드와 프로필 그룹
apps/web/src/components/tournament-card/index.tsx, apps/web/src/components/user-profile-group/index.tsx, apps/web/src/app/archive/tournament/..., apps/web/src/app/home/...
TournamentCard에서 날짜 prop과 날짜 표시를 제거하고 카드 레이아웃을 재구성했으며, UserProfileGroupsm/md 크기별 스타일을 도입했습니다.
토너먼트 매치 화면 스타일
apps/web/src/app/tournament/[id]/match/_components/*, apps/web/src/app/tournament/[id]/loading/..., apps/web/src/app/tournament/[id]/create/...
Pick 스티커, 라운드 전환, 브래킷, 결승 배경, VS 배지 및 일부 테두리 스타일이 변경되었습니다.
주요 화면별 스타일 적용
apps/web/src/app/archive/wish/..., apps/web/src/app/notification/..., apps/web/src/app/tournament/[id]/create/...
체크 아이콘, 카운트다운, 가이드 아이콘, 아이템 상태 및 알림 배경에 새 색상과 레이아웃 스타일을 적용했습니다.

Estimated code review effort: 3 (Moderate) | ~25 minutes

Possibly related PRs

  • TeamPiKi/client#347: TournamentHistoryListTournamentCard 호출 및 prop 계약 변경과 직접 연결됩니다.
  • TeamPiKi/client#356: 위시 화면의 체크 아이콘 색상과 오버레이 렌더링 변경과 직접 연결됩니다.
  • TeamPiKi/client#358: UserProfileGroup의 프로필 및 오버플로 배지 크기 스타일 변경과 직접 연결됩니다.

Suggested reviewers: iodio89, kanghaeun

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 6.67% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed 제목이 DS CORE v2의 Sky blue 전환과 컴포넌트 수정이라는 핵심 변경을 정확히 요약합니다.
Linked Issues check ✅ Passed Sky blue 토큰/시맨틱 전환, 버튼·배지·카드·체크박스·Pick 스티커 수정이 반영되어 직접 이슈 요구사항과 일치합니다.
Out of Scope Changes check ✅ Passed Bottom Nav나 신규 아이콘 추가 같은 제외 범위 변경은 보이지 않고, 변경은 DS CORE v2 스타일 전환 범위에 머뭅니다.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch style/355-ds-skyblue

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In
`@apps/web/src/app/tournament/`[id]/create/_components/deposit-countdown/DepositCountdown.tsx:
- Line 16: Remove the duplicated container styling between DepositCountdown and
the ParticipantPanel wrapper: make DepositCountdown’s root layout-only or remove
the matching styling from its parent, while preserving a single rounded sky-blue
background and padding layer for the rendered pill.

In `@apps/web/src/app/tournament/`[id]/match/_components/RoundTransitionSheet.tsx:
- Around line 262-266: Update the blue bracket connector near the
RoundTransitionSheet card styling to replace the hardcoded `#9DC3F9` with the same
sky-blue-200 palette token used for the blue card state. Keep the connector’s
existing layout and behavior unchanged so both cards and bracket lines use a
consistent color.

In `@apps/web/src/components/status-chip/statusChip.style.ts`:
- Line 12: Update the COMPLETED entry in the status-chip style mapping to use a
darker semantic text token, such as sky-blue-700, while preserving the existing
sky-blue-50 background and other status styles.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 3333efe9-7e96-4e68-87c0-ab5833ab3b5a

📥 Commits

Reviewing files that changed from the base of the PR and between 8a09a24 and f782841.

⛔ Files ignored due to path filters (1)
  • apps/web/src/assets/images/user-profile-blue.svg is excluded by !**/*.svg
📒 Files selected for processing (23)
  • apps/web/src/app/archive/tournament/_components/TournamentHistoryList.tsx
  • apps/web/src/app/archive/wish/_components/wish-grid/index.tsx
  • apps/web/src/app/home/_components/tournament-list/client.tsx
  • apps/web/src/app/notification/_components/NotificationItem.tsx
  • apps/web/src/app/tournament/[id]/create/_components/deposit-countdown/DepositCountdown.tsx
  • apps/web/src/app/tournament/[id]/create/_components/invite-friends/InviteFriendsDialog.tsx
  • apps/web/src/app/tournament/[id]/create/_components/participant-panel/ParticipantPanel.tsx
  • apps/web/src/app/tournament/[id]/create/_components/tournament-header/TournamentGuidePopover.tsx
  • apps/web/src/app/tournament/[id]/create/_components/tournament-item-basket-status/TournamentItemBasketStatus.tsx
  • apps/web/src/app/tournament/[id]/create/by-wish/_components/WishSelectCard.tsx
  • apps/web/src/app/tournament/[id]/loading/_components/LoadingBar.tsx
  • apps/web/src/app/tournament/[id]/match/_components/FinalProductCard.tsx
  • apps/web/src/app/tournament/[id]/match/_components/ProductCard.tsx
  • apps/web/src/app/tournament/[id]/match/_components/RoundTransition.tsx
  • apps/web/src/app/tournament/[id]/match/_components/RoundTransitionSheet.tsx
  • apps/web/src/app/tournament/[id]/match/_components/TournamentClient.tsx
  • apps/web/src/app/tournament/[id]/match/_components/VsSection.tsx
  • apps/web/src/components/button/button.style.ts
  • apps/web/src/components/status-chip/index.tsx
  • apps/web/src/components/status-chip/statusChip.style.ts
  • apps/web/src/components/tournament-card/index.tsx
  • apps/web/src/components/user-profile-group/index.tsx
  • apps/web/src/styles/globals.css
💤 Files with no reviewable changes (2)
  • apps/web/src/app/home/_components/tournament-list/client.tsx
  • apps/web/src/app/archive/tournament/_components/TournamentHistoryList.tsx


return (
<div className="flex items-center justify-center gap-1.5 text-text-accent">
<div className="flex items-center justify-center gap-1.5 rounded-lg bg-sky-blue-50 py-1 pr-3 pl-2 text-text-accent">

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

부모와 자식이 동일한 배경 컨테이너를 중첩합니다.

ParticipantPanel.tsx의 Line 73-75에서도 DepositCountdownrounded-lg bg-sky-blue-50과 패딩으로 감싸므로, 이 경로에서는 배경·라운딩·패딩이 이중 적용되어 중첩된 pill UI가 렌더링됩니다. 스타일 소유권을 한 레이어로 통일해 주세요. 예를 들어 DepositCountdown을 레이아웃 전용으로 유지하거나, 부모 래퍼를 제거해야 합니다.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In
`@apps/web/src/app/tournament/`[id]/create/_components/deposit-countdown/DepositCountdown.tsx
at line 16, Remove the duplicated container styling between DepositCountdown and
the ParticipantPanel wrapper: make DepositCountdown’s root layout-only or remove
the matching styling from its parent, while preserving a single rounded sky-blue
background and padding layer for the rendered pill.

Comment thread apps/web/src/components/status-chip/statusChip.style.ts

@iOdiO89 iOdiO89 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

빠른 작업 멋지다 ~~

apps/web/src/components/tournament-card/index.tsx
apps/web/src/components/user-profile-group/index.tsx

이거 두개는 내가 했어! 작업에서 빼주라

/** DS 0719 — 토너먼트 카드에서는 20px(sm) 프로필 사용 */

그리고 이런 주석들은 뺴줘 ㅎㅎ

Comment on lines +385 to +386
className="text-[20px] leading-7 font-bold tracking-[-0.6px]"
style={{ color: '#1F7AF9' }}
style={{ color: 'var(--color-text-accent)' }}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

여기는 왜 tailwind 안쓰고 inline 스타일이야??

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

원래 inline으로 되어있던거 토큰만 적용했는데 수정해둘게!


const vsBadgeColor = isFinal ? 'bg-[#1F7AF9]' : 'bg-gray-800';
// DS VS Divider 는 단일 스타일 (bg/neutral/secondary) — 결승 분기 없음
const vsBadgeColor = 'bg-bg-neutral-secondary';

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이러면 상수로 분리할 필요 없는 거 아닝가

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

없앰!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

2 participants