Commit 2708f72
feat(extension): retheme popup + options to flame/mist tokens
The Chrome extension's popup and options page were using zinc/emerald —
distinct from the flame/mist palette every other surface in the product
shares (web wizard, Expo wizard, dashboard). Reskin to match.
The change is a token swap, not a redesign — the existing
"operator-terminal" aesthetic (mono uppercase eyebrows, dot indicators
with halo, stripe-edged config cards, small dense buttons) lands
better against the warm flame primary + cool mist neutrals than it did
against the colder zinc + emerald.
Specifics:
- :root tokens remapped: ink/line/surface track mist; accent/accent-2/
accent-wash track flame. Added --accent-edge and --accent-deep so the
hint-bar (success / informational) can be styled with flame variants
instead of hardcoded emerald hexes. Added --danger-edge for parity.
- masthead "REPRO" eyebrow dot now picks up flame (was emerald).
- granted-config stripe is flame; pending-permission stripe stays burnt
amber (--warn) — it's distinct enough from flame to read as a
different state rather than a brighter active.
- options page radial gradients swap emerald-50 for flame-soft and add
a comment explaining the warm/cool tension that mirrors the wizard.
Tokens are commented as mirroring @reprojs/sdk-utils/src/theme/tokens.ts.
The extension package doesn't import sdk-utils at runtime just for
colors (it'd cost an extra IIFE chunk), so the values are duplicated
with a "keep in sync" header — same trade-off the existing
styles-inline.ts file makes for the web SDK.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 67f0dbf commit 2708f72
2 files changed
Lines changed: 33 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
5 | 8 | | |
6 | | - | |
7 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
8 | 12 | | |
9 | 13 | | |
10 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
1 | 7 | | |
2 | 8 | | |
3 | 9 | | |
4 | 10 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
11 | 18 | | |
12 | | - | |
| 19 | + | |
13 | 20 | | |
14 | | - | |
15 | | - | |
16 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
17 | 27 | | |
| 28 | + | |
| 29 | + | |
18 | 30 | | |
19 | | - | |
| 31 | + | |
20 | 32 | | |
21 | 33 | | |
22 | 34 | | |
23 | 35 | | |
| 36 | + | |
24 | 37 | | |
25 | 38 | | |
26 | 39 | | |
| |||
404 | 417 | | |
405 | 418 | | |
406 | 419 | | |
407 | | - | |
| 420 | + | |
408 | 421 | | |
409 | 422 | | |
410 | 423 | | |
| |||
415 | 428 | | |
416 | 429 | | |
417 | 430 | | |
418 | | - | |
| 431 | + | |
419 | 432 | | |
420 | | - | |
| 433 | + | |
421 | 434 | | |
422 | 435 | | |
423 | 436 | | |
| |||
0 commit comments