Wave-5 reskin batch 5: normalize stray pixel text sizes onto the declared ladder

--text-xxs (10px) joins the ladder; every component-level text-[9|10|11px]
literal in owned components now pulls from the ladder (graph-view.tsx and
home.tsx untouched — graph stream). Cosmetic pins updated where touched.
This commit is contained in:
amosblomqvist
2026-09-12 23:48:27 +03:00
parent 649495bf29
commit 3360181e41
11 changed files with 22 additions and 20 deletions
+4 -4
View File
@@ -160,7 +160,7 @@ export function ModelControl({
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"
>
<span className="text-card-foreground">{effectiveId ? prettyModel(effectiveId) : "—"}</span>
<span aria-hidden className="text-[9px] text-muted-foreground">▾</span>
<span aria-hidden className="text-xxs text-muted-foreground">▾</span>
</button>
<span aria-hidden>·</span>
<button
@@ -177,7 +177,7 @@ export function ModelControl({
<span className="text-card-foreground">
{effectiveLevel === undefined ? "Thinking —" : `Thinking: ${LEVEL_LABEL[effectiveLevel] ?? effectiveLevel}`}
</span>
<span aria-hidden className="text-[9px] text-muted-foreground">▾</span>
<span aria-hidden className="text-xxs text-muted-foreground">▾</span>
</button>
{open === "model" && (
@@ -234,7 +234,7 @@ export function ModelControl({
</li>
))}
</ul>
<div className="mt-1 border-t px-2 pt-1.5 text-[10px] text-muted-foreground">
<div className="mt-1 border-t px-2 pt-1.5 text-xxs text-muted-foreground">
Applies to the next turn · background agents stay config-pinned
</div>
</div>
@@ -266,7 +266,7 @@ export function ModelControl({
</button>
))}
{error && <div className="mt-1 text-destructive">{error}</div>}
<div className="mt-1 border-t px-2 pt-1.5 text-[10px] text-muted-foreground">
<div className="mt-1 border-t px-2 pt-1.5 text-xxs text-muted-foreground">
Levels this model actually supports
</div>
</div>