There are a number of styling choices for text elements. You can use them to apply font faces, increase or decrease
text size, make your text bold, etc.
You can use these classes to make your font smaller or larger. Absolute sizes may differ depending on the size of the display.
(For more information, see Standard Values – Font Sizes.)
Since all classes are root-size based, you can nest as many size declaration as you want
without causing unwanted multiplications, as would be the case with parent-relative sizes.
Font Weights
You can change the weight (or thickness) of your text by applying the font-bold,
font-semibold, or font-light classes.
If you want a previously bolded text to be displayed with normal font weight, use font-normal.
Font Styles
You can use these classes to make your text italic, strike it through, make all letters uppercase,
or capitalize each word.
Text Colors
There are a number of colors you can give your text, including signal colors for status information
and others to make the text either more or less visible.
Colors
These are the colors you can use.
Plain Colors
Regular
font-regular
Light gray
font-lightgray
White
font-white
Status Information
Confirmation
font-confirm
Information
font-info
Warning
font-warning
Error
font-error
CI Colors
Brand orange
font-brandorange
Line Heights
These classes will change the line height of the element. The line height determines how much whitespace there is
above and below the text within each line.
Cutting Off Text
When you need to make sure that a certain text takes up only one line, regardless of its length, you can use the
font-ellipsis class.
The text will be cut off at the end of the first line, and instead show an ellipsis (…) to indicate that more follows.