Skip to main content

Text

Utilities to control the text

Colors

ClassProperties
text-primarycolor: var(--dash-color-primary)
text-secondarycolor: var(--dash-color-secondary)
text-whitecolor: var(--dash-color-white)
text-blackcolor: var(--dash-color-black)
text-graycolor: var(--dash-color-gray)
text-redcolor: var(--dash-color-red)
text-orangecolor: var(--dash-color-orange)
text-yellowcolor: var(--dash-color-yellow)
text-greencolor: var(--dash-color-green)
text-tealcolor: var(--dash-color-teal)
text-bluecolor: var(--dash-color-blue)
text-indigocolor: var(--dash-color-indigo)
text-cyancolor: var(--dash-color-cyan)
text-purplecolor: var(--dash-color-purple);
text-pinkcolor: var(--dash-color-pink);
text-nonecolor: transparent;

Sizes

ClassProperties
text-xsfont-size: var(--dash-size-xs);
text-smfont-size: var(--dash-size-sm);
text-mdfont-size: var(--dash-size-md);
text-lgfont-size: var(--dash-size-lg);
text-xlfont-size: var(--dash-size-xl);
text-2xlfont-size: var(--dash-size-2xl);
text-3xlfont-size: var(--dash-size-3xl);
text-4xlfont-size: var(--dash-size-4xl);
text-5xlfont-size: var(--dash-size-5xl);
text-6xlfont-size: var(--dash-size-6xl);
text-7xlfont-size: var(--dash-size-7xl);
text-8xlfont-size: var(--dash-size-8xl);
text-9xlfont-size: var(--dash-size-9xl);
text-fullfont-size: var(--dash-size-full);
text-screenfont-size: var(--dash-size-screen);

Variants

ClassProperties
text-normalfont-weight: var(--dash-font-weight-normal);
text-mediumfont-weight: var(--dash-font-weight-medium);
text-semiboldfont-weight: var(--dash-font-weight-semibold);
text-boldfont-weight: var(--dash-font-weight-bold);
text-extraboldfont-weight: var(--dash-font-weight-extrabold);
text-italicfont-style: italic
text-normalfont-weight: var(--dash-font-weight-normal);

Align

ClassProperties
text-centertext-align: center
text-lefttext-align: left
text-righttext-align: right
text-justifytext-align: justify

Decoration

ClassProperties
underlinetext-decoration: underline
line-throughtext-decoration: line-through
no-underlinetext-decoration: none

Transform

ClassProperties
capitalizetext-transform: capitalize;
uppercasetext-transform: uppercase;
lowercasetext-transform: lowercase;
ellipsistext-transform: ellipsis;