diff --git a/docs/_static/wagtail_colors_tables.txt b/docs/_static/wagtail_colors_tables.txt
index fb3014a1ac..27c7c6588f 100644
--- a/docs/_static/wagtail_colors_tables.txt
+++ b/docs/_static/wagtail_colors_tables.txt
@@ -1,4 +1,4 @@
- Make sure to test any customisations against our Contrast Grid. Try out your own customisations with this interactive style editor:Static colours
Variable Usage --w-color-black
Shadows only --w-color-grey-800
Backgrounds for panels in dark theme --w-color-grey-700
Backgrounds for panels in dark theme --w-color-grey-600
Body copy, user content --w-color-grey-500
Panels, dividers in dark mode --w-color-grey-400
Help text, placeholders, meta text, neutral state indicators --w-color-grey-200
Dividers, button borders --w-color-grey-150
Field borders --w-color-grey-100
Dividers, panel borders --w-color-grey-50
Background for panels, row highlights --w-color-white
Page backgrounds, Panels, Button text --w-color-primary
Wagtail branding, Panels, Headings, Buttons, Labels --w-color-primary-200
Accent for elements used in conjunction with primary colour in sidebar --w-color-secondary
Primary buttons, action links --w-color-secondary-600
Hover states for two-tone buttons --w-color-secondary-400
Two-tone buttons, hover states --w-color-secondary-100
UI element highlights over dark backgrounds --w-color-secondary-75
UI element highlights over dark text --w-color-secondary-50
Button backgrounds, highlighted fields background --w-color-info-125
Hover background only, for information messages --w-color-info-100
Background and icons for information messages --w-color-info-75
Info text in the dark theme --w-color-info-50
Background only, for information messages --w-color-positive-100
Positive states --w-color-positive-50
Background only, for positive states --w-color-warning-100
Background and icons for potentially dangerous states --w-color-warning-50
Background only, for potentially dangerous states --w-color-critical-200
Dangerous actions or states (over light background), errors --w-color-critical-100
Dangerous actions or states (over dark background) --w-color-critical-50
Background only, for dangerous states Light & dark theme colours
Light Dark Variable Surfaces - General --w-color-surface-page
--w-color-surface-field
--w-color-surface-field-inactive
--w-color-surface-header
--w-color-surface-menus
--w-color-surface-menu-item-active
--w-color-surface-tooltip
--w-color-surface-button-default
--w-color-surface-button-hover
--w-color-surface-button-inactive
--w-color-surface-button-outline-hover
--w-color-surface-button-critical-hover
--w-color-surface-status-label
Text --w-color-text-button
--w-color-text-label-menus-default
--w-color-text-label-menus-active
--w-color-text-label
--w-color-text-context
--w-color-text-meta
--w-color-text-placeholder
--w-color-text-link-default
--w-color-text-link-hover
--w-color-text-button-outline-default
--w-color-text-button-outline-hover
--w-color-text-highlight
--w-color-text-error
--w-color-text-button-critical-outline-hover
--w-color-text-status-label
Icons --w-color-icon-primary
--w-color-icon-primary-hover
--w-color-icon-secondary
--w-color-icon-secondary-hover
Borders --w-color-border-furniture
--w-color-border-button-small-outline-default
--w-color-border-field-default
--w-color-border-field-inactive
--w-color-border-field-hover
--w-color-border-button-outline-default
--w-color-border-button-outline-hover
Misc --w-color-focus
--w-color-box-shadow-md
Variable | Usage | |
---|---|---|
--w-color-black | Shadows only | |
--w-color-grey-800 | Backgrounds for panels in dark theme | |
--w-color-grey-700 | Backgrounds for panels in dark theme | |
--w-color-grey-600 | Body copy, user content | |
--w-color-grey-500 | Panels, dividers in dark mode | |
--w-color-grey-400 | Help text, placeholders, meta text, neutral state indicators | |
--w-color-grey-200 | Dividers, button borders | |
--w-color-grey-150 | Field borders | |
--w-color-grey-100 | Dividers, panel borders | |
--w-color-grey-50 | Background for panels, row highlights | |
--w-color-white | Page backgrounds, Panels, Button text | |
--w-color-primary | Wagtail branding, Panels, Headings, Buttons, Labels | |
--w-color-primary-200 | Accent for elements used in conjunction with primary colour in sidebar | |
--w-color-secondary | Primary buttons, action links | |
--w-color-secondary-600 | Hover states for two-tone buttons | |
--w-color-secondary-400 | Two-tone buttons, hover states | |
--w-color-secondary-100 | UI element highlights over dark backgrounds | |
--w-color-secondary-75 | UI element highlights over dark text | |
--w-color-secondary-50 | Button backgrounds, highlighted fields background | |
--w-color-info-125 | Hover background only, for information messages | |
--w-color-info-100 | Background and icons for information messages | |
--w-color-info-75 | Info text in the dark theme | |
--w-color-info-50 | Background only, for information messages | |
--w-color-positive-100 | Positive states | |
--w-color-positive-50 | Background only, for positive states | |
--w-color-warning-100 | Background and icons for potentially dangerous states | |
--w-color-warning-50 | Background only, for potentially dangerous states | |
--w-color-critical-200 | Dangerous actions or states (over light background), errors | |
--w-color-critical-100 | Dangerous actions or states (over dark background) | |
--w-color-critical-50 | Background only, for dangerous states |
Light | Dark | Variable |
---|---|---|
Surfaces - General | ||
--w-color-surface-page | ||
--w-color-surface-field | ||
--w-color-surface-field-inactive | ||
--w-color-surface-header | ||
--w-color-surface-menus | ||
--w-color-surface-menu-item-active | ||
--w-color-surface-tooltip | ||
--w-color-surface-button-default | ||
--w-color-surface-button-hover | ||
--w-color-surface-button-inactive | ||
--w-color-surface-button-outline-hover | ||
--w-color-surface-button-critical-hover | ||
--w-color-surface-status-label | ||
--w-color-surface-info-panel | ||
--w-color-surface-dashboard-panel | ||
Text | ||
--w-color-text-button | ||
--w-color-text-label-menus-default | ||
--w-color-text-label-menus-active | ||
--w-color-text-label | ||
--w-color-text-context | ||
--w-color-text-meta | ||
--w-color-text-placeholder | ||
--w-color-text-link-default | ||
--w-color-text-link-hover | ||
--w-color-text-button-outline-default | ||
--w-color-text-button-outline-hover | ||
--w-color-text-highlight | ||
--w-color-text-error | ||
--w-color-text-button-critical-outline-hover | ||
--w-color-text-status-label | ||
--w-color-text-link-info | ||
Icons | ||
--w-color-icon-primary | ||
--w-color-icon-primary-hover | ||
--w-color-icon-secondary | ||
--w-color-icon-secondary-hover | ||
Borders | ||
--w-color-border-furniture | ||
--w-color-border-button-small-outline-default | ||
--w-color-border-field-default | ||
--w-color-border-field-inactive | ||
--w-color-border-field-hover | ||
--w-color-border-button-outline-default | ||
--w-color-border-button-outline-hover | ||
Misc | ||
--w-color-focus | ||
--w-color-box-shadow-md |