Customizing Typography

The following table lists the available variables for customization.

Name Type Default value Computed value
$font-size 14px 14px
Description
Base font size across all components.
$font-family inherit inherit
Description
Font family across all components.
$font-family-monospace SFMono-Regular, Menlo, Monaco, Consolas, "Roboto Mono", "Ubuntu Mono", "Lucida Console", "Courier New", monospace SFMono-Regular, Menlo, Monaco, Consolas, "Roboto Mono", "Ubuntu Mono", "Lucida Console", "Courier New", monospace
Description
Font family for monospaced text. Used for styling the code.
$line-height (20 / 14) (20 / 14)
Description
Line height used along with $font-size.

In this article