Typography

Optimized typographic scale presents the design and content clearly and efficiently.

Too many type sizes and styles at once can spoil any layout. A typographic scale has a limited set of type sizes that work well together along with the layout grid.

Design System Font

The Unifi Design System font is Open Sans and will not be automatically loaded by the library. You are responsible for loading all fonts used in your application.

Open Sans is freely available via Google Fonts.

Here is a sample of how to load Open Sans via the link method with required font weights:

<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600&display=swap">

Samples

Heading title styles can be applied to other elements using the class format of .u-typography--[level] such as .u-typography--h2.

Typography Ink Palette

Apply contextual "ink" colors from the palette with utility classes such as the following. Review the full range of options in the Unifi Web Theming documentation.

Properties