feat(web): 쉬는 중일 때 다이얼을 차분한 색 + 숨쉬기로 표현 - #21
robin-watcha wants to merge 1 commit into
Conversation
추출 타이머의 쉬는 구간(rest tail)에서 다이얼 호·중앙 시간·pill을 따뜻한 앰버에서 차분한 세이지/틸로 바꾸고, 호를 은은하게 맥동(숨쉬기)시킨다. 호가 측정하는 값(전체 진행률)은 그대로라 의미가 헷갈리지 않으면서, 지금 부어야 하는지 기다려야 하는지를 한눈에 구분할 수 있다. - app.css: --rest/--rest-strong/--rest-soft 토큰(라이트/다크) 추가, .dial.resting 색 스왑 + dial-breathe 맥동, prefers-reduced-motion 존중 - +page.svelte: .dial·.phase-pill에 class:resting 토글, 하단 wait 막대를 정의된 var(--rest)로 통일(기존 미정의 --surface-strong 폴백 제거) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Free Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThis PR adds resting-state visual styling to the brew timer UI. Design tokens for the resting color palette are defined in both light and dark themes, then applied to dial, pill, and animation elements. The recipe timer component integrates these styles by conditionally binding the resting class and updating the progress bar color. ChangesResting State Visual Feature
Estimated Code Review Effort🎯 2 (Simple) | ⏱️ ~10 minutes
Note 🎁 Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login. Comment |
Summary
추출 타이머에서 쉬는 중(rest tail) 일 때와 붓는 중 일 때 큰 다이얼이 시각적으로 동일해, 사용자가 지금 부어야 하는지 기다려야 하는지를 한눈에 구분하기 어려웠다. (기존 신호는 pill의
· 쉬는 중텍스트와 얇은 막대 색뿐)이 PR은 쉬는 구간에서 다이얼을 명확히 다르게 표현한다:
#5b8a7a/ 다크#7fb3a3)2.6sease-in-out으로 은은하게 opacity 맥동(dial-breathe)prefers-reduced-motion: reduce사용자는 맥동 없이 색만 전환phase-kind-wait막대도var(--rest)로 통일 (기존 미정의--surface-strong폴백 제거)색·치료 방향은 /office-hours 빌더 세션에서 결정 (3개 후보 중 "차분한 색 + 숨쉬기", 색은 세이지/틸 선택).
Before / After (dark mode)
Test Coverage
순수 CSS + 클래스 토글 변경으로 새로운 코드 경로 없음. 시각 검증은 실제 CSS를 그대로 렌더한 정적 하니스 스크린샷으로 두 상태 대비를 확인.
Pre-Landing Review
No issues found. SQL/LLM/데이터 안전성 무관. CSS 우선순위(
.dial.resting::before>.dial::before) 정상, mask/inset는 베이스 규칙에서 상속되어 링 모양 유지. 색 단독 신호가 아님(· 쉬는 중텍스트 유지) + 모션 reduced-motion 존중 → 접근성 OK.Verification
svelte-check: 0 errors, 0 warningsvitest run: 135 passed (11 files)Test plan
🤖 Generated with Claude Code
Summary by CodeRabbit
Release Notes
New Features
Style
Accessibility