From 763cb255bcb998ce888b168a9d6168e2eedddfef Mon Sep 17 00:00:00 2001 From: dawn <90008@klbr.net> Date: Tue, 27 Oct 2026 23:51:33 +0300 Subject: [PATCH] web: align model selector group counts on the baseline and lift contrast Signed-off-by: dawn <90008@klbr.net> --- web/src/lib/ModelChoice.svelte | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/web/src/lib/ModelChoice.svelte b/web/src/lib/ModelChoice.svelte index 5eb1133d..0c93cbc9 100644 --- a/web/src/lib/ModelChoice.svelte +++ b/web/src/lib/ModelChoice.svelte @@ -443,25 +443,28 @@ } .group-head { display: flex; - align-items: center; + align-items: baseline; gap: 6px; - padding: 6px 8px 3px; - color: var(--muted); + padding: 7px 10px 3px; + color: color-mix(in oklab, var(--text) 65%, var(--muted)); font-size: calc(11px * var(--ui-scale)); font-weight: 600; + line-height: 1.2; letter-spacing: -0.01em; } .group-head .count { - color: var(--faint); + color: var(--muted); font-family: var(--mono); - font-size: calc(10px * var(--ui-scale)); + font-size: calc(10.5px * var(--ui-scale)); font-weight: 500; + font-variant-numeric: tabular-nums; } .group-head::after { content: ''; flex: 1; + align-self: center; height: 1px; - background: color-mix(in oklab, var(--text) 8%, transparent); + background: color-mix(in oklab, var(--text) 12%, transparent); } .row { position: relative; @@ -532,7 +535,7 @@ } .ctx { flex: none; - color: var(--faint); + color: var(--muted); font-family: var(--mono); font-size: calc(11px * var(--ui-scale)); font-variant-numeric: tabular-nums; -- knotmirror 0.0.1