Skip to main content
cngx-src documentation

CngxTextScaleValue

Type Aliascore/theming

projects/core/theming/text-scale.ts

Description#

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.

Definition#

"sm" | "md" | "lg"