Skip to main content

Interface: FontSizes

Font size definitions for typography system.

FontSizes defines the standard text sizes used throughout the interface, establishing a consistent typographic scale. Using predefined sizes rather than arbitrary values ensures visual harmony and proper hierarchy.

A well-structured typographic scale improves readability and creates predictable relationships between different text elements.

Properties​

base​

base: string

Root font size that serves as the basis for relative sizing


header: string

Size for small texts at headers etc.

Deprecated​

use smaller instead


regular​

regular: string

Size for standard body text and general interface content


small​

small: string

Size for smaller supporting text, labels, and captions


smaller​

smaller: string

Size for small texts at headers etc.


title​

title: string

Size for titles or slightly bigger texts like dialog title