gray
radius
Tokens

Spacing, radius, type

Everything measurable is keyed by pixels. A design says 16 and the code says 16, with nothing to translate.

Spacing

Keyed by pixels. A design says 16 and the code says 16.

spacing[0]0px
spacing[1]1px
spacing[2]2px
spacing[4]4px
spacing[6]6px
spacing[8]8px
spacing[10]10px
spacing[12]12px
spacing[14]14px
spacing[16]16px
spacing[18]18px
spacing[20]20px
spacing[24]24px
spacing[28]28px
spacing[32]32px
spacing[36]36px
spacing[40]40px
spacing[44]44px
spacing[48]48px
spacing[56]56px
spacing[64]64px
0 is a token for the same reason the rest are. Without it padding: 0 has to be a raw value, which is exactly the escape hatch a scale exists to close.

Radius

Also pixels, plus two names that are not measurements: half is the roundest a square can be at any size, full is a pill at any height. These swatches are pinned to the medium scale, so they keep showing the values the scale defines while the radius dial moves everything else.

borderRadius[0]0px
borderRadius[2]2px
borderRadius[4]4px
borderRadius[6]6px
borderRadius[8]8px
borderRadius[10]10px
borderRadius[12]12px
borderRadius[16]16px
borderRadius[24]24px
borderRadius[36]36px
borderRadius.half50%
borderRadius.full999px

Type

Fourteen sizes and four weights, keyed the same way. Text and Heading pair them with line heights.

fontSize[12]12pxDesign system
fontSize[13]13pxDesign system
fontSize[14]14pxDesign system
fontSize[15]15pxDesign system
fontSize[16]16pxDesign system
fontSize[17]17pxDesign system
fontSize[18]18pxDesign system
fontSize[20]20pxDesign system
fontSize[22]22pxDesign system
fontSize[24]24pxDesign system
fontSize[28]28pxDesign system
fontSize[34]34pxDesign system
fontSize[40]40pxDesign system
fontSize[60]60pxDesign system

Font family

Three faces. The token names them; loading them is the application's job.

fontFamily.mainDesign system
Design System
0123
fontFamily.serifDesign system
Design System
0123
fontFamily.monoDesign system
Design System
0123
fontFamily.main // 'Pretendard', 'Pretendard Variable', 'Noto Sans KR', system-ui, sans-serif
fontFamily.serif // 'Pretendard Serif', 'Nanum Myeongjo', 'Apple SD Gothic Neo', Georgia, 'Times New Roman', serif
fontFamily.mono // 'SFMono-Regular', ui-monospace, 'SF Mono', Menlo, Consolas, monospace
The token names the face; fetching it is the application's job, the same way Tailwind names font-sans and leaves the @font-face to you. This site loads Pretendard from a CDN in its own layout.tsx.