Skip to content

Token Reference

All tokens are Tailwind CSS-compatible. Most can be accessed via string lookups (tw.bg('blue-500')) without importing.

22 palettes, each with shades 50-950. Import: import { blue } from 'typewritingclass/theme/colors'

Neutrals: slate, gray, zinc, neutral, stone

Colors: red, orange, amber, yellow, lime, green, emerald, teal, cyan, sky, blue, indigo, violet, purple, fuchsia, pink, rose

Standalone: white (#ffffff), black (#000000), transparent, currentColor

Each unit = 0.25rem. Key values:

ScaleValueScaleValueScaleValue
00px41rem164rem
10.25rem61.5rem246rem
20.5rem82rem328rem
30.75rem123rem6416rem
Text SizeFont SizeLine Height
xs0.75rem1rem
sm0.875rem1.25rem
base1rem1.5rem
lg1.125rem1.75rem
xl1.25rem1.75rem
_2xl1.5rem2rem
_3xl1.875rem2.25rem
_4xl2.25rem2.5rem

Font weights: thin (100), extralight (200), light (300), normal (400), medium (500), semibold (600), bold (700), extrabold (800)

TokenDescription
smSubtle
DEFAULTStandard
mdMedium
lgPronounced
xlHeavy
_2xlDramatic
innerInset
noneRemoves shadow
TokenValue
none0px
sm0.125rem
DEFAULT0.25rem
md0.375rem
lg0.5rem
xl0.75rem
_2xl1rem
_3xl1.5rem
full9999px
TokenValue
full100%
screen100vw
screenH100vh
minmin-content
maxmax-content
fitfit-content
autoauto