projects/core/theming/text-scale.ts
The three text-scale rungs the [data-text-size] swap ships (text-scale-tokens.css). md is the library default (multiplier 1, identity); sm and lg re-scale --cngx-font-scale so every root-relative font-size shrinks or grows for the subtree.
[data-text-size]
text-scale-tokens.css
md
1
sm
lg
--cngx-font-scale
font-size
"sm" | "md" | "lg"