Typography

Depth

Utilities for sets the line height.


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
depth-noneline-height: 1
depth-tight-2line-height: 1.25
depth-tight-1line-height: 1.375
depth-normalline-height: 1.5
depth-loose-1line-height: 1.625
depth-loose-2line-height: 2
depth-loose-3line-height: .75rem
depth-loose-4line-height: 1rem
depth-loose-5line-height: 1.25rem
depth-loose-6line-height: 1.5rem
depth-loose-7line-height: 1.75rem
depth-loose-8line-height: 2rem
depth-loose-9line-height: 2.25rem
depth-loose-10line-height: 2.5rem

Usage

Lorem ipsum, dolor sit amet consectetur adipisicing elit.
depth-tight-2
Lorem ipsum, dolor sit amet consectetur adipisicing elit.
depth-loose-10
<div class="depth-tight-2">
Lorem ipsum, dolor sit amet consectetur adipisicing elit.
</div>
HTML
.dummy {
@extend
.depth-tight-2;
}
SCSS