# s-text — alcance de tema: análisis y propuesta > Generado por `node --import tsx/esm scripts/theming-census.ts --report`. > Lo **medido** y la **propuesta** se regeneran; el **Veredicto** (§5) se conserva. > Vista de conjunto: [README](./README.md) · método y protocolo: > [`PLAN-theming.md`](../../process/PLAN-theming.md) §1, §2, §7. - **Medido**: 2026-08-23 · **Alcance**: **100%** — 2 de 2 knobs por token público - **Knobs de apariencia**: 30 — público 2 · privado 0 · global 0 · literal 0 · sistema 28 · excepción 0 _(los dos últimos, fuera del ratio)_ - **Contrato hoy** (`lib/recipes/base.ts`): 3 pública(s) — `hint-fg`, `hint-opacity`, `hint-margin-top` · 1 privada(s) forward — `_palette-text` - **Eje `size`**: no · **ficheros**: `s-text.css` ## 1. Knobs fuera de alcance ### 1.1 Directo a primitivo global (0) _Ninguno._ ### 1.2 A través de un privado (0) _Ninguno._ ### 1.3 Literales (0) _Ninguno._ ### 1.4 Excepciones firmadas (0) — fuera del ratio Literales que llevan su anotación `/* literal: */` en la propia declaración: la válvula de recipe-contract §3, la misma que honra `component-audit`. **Una desviación firmada no es deuda** — se listan para que la razón se lea, no para acuñarlas. _Ninguno._ ## 2. Sistema transversal (28) — informativo, fuera del ratio Un tema los alcanza **a nivel de sistema**, por diseño (recipe-contract §2). | # | fichero:línea | selector | propiedad | valor | | ---: | --- | --- | --- | --- | | 1 | `s-text.css:12` | `[data-s-text]` | `font-family` | `var(--_s-text-font-family, var(--style-body-font-family))` | | 2 | `s-text.css:13` | `[data-s-text]` | `font-size` | `var(--_s-text-font-size, var(--style-body-font-size))` | | 3 | `s-text.css:14` | `[data-s-text]` | `font-weight` | `var(--_s-text-font-weight, var(--style-body-font-weight))` | | 4 | `s-text.css:15` | `[data-s-text]` | `line-height` | `var(--_s-text-line-height, var(--style-body-line-height))` | | 5 | `s-text.css:16` | `[data-s-text]` | `letter-spacing` | `var(--_s-text-letter-spacing, var(--style-body-letter-spacing))` | | 6 | `s-text.css:17` | `[data-s-text]` | `color` | `var(--_s-text-color, var(--style-body-color))` | | 7 | `s-text.css:25` | `[data-s-text][data-style='prose']` | `font-family` | `var(--_s-text-font-family, var(--style-prose-font-family))` | | 8 | `s-text.css:26` | `[data-s-text][data-style='prose']` | `font-size` | `var(--_s-text-font-size, var(--style-prose-font-size))` | | 9 | `s-text.css:27` | `[data-s-text][data-style='prose']` | `font-weight` | `var(--_s-text-font-weight, var(--style-prose-font-weight))` | | 10 | `s-text.css:28` | `[data-s-text][data-style='prose']` | `line-height` | `var(--_s-text-line-height, var(--style-prose-line-height))` | | 11 | `s-text.css:29` | `[data-s-text][data-style='prose']` | `letter-spacing` | `var(--_s-text-letter-spacing, var(--style-prose-letter-spacing))` | | 12 | `s-text.css:30` | `[data-s-text][data-style='prose']` | `color` | `var(--_s-text-color, var(--style-prose-color))` | | 13 | `s-text.css:34` | `[data-s-text][data-style='label']` | `font-family` | `var(--_s-text-font-family, var(--style-label-font-family))` | | 14 | `s-text.css:35` | `[data-s-text][data-style='label']` | `font-size` | `var(--_s-text-font-size, var(--style-label-font-size))` | | 15 | `s-text.css:36` | `[data-s-text][data-style='label']` | `font-weight` | `var(--_s-text-font-weight, var(--style-label-font-weight))` | | 16 | `s-text.css:37` | `[data-s-text][data-style='label']` | `line-height` | `var(--_s-text-line-height, var(--style-label-line-height))` | | 17 | `s-text.css:38` | `[data-s-text][data-style='label']` | `letter-spacing` | `var(--_s-text-letter-spacing, var(--style-label-letter-spacing))` | | 18 | `s-text.css:39` | `[data-s-text][data-style='label']` | `color` | `var(--_s-text-color, var(--style-label-color))` | | 19 | `s-text.css:43` | `[data-s-text][data-style='caption']` | `font-family` | `var(--_s-text-font-family, var(--style-caption-font-family))` | | 20 | `s-text.css:44` | `[data-s-text][data-style='caption']` | `font-size` | `var(--_s-text-font-size, var(--style-caption-font-size))` | | 21 | `s-text.css:45` | `[data-s-text][data-style='caption']` | `font-weight` | `var(--_s-text-font-weight, var(--style-caption-font-weight))` | | 22 | `s-text.css:46` | `[data-s-text][data-style='caption']` | `line-height` | `var(--_s-text-line-height, var(--style-caption-line-height))` | | 23 | `s-text.css:47` | `[data-s-text][data-style='caption']` | `letter-spacing` | `var(--_s-text-letter-spacing, var(--style-caption-letter-spacing))` | | 24 | `s-text.css:48` | `[data-s-text][data-style='caption']` | `color` | `var(--_s-text-color, var(--style-caption-color))` | | 25 | `s-text.css:97` | `[data-s-text-clamp-hint]` | `font-family` | `var(--_s-text-font-family, var(--style-body-font-family))` | | 26 | `s-text.css:98` | `[data-s-text-clamp-hint]` | `font-size` | `var(--_s-text-font-size, var(--style-body-font-size))` | | 27 | `s-text.css:99` | `[data-s-text-clamp-hint]` | `line-height` | `var(--_s-text-line-height, var(--style-body-line-height))` | | 28 | `s-text.css:100` | `[data-s-text-clamp-hint]` | `letter-spacing` | `var(--_s-text-letter-spacing, var(--style-body-letter-spacing))` | ## 3. Privados de la receta — ¿de dónde sale su valor? | privado | declaraciones | valor(es) | origen | ¿deriva de un público? | | --- | ---: | --- | --- | :-: | | `--_s-text-color` | 1 | `var(--_s-text-palette-text)` | private | no | Consumidos y **no declarados en el CSS** (vienen de `base.ts` o de un estilo inline del wrapper): `--_s-text-align`, `--_s-text-clamp`, `--_s-text-font-family`, `--_s-text-font-size`, `--_s-text-font-weight`, `--_s-text-letter-spacing`, `--_s-text-line-height`, `--_s-text-palette-text`. ## 4. Propuesta de corrección _Nada que proponer: no hay knobs fuera de alcance._ ### 4.4 Lo que hay que comprobar a mano (PLAN-theming §1.3 · §7.4) - [ ] **Privado que no deriva de un público** — §3 lo marca; el privado debe leer el público o desaparecer. - [ ] **Velo o acento en el nodo equivocado** (`archetype: 'item'` en un envoltorio, un `background` en shorthand que mata la capa de estado) — se mide desde el píxel hacia arriba. - [ ] **Doble animación** al mover un sello a una superficie con animación propia — registro de `animationstart`/`animationend`. - [ ] **Diff de computed = 0** en reposo · hover · abierto · disabled · foco, por talla, antes y después. - [ ] **Centinela por token nuevo**: valor imposible en el root → el nodo lo sigue. Si no, el token miente. ## 5. Veredicto _(pendiente — lo escribe el autor; se conserva al regenerar)_