From 913d49d0ea7f02361582e9b8189c42eb1baca535 Mon Sep 17 00:00:00 2001 From: dev Date: Sat, 6 Jun 2026 16:07:19 +0200 Subject: [PATCH] words: harmonize inspector control tier (one height, one body font) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The block inspector mixed three control heights (chip 26 · number-field 28 · color-trigger 36px) and two fonts (chip/trigger 10px vs label/value/input 12px), so the PRIMARY control — the chip — was the smallest text in the panel. - New recipe tokens `--words-control-height` (1.75rem — was a magic literal on the number-field) and `--words-field-width` (7.5rem), applied uniformly to the whole inline tier (chip · color-trigger · number-field) → one 28px height + an aligned right-edge column. - Chip + color-trigger lift to the 12px body tier (the ToggleGroup `xs` is kept ONLY for its compact padding; lifting the font without the padding keeps the four-segment groups on one line). - Cramped long labels shortened (Predeterminada→Auto, Semi-negrita→Semi) so Fuente/Grosor read as four even segments. - Collapsed the dead, inconsistent font-size fallbacks (`xs, 0.6875rem` / `xs, 0.75rem` / `sm, 0.8125rem`) to the bare declared token. Chrome scale is now a clean 14 (section) / 12 (body) / 11 (micro). Verified in browser: chip · color-trigger · number-field all 28px·12px, no group overflow. 19/19 recipe contract green; check adds zero errors. Co-Authored-By: Claude Opus 4.8 (1M context) --- src/uix/eidos/components/words/AUDIT.md | 20 +++++++++-- .../eidos/components/words/langs-inspector.ts | 8 ++--- src/uix/eidos/components/words/words.css | 33 ++++++++++++++----- src/uix/eidos/generated/base.css | 2 ++ src/uix/eidos/lib/recipes/base.ts | 9 +++++ 5 files changed, 56 insertions(+), 16 deletions(-) diff --git a/src/uix/eidos/components/words/AUDIT.md b/src/uix/eidos/components/words/AUDIT.md index 7efc0a86f..c0333714e 100644 --- a/src/uix/eidos/components/words/AUDIT.md +++ b/src/uix/eidos/components/words/AUDIT.md @@ -68,7 +68,7 @@ verificar en navegador, y con el enfoque validado → generalizar tokens + barre 8 sintaxis) → la escala `--words-radius-{xs,sm,md,lg}`. Micro decorativo (1-2px) + círculos (50%) intactos por diseño. radius-xs verificado (=4px), sin regresión. - [ ] A — resto del vocabulario: triar los 41 huérfanos (cablear `rail-*`/`toolbar-*`/… o podar) -- [ ] B — resto del barrido: tamaños bespoke (swatch/checkbox/anchos/sidebar 16rem×3)→tokens, padding `--space-*` +- [x] B — barrido de tamaños: tier de control inline unificado a 28px·12px (ver entrada B detallada abajo) - [ ] C — centralizar las 3 paletas de color - [x] **D — fixes API** (2026-06-06): quitado el `