# Tokens

Every value in the system, with the Tailwind utility it gives. Generated from tokens/.

## Colours (Figma collection Color)

| Name | Figma | HEX | CMYK | Utility | Use |
| --- | --- | --- | --- | --- | --- |
| Flare | brand/flare | #DB052C | 0 97 79 6 | bg-brand-flare | Brand red. Logo only. |
| White | neutral/0 | #FFFFFF | 0 0 0 0 | bg-neutral-0 |  |
| Snow | neutral/50 | #F4F4F4 | 0 0 0 6 | bg-neutral-50 |  |
| Mist | neutral/200 | #E0E0E0 | 0 0 0 17 | bg-neutral-200 |  |
| Ash | neutral/300 | #B3B5B7 | 0 0 0 39 | bg-neutral-300 |  |
| Stone | neutral/500 | #707071 | 0 0 0 70 | bg-neutral-500 |  |
| Charcoal | neutral/600 | #575756 | 0 0 0 80 | bg-neutral-600 |  |
| Ink | neutral/900 | #020203 | 55 45 30 100 | bg-neutral-900 | Rich black; 0 0 0 100 for small text in print. |
| Shell | red/200 | #DDCDC4 | 16 20 23 0 | bg-red-200 | Light ground. Ink text; buttons solid/outlined in Ink. |
| Rust | red/500 | #8C6F6D | 43 52 46 21 | bg-red-500 | Mid tone, secondary use. Ink text on it; usable as text on White for headings, labels, short lines. |
| Brick | red/900 | #56322B | 54 79 74 54 | bg-red-900 | Dark ground. White text; buttons solid/outlined in White. |
| Ecru | brown/200 | #EDE6D9 | 9 9 16 0 | bg-brown-200 | Light ground. Ink text; buttons solid/outlined in Ink. |
| Clay | brown/500 | #81736F | 48 47 47 21 | bg-brown-500 | Mid tone, secondary use. Ink text on it; usable as text on White for headings, labels, short lines. |
| Espresso | brown/900 | #3B2C27 | 63 71 69 66 | bg-brown-900 | Dark ground. White text; buttons solid/outlined in White. |
| Straw | tan/200 | #E3D9BA | 14 13 31 0 | bg-tan-200 | Light ground. Ink text; buttons solid/outlined in Ink. |
| Camel | tan/500 | #817464 | 48 46 56 21 | bg-tan-500 | Mid tone, secondary use. Ink text on it; usable as text on White for headings, labels, short lines. |
| Tobacco | tan/900 | #4C3C2E | 63 66 76 53 | bg-tan-900 | Dark ground. White text; buttons solid/outlined in White. |
| Khaki | khaki/200 | #C8C5B1 | 27 19 33 0 | bg-khaki-200 | Light ground. Ink text; buttons solid/outlined in Ink. |
| Reed | khaki/500 | #787667 | 52 43 55 22 | bg-khaki-500 | Mid tone, secondary use. Ink text on it; usable as text on White for headings, labels, short lines. |
| Olive | khaki/900 | #403E2C | 71 60 80 55 | bg-khaki-900 | Dark ground. White text; buttons solid/outlined in White. |
| Sage | green/200 | #D7DECB | 19 9 24 0 | bg-green-200 | Light ground. Ink text; buttons solid/outlined in Ink. |
| Moss | green/500 | #6A7A70 | 57 36 49 24 | bg-green-500 | Mid tone, secondary use. Ink text on it; usable as text on White for headings, labels, short lines. |
| Forest | green/900 | #1F2E25 | 80 55 73 71 | bg-green-900 | Dark ground. White text; buttons solid/outlined in White. |
| Seafoam | teal/200 | #C0DADB | 29 7 15 0 | bg-teal-200 | Light ground. Ink text; buttons solid/outlined in Ink. |
| Teal | teal/500 | #66797E | 59 37 38 24 | bg-teal-500 | Mid tone, secondary use. Ink text on it; usable as text on White for headings, labels, short lines. |
| Petrol | teal/900 | #213A3E | 85 54 53 60 | bg-teal-900 | Dark ground. White text; buttons solid/outlined in White. |
| Sky | blue/200 | #BDCBD8 | 31 15 12 0 | bg-blue-200 | Light ground. Ink text; buttons solid/outlined in Ink. |
| Denim | blue/500 | #717685 | 55 44 31 22 | bg-blue-500 | Mid tone, secondary use. Ink text on it; usable as text on White for headings, labels, short lines. |
| Navy | blue/900 | #2B3349 | 79 61 27 63 | bg-blue-900 | Dark ground. White text; buttons solid/outlined in White. |
| Lilac | purple/200 | #DFCFD8 | 14 21 11 0 | bg-purple-200 | Light ground. Ink text; buttons solid/outlined in Ink. |
| Heather | purple/500 | #81727A | 48 49 38 21 | bg-purple-500 | Mid tone, secondary use. Ink text on it; usable as text on White for headings, labels, short lines. |
| Aubergine | purple/900 | #3A2732 | 62 76 45 69 | bg-purple-900 | Dark ground. White text; buttons solid/outlined in White. |

