Commit c1b3c08
feat: redesign UI as Optia — Signal theme, score-first, light + dark
Complete visual overhaul giving Optia a distinct identity (indigo/sky "Signal" palette) clearly different from the old AI SEO Copilot mint-on-charcoal look.
- Token system via CSS variables (light default + dark) in tailwind.config.ts + globals.css; theme toggle persisted to chrome.storage (src/lib/theme.ts, ThemeToggle).
- Score-first side panel: refreshed radial ScoreGauge hero with good/needs-work/poor states, category cards, summary pills, animated loading skeleton, and a perfect-score reward moment.
- Restyled every UI primitive (Button/Input/Select/Toggle/Badge/Toast/Tooltip) and component (recommendation cards with a visible Copy affordance, options/API-key page, onboarding, footer); migrated all legacy token names (no leftover old styles).
- New Optia brand mark + extension icons (16/32/48/128) generated from SVG via a 'pnpm icons' build step (sharp); replaces the robot icon.
- New typography scale, spacing, radii, and accessible focus-visible rings.
Quality gate green: eslint, tsc --noEmit, build, and 309 tests all pass.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 3dcb862 commit c1b3c08
43 files changed
Lines changed: 1224 additions & 594 deletions
File tree
- app
- icons
- scripts
- src
- components
- ui
- content
- lib
- options
- sidepanel
- pages
- styles
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
| 9 | + | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
130 | 143 | | |
131 | 144 | | |
132 | 145 | | |
| |||
Loading
Loading
Loading
Loading
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| 53 | + | |
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
| |||
0 commit comments