Valo

Typography

The system font stack is used by default: Segoe UI on Windows; Roboto on Android and Chrome OS; San Francisco on macOS and iOS; Ubuntu on Ubuntu Linux. On other systems, Helvetica, Arial are used as fallbacks.

Font size

The following font sizes are available to use. The default font size for most elements is --valo-font-size-m.

Global style modules

To easily apply basic typographic styles for your app, include the following style module in the global scope. It will set the font family, font size and line height for the body element, as well as specify consistent header styles (it doesn’t override header margins).

If needed, you can include the style module in any other style scopes (i.e. shadow roots) as well.

Custom properties

Font family
--valo-font-family
Font size
--valo-font-size-xxxl
--valo-font-size-xxl
--valo-font-size-xl
--valo-font-size-l
--valo-font-size-m
--valo-font-size-s
--valo-font-size-xs
Line-height
--valo-line-height
--valo-line-height-s
--valo-line-height-xs