Lumo Typography
You can use these CSS Custom Properties to apply consistent typographic styles across your application.
Importing
Import the custom properties before using them in your style sheets.
import '@vaadin/vaadin-lumo-styles/typography';
Font Family
The system font stack is used by default:
Segoe UI on Windows
Roboto on Android and Chrome OS
San Francisco on macOS, iOS, and iPadOS
On other systems, Helvetica and Arial are used as fallbacks.
Description | CSS Custom Property |
---|---|
Main font | : |
Font Size
The following font sizes are available to use. M is the standard size, and is used by most elements by default.
Description | CSS Custom Property |
---|---|
XXXL | : |
XXL | : |
XL | : |
L | : |
M | : |
S | : |
XS | : |
XXS | : |