Overview of Typography
The Telerik and Kendo UI Design System provides a set of steps with predefined values for creating harmonious and yet logical usage inside of and between the components.
Note that along with typography, spacing is the other key element when building a component as spacing controls the negative area between the elements. For example, the height of the Button component is defined by the line height of its label and the vertical paddings.
Telerik and Kendo UI components inherit the system font family and also support the following set of alternative font families:
|Font families for text input|
|The font family across all components|
To style code snippets in your project, it is recommended to use the following monospace font families:
|Font families for monospaced text input—used for styling the code|
To achieve smooth and appealing transition between text styles, the Telerik and Kendo UI typography uses a fluid type scale based on the default font size.
Commonly, to render their content, the components use the Base text style with its ratio of 1,42. In this way, the controls have a height value that is an even number. However, the ratio increases in smaller sizes and decreases in larger ones, which creates not only a compact look-and-feel for the components, but also a well-defined hierarchy between their text elements.
Line height is crucial both for the visual differentiation and for the height of the component.
The height is defined by the top and bottom paddings (which are usually equal) and the line height of the typography style altogether. For example, small-sized buttons have smaller top and bottom paddings, and also use smaller typography styles with ratios that are different from the default ones in the medium size.
Depending on the usage of the typeface, the font weight also varies.
For display styles that are not used inside the components, the font weight is light (300). When it comes to the typography styles that are used inside the components, the preferable font weight is regular (400), because it provides optimal visual readability.
As the distinction between the body text and any smaller heading styles must be clear, they use bold font weight.