Typography section of Toolabs DSM lets you define Fonts, Typescale, and Spacings, which are then used to construct Text Patterns, which are styles to be applied to text elements in designs.
➥ Remember that all of these elements are themeable. For example, you can use different fonts and/or typescales for mobile, light or dark themes, or any other theme you define in your design system.
Fonts
➥ Font vs Typeface: Although these two terms are used interchangeably, typeface is the design/style of the letters, where font is a specific weight of that typeface. Font tokens in Toolabs are defined with this distinction in mind and therefore applying a font token to a text item is enough to style it.
These are the fonts that you can expect to already be installed on most devices and browsers. Using a web safe font will remove the loading impact of using a custom font for your web page.
Google Fonts
These web fonts are provided and hosted by Google free of charge.
Toolabs DSM provides a similar interface for filtering, searching, and previewing fonts as with Google Fonts web page.
Custom Font Files
You can upload .woff, .woff2, .ttf font files which are not larger than 10MB!
➥ In case of a problem with loading the font you chose, you should define a font stack for each font token. Font stacks tell the browser to use an alternative font that is available in the system and is similar to the font you requested. You can check cssfontstack.com to find the suitable font stack for your font family.
Typescale and Spacing
By default, your design system is initialized with a base font size of 16px and a typescale ratio of 1.2 (Minor Third). Check the section for Modular Scales to see how to customize your typescale definition.
a
a
a
a
a
a
a
a
a
a
13
16
19
23
28
33
40
48
57
69
Line height, letter spacing, and word spacing properties can be defined globally for all text patterns or they can be overridden for each individual text pattern.
Text Patterns
Here are some good articles on modular typescales for further reading :