Tokens are at the core of the design system, they are applied throughout both design and development assets.
Tokens store design decisions within the foundations, which enables a scalable and consistent system design.
Spacing is used for margins, paddings, borders and various types of positioning. Spacing is essential to create appropriate relationships between elements.
View the defined Spacing token
The padding token extends the Spacing by adding a 0 value and changing the default to 0.
The Border Width token contains 3 border sizes. View the defined Border Width token
The Border Color token contains colours only available from our foundation Colours which maps to both light and dark modes. Border Color includes the Border colour swatches, utility colours and the status colours.
These colours meet the accessibility contrast requirements against the defined background colour swatches.
The Border Style token contains 3 values: solid, dashed and dotted.
The Border Radius token contains 3 border radius sizes. View the defined Border Radius token
The Color token for text considers the accessibility contrast requirements and allows colour swatches that pass the contrast requirement when applied on the defined background swatches - the exception is brand colours where certain brand colours can only be used on inversed background swatches.
Colours include the Brand swatches, content swatches, utility, interactive and selected swatches. View Colours for the various swatches available
These colours meet the non text contrast requirements and contain all the Colour Text tokens along with status colours and border form.
Contains Colour Non Text and the default changes default: 'currentColor'.
Contains Color Icon along with white and black keys.
The Background Color token contains the Background surface shades which can be paired with colours defined in the Colour and Colour Non Text tokens. Additionally the brand colours and background shades of the status colours are included in this token. See View Background Colours for the various swatches available.
Contains the background, secondary and tertiary shade along with a default of: 'inherit'.
Contains the Background Colour Table shades along with selected-primary-background: 'var(--selected-primary-background)'.
The Box Shadow token help apply elevation to containers, it contains 4 sizes.
The Data Visualisation Colour token contains the colours to be used with data visaulisations, they can be used as text or background colours for text. See Colours for these swatches.
The Data Visualisation Background Colour token contains the colours to be as backgrounds with data visaulisations, they can be used to support text colours. See Colours for these swatches.
The Data Visualisation Text Colour token contains the colours to be used as text with data visaulisations, they can be used as text across and background shade. See Colours for these swatches.
The Font Family token contains two values: plain and heading both of which are mapped to the font 'Work Sans'.
The Font Weight token contains four values and is defined at Font Weight values.
The Font Size token is mapped to the typographic scale.
The Line Height token contains four values and is defined at Line Height values.
The Heading Level token is mapped to the heading scale.
The Component Font Size contains 3 values: small - 14px, medium (default) - 16px and large - 18px - these sizes are applied throughout the components and patterns.
The Button Font Size contains the Component Font Size along with an extra large size at 24px - these sizes are applied to Button, IconButton and Tabs components.
The Width token contains spacing tokens --s2, --s3, --s4, --s5, --s6, --s7, --s8 and percentage values 10%, 15%, 20%, 25%, 30%, 33%, 35%, 40%, 45%, 50%, 55%, 60%, 65%, 70%, 75%, 80%, 85%, 90% and 100% and auto as the default. Available within Table, TitleValuePair, Box, GridCell and ClusterLayout.
The Form Width token contains defined widths based on specific characters. See Sizing for form width tokens.
The Minimum Width token is mapped to the responsive minimum widths.
The Maximum Width token is mapped to the responsive maximum widths and along with 40ch, 65ch, 80ch which are max width of characters at 40, 65 and 80.
Combines the Width and Minimum Width tokensw.
Combines the Width and Maximum Width tokens.
For all form components that utilise the FormStack component the default spacing value is '--s-2'.