Polish: session names take 900 weight serif-off; floating controls match graph chrome

- .font-title now requests font-weight: 900 — with the serif toggle OFF,
  the prose font is a VARIABLE font and was rendering titles at 400, a
  whisper next to CMU's bold-only face; 900 lands directly on Source
  Sans 3 and CMU's single 700 face snaps to nearest, unchanged. Same
  rendering with serif on, real weight with it off.
- The model + thinking pills match the graph view's floating top-right
  chrome (import notes / gear / coverage): border bg-card/85 shadow-lg
  backdrop-blur — the graph no longer bleeds through the pills.
- The dictate button gets the same blurring at lower opacity
  (bg-card/50 backdrop-blur), staying quieter than the model pills.

Gates: tsc clean, 866/866, lint 0, build ok. Live-verified: pills/dictate
computed styles byte-identical to the reference chrome (bg .85/.5 alpha +
blur(8px) + same shadow stack); title requests 900 in both serif states.
This commit is contained in:
amosblomqvist
2026-09-23 01:46:15 +03:00
parent 525cba0398
commit ff3700a2d0
3 changed files with 23 additions and 3 deletions
+10 -2
View File
@@ -247,7 +247,11 @@ export function ModelControl() {
onClick={() => openMenu("model")}
aria-expanded={open === "model"}
title="Strong tier model (prober + teacher) — set app-wide"
className="flex items-center gap-1.5 rounded-full border border-border/60 bg-card/70 px-2.5 py-1 transition-colors hover:border-border hover:bg-muted"
// Chrome look (owner, fix wave round 3): matches the graph
// view's floating top-right buttons (import notes, gear,
// coverage) — blurred, fuller opacity, shadowed — so the
// graph no longer bleeds through these pills.
className="flex items-center gap-1.5 rounded-full border bg-card/85 px-2.5 py-1 shadow-lg backdrop-blur transition-colors hover:border-border hover:bg-muted"
>
<span className="text-card-foreground">{effectiveId ? prettyModel(effectiveId) : "—"}</span>
<span aria-hidden className="text-xs text-muted-foreground">▾</span>
@@ -263,7 +267,11 @@ export function ModelControl() {
}}
aria-expanded={open === "thinking"}
title="Strong tier thinking level — set app-wide"
className="flex items-center gap-1.5 rounded-full border border-border/60 bg-card/70 px-2.5 py-1 transition-colors hover:border-border hover:bg-muted"
// Chrome look (owner, fix wave round 3): matches the graph
// view's floating top-right buttons (import notes, gear,
// coverage) — blurred, fuller opacity, shadowed — so the
// graph no longer bleeds through these pills.
className="flex items-center gap-1.5 rounded-full border bg-card/85 px-2.5 py-1 shadow-lg backdrop-blur transition-colors hover:border-border hover:bg-muted"
>
{/* Just the level — the button reads like the model button reads
the model name (owner, stats-control round 1). */}