Typography Options
The Kendo UI for Angular Typography directive provides multiple options for styling UI elements. You can apply an appearance variant to the element, configure the font size and weight and the alignment and transformation of the text, and also change the theme color and control the margin.
Element Variants
The Typography provides default appearance classes for the <h1>
to <h6>
and <p>
elements. You can set these by using the variant
property.
Font Size
To set the font size of the element, use the fontSize
property.
Font Weight
To set the font weight of the element, use the fontWeight
property.
Text Alignment
To set the text alignment of the element, use the textAlign
property.
Text Transformation
To set the text transformation of the element, use the textTransform
property.
Theme Color
To set the color of the element, use the themeColor
property.
Margin
To set the margin of the element or its side margins, use the margin
property.