Typography

Font Weight

Utilities for sets the font weight.


Variant

Active Checked Child-Selection Dark Mode Disabled Expand First-Last-Selection First-Letter Focus Focus-Visible Focus-Within Fullscreen Group-Focus Group-Hover Hover Landscape Light Mode Portrait Reduce-Motion Responsive Selection-Hover Visited

API

classcss
font-hairlinefont-weight: 100
Text
font-thinfont-weight: 200
Text
font-lightfont-weight: 300
Text
font-normalfont-weight: 400
Text
font-mediumfont-weight: 500
Text
font-semiboldfont-weight: 600
Text
font-boldfont-weight: 700
Text
font-extraboldfont-weight: 800
Text
font-blackfont-weight: 900
Text

Usage

Set font-weight to an element.

<div class="font-light">
...
</div>
HTML
.dummy {
@extend
.font-light;
}
SCSS

Set font-weight with Google Fonts. (See Font Family).

<div class="font-roboto font-light">
...
</div>
HTML
.dummy {
@extend
.font-roboto,
.font-light;
}
SCSS