Commit 5f31f41
Polish UI for professional appearance
Design system:
- Introduce CSS custom properties for colors, radii, and transitions
- Unify accent color to #4fc3f7 (cyan from favicon)
- All hardcoded hex values now reference semantic tokens
Visual hierarchy:
- Init Audio button styled as filled primary action (accent bg, dark text)
- Init hint uses .init-hint class with accent color
- Header uses .header-row class, em-dash separator dimmed
Interactive states:
- Button hover (subtle lift + brighter border), active (pressed), and
focus-visible (accent ring) states with 120ms transitions
- Input/select/textarea focus-visible shows accent border + glow
- Checkbox focus-visible uses outline offset
- Select hover brightens border
- Summary hover turns accent color
Micro-interactions:
- Details border brightens when opened
- Scan progress bar transition smoothed to 180ms
- Onboarding overlay fades in (250ms), dialog slides up (300ms)
- Get Started button lifts 1px on hover
Polish:
- Onboarding overlay: backdrop blur, deeper shadow, glass-like edge
- Readout pills: accent-tinted background, accent text, inline-flex
- Help button: accent hover state, focus-visible ring
- PWA banner: accent reload button with hover states
- Hint line-height improved to 1.45
- Grid/card padding increased to 14px
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent a793efb commit 5f31f41
2 files changed
Lines changed: 188 additions & 87 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
0 commit comments