## Theme (Figma collection Theme, modes Light and Dark)

Components use these. Set data-theme="dark" on a container to switch everything inside it.

| Figma | Light | Dark | Utility | Note |
| --- | --- | --- | --- | --- |
| surface/base | palette/light | palette/dark | bg-surface-base |  |
| surface/glass | #0202030d | #ffffff1a | bg-surface-glass | Glass behind a utility button, with a 10 px background blur. Light: Ink at 5 %. Dark: White at 10 %. |
| text/default | neutral/900 | neutral/0 | bg-text-default |  |
| text/muted | neutral/600 | neutral/300 | bg-text-muted |  |
| text/weak | neutral/300 | neutral/600 | bg-text-weak |  |
| button/solid/fill | neutral/900 | neutral/0 | bg-button-solid-fill |  |
| button/solid/text | neutral/0 | neutral/900 | bg-button-solid-text |  |
| button/outline/stroke | neutral/900 | neutral/0 | bg-button-outline-stroke |  |
| button/outline/text | neutral/900 | neutral/0 | bg-button-outline-text |  |
| border/default | neutral/200 | neutral/600 | bg-border-default |  |
| packshot/fill | neutral/50 | neutral/50 | bg-packshot-fill | Packshots always sit on Snow, in both modes. |
| type/weight/body | 450px | 400px | font-body | Font weight. Light 450, Dark 400: text is set about 50 lighter on dark backgrounds to keep the same visual weight. |
| type/weight/button | 500px | 500px | font-button | Font weight. Light 600, Dark 550: text is set about 50 lighter on dark backgrounds to keep the same visual weight. |
| type/weight/heading | 700px | 650px | font-heading | Font weight. Light 700, Dark 650: text is set about 50 lighter on dark backgrounds to keep the same visual weight. |
| icon/weight/sm | 1.333px | 1.333px | var(--icon-weight-sm) |  |
| icon/weight/md | 1.5px | 1.5px | var(--icon-weight-md) |  |

## Text styles

One utility per style. It sets family, weight, size and line height together.

| Figma | Utility | Size/line | Weight | Family | Use |
| --- | --- | --- | --- | --- | --- |
| Body/xs | type-body-xs | 10px/12px | 450 | Momo Trust Sans |  |
| Body/sm | type-body-sm | 13px/16px | 450 | Momo Trust Sans |  |
| Body/md | type-body-md | 16px/20px | 450 | Momo Trust Sans | The default on screen. Every other size steps out from it. |
| Body/lg | type-body-lg | 24px/28px | 450 | Momo Trust Sans |  |
| Heading/sm | type-heading-sm | 13px/16px | 700 | Momo Trust Sans |  |
| Heading/md | type-heading-md | 16px/20px | 700 | Momo Trust Sans | Heading names things: short, bold labels at body size that introduce a section, a product or a group. |
| Button/md | type-button-md | 16px/20px | 500 | Momo Trust Sans | Buttons and calls to action. Same size as Body/md, but set in Semibold. |
| Display/sm | type-display-sm | 33px/36px | 400 | Momo Trust Display |  |
| Display/md | type-display-md | 48px/52px | 400 | Momo Trust Display |  |
| Display/lg | type-display-lg | 72px/72px | 400 | Momo Trust Display |  |
| Display/xl | type-display-xl | 100px/100px | 400 | Momo Trust Display |  |

## Spacing

| Figma | Size | Utilities | Use |
| --- | --- | --- | --- |
| space/inline/1 | 4px | p-inline-1, gap-inline-1, size-inline-1 | 4 px / 4 pt. Inline: space inside a group. Not snapped to the baseline grid. |
| space/inline/2 | 8px | p-inline-2, gap-inline-2, size-inline-2 | 8 px / 8 pt. Inline: space inside a group. Not snapped to the baseline grid. |
| space/inline/3 | 12px | p-inline-3, gap-inline-3, size-inline-3 | 12 px / 12 pt. Inline: space inside a group. Not snapped to the baseline grid. |
| space/inline/4 | 16px | p-inline-4, gap-inline-4, size-inline-4 | 16 px / 16 pt. Inline: space inside a group. Not snapped to the baseline grid. |
| space/inline/5 | 20px | p-inline-5, gap-inline-5, size-inline-5 | 20 px / 20 pt. Inline: space inside a group. Not snapped to the baseline grid. |
| space/section/1 | 40px | p-section-1, gap-section-1, size-section-1 | 40 px / 40 pt (4 baseline lines). Section: space between groups and sections. |
| space/section/2 | 80px | p-section-2, gap-section-2, size-section-2 | 80 px / 80 pt (8 baseline lines). Section: space between groups and sections. |
| space/section/3 | 120px | p-section-3, gap-section-3, size-section-3 | 120 px / 120 pt (12 baseline lines). Section: space between groups and sections. |
| space/section/4 | 160px | p-section-4, gap-section-4, size-section-4 | 160 px / 160 pt (16 baseline lines). Section: space between groups and sections. |
| space/seam | 2px | p-seam, gap-seam, size-seam | Exception. 2 px on screen, 6 pt in print. Only between tiles that belong to the same block, such as product images in a grid. Separate things use inline spacing. |

## Shape

| Figma | Size | Utility |
| --- | --- | --- |
| radius/sm | 5px | rounded-sm |
| radius/md | 11px | rounded-md |
| radius/lg | 33px | rounded-lg |

## Icons (Figma collections Icon and Icon color)

16 px. For Body xs. 1.333 px at 16 px. In code: <Icon size="md" />, or no size next to running text.

| Size | Icon | Stroke | Utility | Use |
| --- | --- | --- | --- | --- |
| sm | 16px | 1.333px | icon-sm | For Body xs. |
| md | 20px | 1.5px | icon-md | For Body sm, Heading sm, and inside a control with Body md or Button md. |
| lg | 24px | 1.667px | icon-lg | For Body md, Button. |
| xl | 36px | 2.167px | icon-xl | For Body lg. |

icon/color: Icon stroke colour. Default = text/default, Solid = button/solid/text, Outline = button/outline/text. Set the mode on the container (e.g. a button) so the glyph follows its text colour, also after a glyph swap. In code an icon is drawn in the text colour around it, so it follows by itself.

## Palette (Figma collection Palette)

surface/base takes its colour from the palette of the frame it stands in: Neutral by default, or one colour family. In code the default is built; a coloured ground is set with the family utilities (bg-green-900 with data-theme="dark", bg-green-200).

| Figma | Neutral | Red | Brown | Tan | Khaki | Green | Teal | Blue | Purple |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| palette/light | neutral/0 | red/200 | brown/200 | tan/200 | khaki/200 | green/200 | teal/200 | blue/200 | purple/200 |
| palette/dark | neutral/900 | red/900 | brown/900 | tan/900 | khaki/900 | green/900 | teal/900 | blue/900 | purple/900 |

## Grid

We use a nine-column grid. Components and elements span column counts that divide cleanly into nine, such as thirds (three, six or nine columns), or asymmetric splits like four and five. In code: grid grid-cols-9 with col-span-3, col-span-6, col-span-4, col-span-5.

## Measured on components

Fixed numbers on the Figma components, kept as tokens so the code has no loose numbers. Use them only in the component they belong to.

