Typography

Two families, one scale of sizes and a separate scale for controls. The second one exists because a button and a paragraph do not share a rhythm: text is read, a control is aimed at, and their sizes answer different questions.

Typography: font families

TokenValue
--gr-font-ui--gr-font-uiInter, Roboto, system-ui, -apple-system, Segoe UI, Arial, sans-serif
--gr-font-mono--gr-font-mono'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', monospace

Typography: font sizes

TokenValue
--gr-text-2xs--gr-text-2xs10px
--gr-text-xs--gr-text-xs12px
--gr-text-sm--gr-text-sm14px
--gr-text-base--gr-text-base16px
--gr-text-lg--gr-text-lg18px
--gr-text-xl--gr-text-xl20px
--gr-text-2xl--gr-text-2xl24px
--gr-text-3xl--gr-text-3xl30px
--gr-text-4xl--gr-text-4xl36px

Typography: control scale

TokenValue
--gr-control-text-3xs--gr-control-text-3xs10px
--gr-control-text-2xs--gr-control-text-2xs11px
--gr-control-text-xs--gr-control-text-xs12px
--gr-control-text-sm--gr-control-text-sm13px
--gr-control-text-md--gr-control-text-md14px
--gr-control-text-lg--gr-control-text-lg16px

Typography: line heights

TokenValue
--gr-leading-2xs--gr-leading-2xs0.875rem
--gr-leading-xs--gr-leading-xs1rem
--gr-leading-sm--gr-leading-sm1.25rem
--gr-leading-base--gr-leading-base1.5rem
--gr-leading-lg--gr-leading-lg1.625rem
--gr-leading-xl--gr-leading-xl1.75rem
--gr-leading-3xl--gr-leading-3xl2.25rem
--gr-control-leading-3xs--gr-control-leading-3xs14px
--gr-control-leading-2xs--gr-control-leading-2xs16px
--gr-control-leading-xs--gr-control-leading-xs16px
--gr-control-leading-sm--gr-control-leading-sm18px
--gr-control-leading-md--gr-control-leading-md20px
--gr-control-leading-lg--gr-control-leading-lg24px
--gr-leading-tight--gr-leading-tight1.25
--gr-leading-normal--gr-leading-normal1.5
--gr-leading-relaxed--gr-leading-relaxed1.625

Typography: font weights

TokenValue
--gr-font-regular--gr-font-regular400
--gr-font-medium--gr-font-medium500
--gr-font-semibold--gr-font-semibold600
--gr-font-bold--gr-font-bold700

Role descriptions ship with the package in Russian and are not shown here yet. Translating them is a decision of its own — see ADR-0003.

Source: @feugene/granularity 0.41.0, tokens/*.json