The chai-text-* family is one of the more overloaded namespaces — it handles alignment , size , and color depending on what comes after the dash. Static rules are checked first, so text-left/center/right/justify always win their token.
Font size
Class CSS chai-text-xsfont-size: 12pxchai-text-smfont-size: 14pxchai-text-basefont-size: 16pxchai-text-lgfont-size: 18pxchai-text-xlfont-size: 20pxchai-text-2xlfont-size: 24pxchai-text-3xlfont-size: 30pxchai-text-4xlfont-size: 36pxchai-text-5xlfont-size: 48pxchai-text-6xlfont-size: 60pxchai-text-7xlfont-size: 72pxchai-text-8xlfont-size: 96pxchai-text-9xlfont-size: 128pxchai-text-[42px]font-size: 42px
Alignment
Class CSS chai-text-lefttext-align: leftchai-text-centertext-align: centerchai-text-righttext-align: rightchai-text-justifytext-align: justify
Color
chai-text-{color} — see Colors . Examples:
< p class = " chai-text-chai-700 " > steeped </ p >
< p class = " chai-text-[#1a1a1a] " > arbitrary </ p >
Weight
Class CSS chai-font-thinfont-weight: 100chai-font-lightfont-weight: 300chai-font-normalfont-weight: 400chai-font-mediumfont-weight: 500chai-font-semiboldfont-weight: 600chai-font-boldfont-weight: 700chai-font-blackfont-weight: 900chai-font-500font-weight: 500 (numeric)
Family
Class CSS chai-font-sansfont-family: ui-sans-serif, system-ui, sans-serifchai-font-seriffont-family: ui-serif, Georgia, serifchai-font-monofont-family: ui-monospace, ...
Line height
Class CSS chai-leading-noneline-height: 1chai-leading-tightline-height: 1.25chai-leading-snugline-height: 1.375chai-leading-normalline-height: 1.5chai-leading-relaxedline-height: 1.625chai-leading-looseline-height: 2chai-leading-[1.7]line-height: 1.7chai-leading-24line-height: 24px
Letter spacing
Class CSS chai-tracking-tighterletter-spacing: -0.05emchai-tracking-tightletter-spacing: -0.025emchai-tracking-normalletter-spacing: 0chai-tracking-wideletter-spacing: 0.025emchai-tracking-widerletter-spacing: 0.05emchai-tracking-widestletter-spacing: 0.1em
Decoration & style
Class CSS chai-italicfont-style: italicchai-not-italicfont-style: normalchai-underlinetext-decoration-line: underlinechai-line-throughtext-decoration-line: line-throughchai-no-underlinetext-decoration-line: none
Casing
Class CSS chai-uppercasetext-transform: uppercasechai-lowercasetext-transform: lowercasechai-capitalizetext-transform: capitalizechai-normal-casetext-transform: none
Truncation
Class CSS chai-truncateoverflow: hidden; text-overflow: ellipsis; white-space: nowrap