Skip to content

Unify dropdown panel style — glass-2 + blur everywhere#247

Merged
d3mocide merged 3 commits into
mainfrom
claude/nifty-feynman-38xqco
Jun 22, 2026
Merged

Unify dropdown panel style — glass-2 + blur everywhere#247
d3mocide merged 3 commits into
mainfrom
claude/nifty-feynman-38xqco

Conversation

@d3mocide

Copy link
Copy Markdown
Owner

Summary

  • HydrationCard (daily goal + glass size dropdowns): panel background was var(--bg-3) (opaque/flat) — changed to var(--glass-2) to match the canonical glass frosted style
  • NutritionCalculatorCard (favorites picker): full rework — replaced glass-bright class with explicit glass-2 + backdrop blur, replaced raw inline SVG chevron with lucide ChevronDown + rotate-on-open animation, replaced borderBottom item dividers with individually rounded items matching the optionStyle hover/color pattern from the favorites sort dropdown

Test plan

  • Settings → Hydration card: open daily goal and glass size dropdowns — panels should look frosted/glass, not flat dark
  • Today → log sheet → Favorites tab: open the favorites picker — panel should match the favorites sort dropdown aesthetic (glass, blur, rounded items, hover highlight)
  • All 114 unit tests pass (pnpm test)
  • TypeScript clean (pnpm type-check)

🤖 Generated with Claude Code

https://claude.ai/code/session_01Nyh5LqQbWh4zBKSDvZuk17


Generated by Claude Code

claude added 3 commits June 22, 2026 23:46
HydrationCard: both dropdowns used var(--bg-3) (opaque) instead of
var(--glass-2), making them look flat compared to the favorites sort
dropdown.

NutritionCalculatorCard favorites picker: full rework to match the
canonical glass dropdown pattern — glass-2 background, backdrop blur,
8px shadow, 12px border-radius, rounded items with proper hover/active
colors, lucide ChevronDown with rotate-on-open animation replacing the
raw inline SVG.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Nyh5LqQbWh4zBKSDvZuk17
UP035: Sequence from collections.abc not typing
UP007: Optional[X] → X | None union syntax (3 annotations)
I001: sort imports (stdlib before third-party)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Nyh5LqQbWh4zBKSDvZuk17
All four phases are complete. Remove stale phase-gate prose, phase-0
exit criteria, stub/implement lists, and [phase-X] commit prefix rule.

Frontend pre-commit checks loosened: full suite (type-check + lint +
test) only required before PRs or multi-file changes; type-check alone
suffices for trivial single-file edits.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Nyh5LqQbWh4zBKSDvZuk17
@d3mocide d3mocide marked this pull request as ready for review June 22, 2026 23:52
@d3mocide d3mocide merged commit 61f165c into main Jun 22, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants