Token-table
Preview#
theme-preview changes the Resolved value cells for theme-owned colour tokens. Value keeps the source declaration visible, including any alias.
color.ink | --color-ink | {color.palette.near-black} | #101010
#f8f8f5 | color | semantic | Primary text colour for high-contrast interface and brand copy. |
color.paper | --color-paper | {color.palette.warm-paper} | #f8f8f5
#101010 | color | semantic | Default page background colour. |
color.line | --color-line | {color.palette.quiet-line} | #d7d7d2
oklch(37.1% 0 none) | color | semantic | Quiet divider and border colour. |
color.accent | --color-accent | {color.palette.signal-orange} | #e6461a
#e6461a | color | semantic | Primary accent colour for emphasis, active states, and brand signals. |
color.accent-text | --color-accent-text | {color.palette.deep-signal-orange} | #c43810
#e6461a | color | semantic | Theme-aware accent colour for normal-sized text on the page surface. |
color.on-accent | --color-on-accent | {color.palette.near-black} | #101010 | color | semantic | Accessible foreground colour for text and icons on the accent background. |
color.code.background | --color-code-background | #272822 | #272822 | color | semantic | Background colour for technical code surfaces. |
color.white | --color-white | {color.palette.white} | #ffffff | color | semantic | White used for inverse text and elevated surfaces. |
color.black | --color-black | {color.palette.black} | #000000 | color | semantic | Black used for overlays and high-contrast code controls. |
color.code.foreground | --color-code-foreground | #f8f8f2 | #f8f8f2 | color | semantic | Foreground colour for technical code surfaces. |
color.neutral.50 | --color-neutral-50 | {color.palette.neutral.50} | oklch(98.5% 0 none)
oklch(26.9% 0 none) | color | semantic | Lightest neutral surface. |
color.neutral.100 | --color-neutral-100 | {color.palette.neutral.100} | oklch(97% 0 none)
oklch(37.1% 0 none) | color | semantic | Light neutral surface. |
color.neutral.300 | --color-neutral-300 | {color.palette.neutral.300} | oklch(87% 0 none)
oklch(43.9% 0 none) | color | semantic | Quiet neutral marker and divider tone. |
color.neutral.400 | --color-neutral-400 | {color.palette.neutral.400} | oklch(70.8% 0 none)
oklch(55.6% 0 none) | color | semantic | Secondary neutral text tone. |
color.neutral.500 | --color-neutral-500 | {color.palette.neutral.500} | oklch(55.6% 0 none)
oklch(70.8% 0 none) | color | semantic | Muted neutral text tone. |
color.neutral.600 | --color-neutral-600 | {color.palette.neutral.600} | oklch(43.9% 0 none)
oklch(87% 0 none) | color | semantic | Supporting neutral text tone. |
color.neutral.700 | --color-neutral-700 | {color.palette.neutral.700} | oklch(37.1% 0 none)
oklch(97% 0 none) | color | semantic | Strong neutral text and border tone. |
color.neutral.800 | --color-neutral-800 | {color.palette.neutral.800} | oklch(26.9% 0 none)
oklch(98.5% 0 none) | color | semantic | Dark neutral surface. |
color.code.copy.success.foreground | --color-code-copy-success-foreground | oklch(87.1% 0.15 154.449) | oklch(87.1% 0.15 154.449) | color | semantic | Copy-control confirmation text colour. |
color.code.copy.success.border | --color-code-copy-success-border | oklch(79.2% 0.209 151.711) | oklch(79.2% 0.209 151.711) | color | semantic | Copy-control confirmation border colour. |
color.code.copy.error.foreground | --color-code-copy-error-foreground | oklch(80.8% 0.114 19.571) | oklch(80.8% 0.114 19.571) | color | semantic | Copy-control error text colour. |
color.code.copy.error.border | --color-code-copy-error-border | oklch(70.4% 0.191 22.216) | oklch(70.4% 0.191 22.216) | color | semantic | Copy-control error border colour. |
component.announcement.background | --component-announcement-background | {color.paper} | #f8f8f5 | color | component | Background surface for the site-wide announcement banner. |
status.note | --status-note | oklch(62.3% 0.214 259.815) | oklch(62.3% 0.214 259.815) | color | semantic | Informational status accent for notes and neutral change notices. |
component.announcement.foreground | --component-announcement-foreground | {color.ink} | #101010 | color | component | Text colour for the site-wide announcement banner. |
status.success | --status-success | oklch(72.3% 0.219 149.579) | oklch(72.3% 0.219 149.579) | color | semantic | Positive status accent for confirmed or newly available items. |
component.announcement.border | --component-announcement-border | {color.accent} | #e6461a | color | component | Signal border colour for the site-wide announcement banner. |
status.important | --status-important | oklch(62.7% 0.265 303.9) | oklch(62.7% 0.265 303.9) | color | semantic | Important status accent for decisions requiring attention. |
component.announcement.link | --component-announcement-link | {color.accent-text} | #c43810 | color | component | Accessible link colour for the site-wide announcement banner. |
status.warning | --status-warning | oklch(76.9% 0.188 70.08) | oklch(76.9% 0.188 70.08) | color | semantic | Warning status accent for cautionary changes or constraints. |
status.danger | --status-danger | oklch(63.7% 0.237 25.331) | oklch(63.7% 0.237 25.331) | color | semantic | Critical status accent for cautions, errors, and deprecations. |
status.archived | --status-archived | {color.neutral.500} | oklch(55.6% 0 none) | color | semantic | Muted status accent for archived material. |
component.avatar.background | --component-avatar-background | {color.neutral.100} | oklch(97% 0 none) | color | component | Fallback avatar surface for a recommendation attribution. |
component.avatar.foreground | --component-avatar-foreground | {color.ink} | #101010 | color | component | Fallback avatar initials colour for a recommendation attribution. |
component.avatar.border | --component-avatar-border | {color.line} | #d7d7d2 | color | component | Avatar boundary colour for a recommendation attribution. |
component.back-to-top.background | --component-back-to-top-background | {color.paper} | #f8f8f5 | color | component | Surface behind the back-to-top link. |
component.back-to-top.foreground | --component-back-to-top-foreground | {color.ink} | #101010 | color | component | Text and arrow colour for the back-to-top link. |
component.back-to-top.border | --component-back-to-top-border | {color.line} | #d7d7d2 | color | component | Resting border of the back-to-top link. |
component.back-to-top.hover-border | --component-back-to-top-hover-border | {color.accent} | #e6461a | color | component | Hover and focus border of the back-to-top link. |
Example
{{< token-table category="color" >}}When to use
A generated token category table rendered from `data/brand/tokens.yml`.
Implementation
layouts/shortcodes/token-table.htmlOptions
| Option | Read by the shortcode template |
|---|---|
category | Read by the shortcode template |
Interface manifest
- Kind
- Shortcode
- Category
- Data
- Status
- Implemented
- Implementation
- Shortcode:
layouts/shortcodes/token-table.htmlData:data/brand/tokens.ymlCSS:assets/css/site.cssJavaScript:assets/js/site.js