Typeface

Sizes

Please use the naming for sizes from the first column. We are in the process of deprecating our naming from the second column to better align with Atlassian Design System.

sizesize (deprecated)font size remline heightfont size pxline height pxletter spacing px
body-smsmall0.75rem1.512px18pxcalc(0.6px - 0.05em)
body-mdmedium0.875rem1.614px22pxcalc(0.6px - 0.05em)
body-lglarge1.125rem1.4518px26pxcalc(0.6px - 0.05em)
heading-smxlarge1.5rem1.3524px32pxcalc(0.6px - 0.05em)
heading-mdxxlarge2rem1.232px38pxcalc(0.6px - 0.05em)
heading-lgxxxlarge3rem1.1548px55pxcalc(0.6px - 0.05em)

Weights

Medium is being introduced as a new weight for components and alongside icons. Book weight will be renamed as regular weight to match Atlassian Design System.

namevalue
book400
regular400
medium500
bold700

Semantic variants

Most text use cases can be covered by a specific variant.

variantsizefont weightusage
mainTitleheading-mdboldused for the main title in a view, this variant should be used only once per view
titlebody-lgboldused for titles
bodybody-mdbookused for body text

Color

Use body color as default text color. Use bodyDimmed color to de-emphasize text.

Line length

To improve legability, limit paragraph lines to 50 characters. Use CSS ch unit: <Container maxWidth="50ch">.

CSS helpers