| Token | Value | Utility | Figma node |
| --- | --- | --- | --- |
| component.button.padding-top | 10px | p-button-padding-top | 25:1797 |
| component.button.padding-bottom | 11px | p-button-padding-bottom | 25:1797 |
| component.button.padding-x | 15px | p-button-padding-x | 25:1797 |
| component.button.border | 1px | p-button-border | 25:1797 |
| component.utility-button.blur | 10px | backdrop-blur-utility-button | 25:7211 |
| component.utility-button.small-padding-y | 6px | p-utility-button-small-padding-y | 2125:93 |
| component.utility-button.small-padding-x | 9px | p-utility-button-small-padding-x | 2125:93 |
| component.variation-option.size | 48px | p-variation-option-size | 2100:711 |
| component.variation-option.padding | 4px | p-variation-option-padding | 2100:622 |
| component.variation-option.radius | 5px | rounded-variation-option | 2100:622 |
| component.variation-option.corner-size | 9px | p-variation-option-corner-size | 2100:764 |
| component.variation-option.corner-inset | 2px | p-variation-option-corner-inset | 2100:764 |
| component.variation-option.corner-radius | 3px | rounded-variation-option-corner | 2100:764 |
| component.product-card.swatch-size | 28px | p-product-card-swatch-size | 25:2717 |
| component.product-card.swatch-padding | 2px | p-product-card-swatch-padding | 25:2717 |
| component.product-card.swatch-border | 1px | p-product-card-swatch-border | 25:2717 |
| component.icon.grid | 24px | p-icon-grid | 2173:116 |
| component.logo.size | 128px | p-logo-size | 2146:526 |
| component.pill.padding-y | 4px | p-pill-padding-y | 2124:1129 |
| component.pill.padding-x | 7px | p-pill-padding-x | 2124:1129 |
| component.pill.small-padding-y | 3px | p-pill-small-padding-y | 2124:1133 |
| component.pill.small-padding-x | 6px | p-pill-small-padding-x | 2124:1133 |
| component.grid-column-option.size | 32px | p-grid-column-option-size | 2109:977 |
| component.grid-column-option.corner-size | 7px | p-grid-column-option-corner-size | 2109:977 |
| component.grid-column-option.corner-inset | 2px | p-grid-column-option-corner-inset | 2109:977 |

## Internal ID software (not from Figma)

Roles and sizes for the software components. Each is an alias of a value from Figma, never a value of its own, and is used only in internal ID software.

| Token | Light | Dark | Utility | Use |
| --- | --- | --- | --- | --- |
| component.field.padding-top | component/button/padding-top | component/button/padding-top | pt-field-padding-top | A form field is as tall as the CTA button beside it: the same padding above the text. |
| component.field.padding-bottom | component/button/padding-bottom | component/button/padding-bottom | pb-field-padding-bottom | A form field is as tall as the CTA button beside it: the same padding below the text. |
| component.field.padding-x | component/button/padding-x | component/button/padding-x | px-field-padding-x | A form field has the CTA button's padding at the sides. |

## Contrast contract

Measured at every build. A pair under its minimum fails the build unless it is written down as accepted.

