Typography

We use Nunito Sans for all font styles, in all parts of the product. The typography tokens are divided in three groups (Heading, UI Text, and Body Text), some of them with subcategories (Regular, Bold, Label).

Overview

Usage

The following text styles are available as ready classes as well as mixins in your project. The classes and mixins are named as follows:

usln-[item type in hyphen case]-[size].

 

So for example to get a label text in size L, add this class to you HTML tag:


                                                        
                                                        
                                                            class="usln-ui-text-label-l"
                                                        
                                                            

 

If you want to use the styles in an SCSS stylesheet use the according mixin:


                                                        
                                                        
                                                            @include usln-ui-text-label-l;
                                                        
                                                            

 

Styles

Styles

Heading

Used for headlines and titles. The default size used for Portal main headlines is Heading M. For Modals, the default size is Heading S.

Heading

Ag
Heading / XXL
Nunito Sans ExtraBold 48px/60px
Ag
Heading / XL
Nunito Sans ExtraBold 40px/48px
Ag
Heading / L
Nunito Sans ExtraBold 32px/40px
Ag
Heading / M
Nunito Sans ExtraBold 28px/36px
Ag
Heading / S
Nunito Sans ExtraBold 24px/32px
Ag
Heading / XS
Nunito Sans ExtraBold 20px/24px
Ag
Heading / XXS
Nunito Sans ExtraBold 16px/20px

UI Text

Regular

Used in various UI elements and components. The most used size is L, present in the Dropdown buttons, Text input, and others.

UI Text / Regular

Ag
UI Text / Regular / L
Nunito Sans Regular 16px/20px
Ag
UI Text / Regular / M
Nunito Sans Regular 14px/16px
Ag
UI Text / Regular / S
Nunito Sans Regular 12px/16px

Bold

Used in many UI elements, especially when the text needs to be highlighted.

UI Text / Bold

Ag
Nunito Sans ExtraBold 16px/20px
L
Token set
-
Ag
Nunito Sans ExtraBold 14px/16px
M
Token set
-
Ag
Nunito Sans ExtraBold 12px/16px
S
Token set
-

Label

This font style is all caps, and used mainly in the button component. It's also used for links, and section titles. The most used size for the buttons is S.

UI Text / LABEL

Ag
Nunito Sans ExtraBold 16px/20px, upper
L
Token set
-
Ag
Nunito Sans ExtraBold 14px/16px, upper
M
Token set
-
Ag
Nunito Sans ExtraBold 12px/16px, upper
S
Token set
-

Body Text

Regular

Used for long texts, such as info boxes and messages. For info boxes we use the size M.

Body Text / Regular

Ag
Nunito Sans Regular 16px/24px
L
Token set
-
Ag
Nunito Sans Regular 14px/20px
M
Token set
-
Ag
Nunito Sans Regular 12px/18px
S
Token set
-

Bold

Used to highlight parts of long texts. Always use the size that matches the rest of the text.

Body Text / Bold

Ag
Nunito Sans Bold 16px/24px
L
Token set
-
Ag
Nunito Sans Bold 14px/20px
M
Token set
-
Ag
Nunito Sans Bold 12px/18px
S
Token set
-