GC Design System Components Installation Page templates Contact us Get involved Find a demo GC Design System Styles

Typography tokens

Typography tokens include the style, arrangement, and appearance of letters, numbers, and symbols.

Typography and accessibility

GC Design System components meet level AA of the Web Content Accessibility Guidelines (WCAG 2.1) for text spacing and AAA for visual presentation.

Vertical rhythm and rem spacing sizes

GC Design System typography spacing is based on vertical rhythm and calculated with the help of a base size.

Vertical rhythm aligns text to evenly spaced horizontal lines in repeated patterns. Consistent vertical spacing helps make content easier to scan, read, and understand. Spacing sizes are configured with rem units. All spacing sizes are relative to a base size of 1.25rem (20px) and what we use to calculate all typography and spacing values.

Global typography tokens

Headings

Heading tags for headings and subheadings give a page structure, organize content. They also support navigation, especially for people using assistive technology.

PreviewToken nameValue
Heading 1 --gcds-font-h1700 2.56rem/117% 'Lato', sans-serif
Heading 2 --gcds-font-h2700 2.44rem/123% 'Lato', sans-serif
Heading 3 --gcds-font-h3700 1.81rem/137% 'Lato', sans-serif
Heading 4 --gcds-font-h4700 1.69rem/133% 'Lato', sans-serif
Heading 5 --gcds-font-h5700 1.5rem/133% 'Lato', sans-serif
Heading 6 --gcds-font-h6700 1.38rem/145% 'Lato', sans-serif

Note: The font property is a shorthand property for font-weight, font-size/line-height, font-family.

Text

PreviewToken nameValue
Text --gcds-font-text400 1.25rem/160% 'Noto Sans', sans-serif
Text small --gcds-font-text-small400 1.13rem/155% 'Noto Sans', sans-serif

Font families

Headings use the font "Lato". Paragraphs and other text use the font "Noto Sans".

The font family contains fallback values. The fallback is a substitute value for font families only in case the font is not available.

PreviewToken nameValue
Heading --gcds-font-families-heading'Lato', sans-serif
Text --gcds-font-families-body'Noto Sans', sans-serif
Monospace --gcds-font-families-monospace'Noto Sans Mono', monospace
icons --gcds-font-families-icons'gcds-icons'

Font weights

PreviewToken nameValue
Light --gcds-font-weights-light300
Regular --gcds-font-weights-regular400
Medium --gcds-font-weights-medium500
Semibold --gcds-font-weights-semibold600
Bold --gcds-font-weights-bold700

Bold text

Italics


Help us improve

Have questions or a request? Give feedback on our contact form.

Something's wrong? Raise it through GitHub with an account. You'll have access to the team's direct responses, progress made on your issue, and issues raised by others.

Give feedback Report an issue on GitHub

2025-03-10