@omni-design/components 0.14.27 → 0.14.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CLAUDE.md CHANGED
@@ -349,11 +349,13 @@ publish the same three styles under two names:
349
349
  | bold, one step down | `<Typography variant="subtitle-small">` | `--Subtitle-Small-Font-Weight` |
350
350
  | bold, one step up | `<SubtitleLarge>` | `--Subtitle-Large-Font-Weight` |
351
351
 
352
- Three things that bite when you make that swap:
352
+ Two things that bite when you make that swap, and one that no longer does:
353
353
 
354
- **Subtitle defaults to `--Header`, Body defaults to `--Text`.** Swapping `<Body>`
355
- for `<Subtitle>` to gain weight also changes the colour. Pass
356
- `color="standard"` to keep `--Text`.
354
+ **Subtitle and Body both default to `--Text`.** Subtitle used to default to
355
+ `--Header`, so swapping `<Body>` for `<Subtitle>` to gain weight also changed
356
+ the colour. It no longer does: Subtitle is body-sized, and body-sized text
357
+ needs 4.5:1 — `--Header` only promises the 3:1 that large text gets. Headings
358
+ (h1–h6, display) keep `--Header`.
357
359
 
358
360
  **`variant="body-bold"` is an alias, not a bold.** The `-bold` body keys still
359
361
  resolve so old markup doesn't break, but they land on the *semibold* style. If