Design

Fonts

The default fonts we use are Inter for regular text and JetBrains Mono for monospace text.

CSS variables

Font sizes are defined in a 12-step scale from smallest to largest.

NameValue
--font-size-112px
--font-size-214px
--font-size-316px
--font-size-418px
--font-size-520px
--font-size-624px
--font-size-730px
--font-size-836px
--font-size-948px
--font-size-1060px
--font-size-1172px
--font-size-1296px

Font weights are defined as light, regular, medium and bold.

NameValue
--font-weight-thin100
--font-weight-extra-light200
--font-weight-light300
--font-weight-regular400
--font-weight-medium500
--font-weight-semi-bold600
--font-weight-bold700
--font-weight-extra-bold800
--font-weight-black900

Component props

NameValue
sizeResponsive<"1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9">
weightResponsive<"light" | "normal" | "medium" | "bold">