Update grey-01 to NSW DS value and add semantic colour aliases

Grey-01 updated from #3D3D3D to #22272B to match the NSW Design System.
Semantic aliases (primary, error, success, warning, text, surface, etc.)
now reference palette variables as the single layer of indirection.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-21 11:55:59 +10:00
parent 2205862c2f
commit ba796fb247

View File

@@ -51,14 +51,25 @@
--color-green-04: #E0F8EA; /* extrapolated: light background */
/* Greys */
--color-grey-01: #3D3D3D;
--color-grey-01: #22272B;
--color-grey-02: #6D7278;
--color-grey-03: #C0C0C0;
--color-grey-04: #E0E0E0;
--color-off-white: #F4F4F4;
--color-surface: #FAFAFA;
--color-white: #FFFFFF;
/* Semantic Aliases */
--color-primary: var(--color-blue-02);
--color-primary-dark: var(--color-blue-01);
--color-error: var(--color-red-02);
--color-success: var(--color-green-02);
--color-warning: var(--color-orange-02);
--color-text: var(--color-grey-01);
--color-text-secondary: var(--color-grey-02);
--color-border: var(--color-grey-04);
--color-bg: var(--color-off-white);
--color-surface: var(--color-white);
/* Radius */
--radius-sm: 4px;
--radius-default: 6px;