You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
93 lines
6.0 KiB
93 lines
6.0 KiB
# 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-25 · **Alcance**: **—** — 0 de 0 knobs por token público
|
|
- **Knobs de apariencia**: 24 — público 0 · privado 0 · global 0 · literal 0 · sistema 24 · excepción 0 · estructural 0 · puente 0 · canal 0 _(los cinco últimos, fuera del ratio)_
|
|
- **Contrato hoy** (`lib/recipes/base.ts`): 0 pública(s) · 1 privada(s) forward — `_palette-text`
|
|
- **Eje `size`**: no · **ficheros**: `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: <razón> */` 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 (24) — 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 | `text.css:17` | `[data-text]` | `font-family` | `var(--_text-font-family, var(--style-body-font-family))` |
|
|
| 2 | `text.css:18` | `[data-text]` | `font-size` | `var(--_text-font-size, var(--style-body-font-size))` |
|
|
| 3 | `text.css:19` | `[data-text]` | `font-weight` | `var(--_text-font-weight, var(--style-body-font-weight))` |
|
|
| 4 | `text.css:20` | `[data-text]` | `line-height` | `var(--_text-line-height, var(--style-body-line-height))` |
|
|
| 5 | `text.css:21` | `[data-text]` | `letter-spacing` | `var(--_text-letter-spacing, var(--style-body-letter-spacing))` |
|
|
| 6 | `text.css:22` | `[data-text]` | `color` | `var(--_text-color, var(--style-body-color))` |
|
|
| 7 | `text.css:49` | `[data-text][data-style='prose']` | `font-family` | `var(--_text-font-family, var(--style-prose-font-family))` |
|
|
| 8 | `text.css:50` | `[data-text][data-style='prose']` | `font-size` | `var(--_text-font-size, var(--style-prose-font-size))` |
|
|
| 9 | `text.css:51` | `[data-text][data-style='prose']` | `font-weight` | `var(--_text-font-weight, var(--style-prose-font-weight))` |
|
|
| 10 | `text.css:52` | `[data-text][data-style='prose']` | `line-height` | `var(--_text-line-height, var(--style-prose-line-height))` |
|
|
| 11 | `text.css:53` | `[data-text][data-style='prose']` | `letter-spacing` | `var(--_text-letter-spacing, var(--style-prose-letter-spacing))` |
|
|
| 12 | `text.css:54` | `[data-text][data-style='prose']` | `color` | `var(--_text-color, var(--style-prose-color))` |
|
|
| 13 | `text.css:59` | `[data-text][data-style='label']` | `font-family` | `var(--_text-font-family, var(--style-label-font-family))` |
|
|
| 14 | `text.css:60` | `[data-text][data-style='label']` | `font-size` | `var(--_text-font-size, var(--style-label-font-size))` |
|
|
| 15 | `text.css:61` | `[data-text][data-style='label']` | `font-weight` | `var(--_text-font-weight, var(--style-label-font-weight))` |
|
|
| 16 | `text.css:62` | `[data-text][data-style='label']` | `line-height` | `var(--_text-line-height, var(--style-label-line-height))` |
|
|
| 17 | `text.css:63` | `[data-text][data-style='label']` | `letter-spacing` | `var(--_text-letter-spacing, var(--style-label-letter-spacing))` |
|
|
| 18 | `text.css:64` | `[data-text][data-style='label']` | `color` | `var(--_text-color, var(--style-label-color))` |
|
|
| 19 | `text.css:69` | `[data-text][data-style='caption']` | `font-family` | `var(--_text-font-family, var(--style-caption-font-family))` |
|
|
| 20 | `text.css:70` | `[data-text][data-style='caption']` | `font-size` | `var(--_text-font-size, var(--style-caption-font-size))` |
|
|
| 21 | `text.css:71` | `[data-text][data-style='caption']` | `font-weight` | `var(--_text-font-weight, var(--style-caption-font-weight))` |
|
|
| 22 | `text.css:72` | `[data-text][data-style='caption']` | `line-height` | `var(--_text-line-height, var(--style-caption-line-height))` |
|
|
| 23 | `text.css:73` | `[data-text][data-style='caption']` | `letter-spacing` | `var(--_text-letter-spacing, var(--style-caption-letter-spacing))` |
|
|
| 24 | `text.css:74` | `[data-text][data-style='caption']` | `color` | `var(--_text-color, var(--style-caption-color))` |
|
|
|
|
## 3. Privados de la receta — ¿de dónde sale su valor?
|
|
|
|
| privado | declaraciones | valor(es) | origen | ¿deriva de un público? |
|
|
| --- | ---: | --- | --- | :-: |
|
|
| `--_text-color` | 1 | `var(--_text-palette-text)` | private | no |
|
|
|
|
Consumidos y **no declarados en el CSS** (vienen de `base.ts` o de un estilo inline del wrapper): `--_text-align`, `--_text-clamp`, `--_text-font-family`, `--_text-font-feature`, `--_text-font-size`, `--_text-font-weight`, `--_text-letter-spacing`, `--_text-line-height`, `--_text-measure`, `--_text-palette-text`, `--_text-variation`, `--_text-wrap`.
|
|
|
|
## 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
|
|
|
|
<!-- veredicto:start -->
|
|
|
|
_(pendiente — lo escribe el autor; se conserva al regenerar)_
|
|
|
|
<!-- veredicto:end -->
|