| Text | On | Mode | Ratio | Minimum | Result |
| --- | --- | --- | --- | --- | --- |
| color.text.default | color.surface.base | light | 20.74:1 | 4.5:1 | holds |
| color.text.default | color.surface.base | dark | 20.74:1 | 4.5:1 | holds |
| color.button.solid.text | color.button.solid.fill | light | 20.74:1 | 4.5:1 | holds |
| color.button.solid.text | color.button.solid.fill | dark | 20.74:1 | 4.5:1 | holds |
| color.button.outline.text | color.surface.base | light | 20.74:1 | 4.5:1 | holds |
| color.button.outline.text | color.surface.base | dark | 20.74:1 | 4.5:1 | holds |
| color.button.outline.stroke | color.surface.base | light | 20.74:1 | 3:1 | holds |
| color.button.outline.stroke | color.surface.base | dark | 20.74:1 | 3:1 | holds |
| color.neutral.900 | color.packshot.fill | light | 18.86:1 | 4.5:1 | holds |
| color.neutral.500 | color.neutral.0 | light | 4.95:1 | 4.5:1 | holds |
| color.neutral.600 | color.packshot.fill | light | 6.58:1 | 4.5:1 | holds |
| color.neutral.0 | color.neutral.900 | light | 20.74:1 | 4.5:1 | holds |
| color.neutral.0 | color.red.900 | light | 11.13:1 | 4.5:1 | holds |
| color.neutral.0 | color.brown.900 | light | 13.33:1 | 4.5:1 | holds |
| color.neutral.0 | color.tan.900 | light | 10.54:1 | 4.5:1 | holds |
| color.neutral.0 | color.khaki.900 | light | 10.81:1 | 4.5:1 | holds |
| color.neutral.0 | color.green.900 | light | 14.23:1 | 4.5:1 | holds |
| color.neutral.0 | color.teal.900 | light | 12.07:1 | 4.5:1 | holds |
| color.neutral.0 | color.blue.900 | light | 12.56:1 | 4.5:1 | holds |
| color.neutral.0 | color.purple.900 | light | 13.85:1 | 4.5:1 | holds |
| color.neutral.900 | color.red.500 | light | 4.55:1 | 4.5:1 | holds |
| color.neutral.900 | color.brown.500 | light | 4.56:1 | 4.5:1 | holds |
| color.neutral.900 | color.tan.500 | light | 4.56:1 | 4.5:1 | holds |
| color.neutral.900 | color.khaki.500 | light | 4.53:1 | 4.5:1 | holds |
| color.neutral.900 | color.green.500 | light | 4.57:1 | 4.5:1 | holds |
| color.neutral.900 | color.teal.500 | light | 4.54:1 | 4.5:1 | holds |
| color.neutral.900 | color.blue.500 | light | 4.58:1 | 4.5:1 | holds |
| color.neutral.900 | color.purple.500 | light | 4.56:1 | 4.5:1 | holds |
| color.neutral.500 | color.neutral.0 | light | 4.95:1 | 4.5:1 | holds |
| color.red.500 | color.neutral.0 | light | 4.56:1 | 4.5:1 | holds |
| color.brown.500 | color.neutral.0 | light | 4.55:1 | 4.5:1 | holds |
| color.tan.500 | color.neutral.0 | light | 4.55:1 | 4.5:1 | holds |
| color.khaki.500 | color.neutral.0 | light | 4.58:1 | 4.5:1 | holds |
| color.green.500 | color.neutral.0 | light | 4.54:1 | 4.5:1 | holds |
| color.teal.500 | color.neutral.0 | light | 4.56:1 | 4.5:1 | holds |
| color.blue.500 | color.neutral.0 | light | 4.53:1 | 4.5:1 | holds |
| color.purple.500 | color.neutral.0 | light | 4.54:1 | 4.5:1 | holds |
| color.neutral.900 | color.neutral.200 | light | 15.71:1 | 4.5:1 | holds |
| color.neutral.900 | color.red.200 | light | 13.44:1 | 4.5:1 | holds |
| color.neutral.900 | color.brown.200 | light | 16.71:1 | 4.5:1 | holds |
| color.neutral.900 | color.tan.200 | light | 14.71:1 | 4.5:1 | holds |
| color.neutral.900 | color.khaki.200 | light | 11.93:1 | 4.5:1 | holds |
| color.neutral.900 | color.green.200 | light | 15.01:1 | 4.5:1 | holds |
| color.neutral.900 | color.teal.200 | light | 14.12:1 | 4.5:1 | holds |
| color.neutral.900 | color.blue.200 | light | 12.54:1 | 4.5:1 | holds |
| color.neutral.900 | color.purple.200 | light | 13.88:1 | 4.5:1 | holds |
| color.text.muted | color.surface.base | light | 7.23:1 | 4.5:1 | holds |
| color.text.muted | color.surface.base | dark | 10.08:1 | 4.5:1 | holds |
| color.neutral.500 | color.surface.base | light | 4.95:1 | 3:1 | holds |
| color.neutral.500 | color.surface.base | dark | 4.19:1 | 3:1 | holds |
