From 25efdf0ce6288cf5da499cab2034212c4ffc521a Mon Sep 17 00:00:00 2001 From: pat-s Date: Mon, 23 Dec 2024 17:35:57 +0100 Subject: [PATCH] update red color --- web/windi.config.ts | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/web/windi.config.ts b/web/windi.config.ts index dc8177367..b5ad9d13d 100644 --- a/web/windi.config.ts +++ b/web/windi.config.ts @@ -26,6 +26,10 @@ const customColors = { 700: '#222631', 800: '#1B1F28', }, + + 'wp-state-error': { + 100: #c93c37, + } }; /* eslint-disable ts/no-unsafe-call */ @@ -79,14 +83,14 @@ export default defineConfig({ 300: tinycolor(customColors['wp-primary'][600]).desaturate(10).toString(), }, 'int-wp-control-error': { - 100: colors.red[500], + 100: customColors['wp-state-error'][100], 200: colors.red[600], 300: colors.red[700], 400: colors.red[800], 500: colors.red[900], }, 'int-wp-control-error-dark': { - 100: tinycolor(colors.red[500]).desaturate(25).toString(), + 100: customColors['wp-state-error'][100], 200: tinycolor(colors.red[600]).desaturate(25).toString(), 300: tinycolor(colors.red[700]).desaturate(25).toString(), 400: tinycolor(colors.red[800]).desaturate(25).toString(), @@ -94,10 +98,7 @@ export default defineConfig({ }, 'int-wp-state-error': { - 100: colors.red[500], - }, - 'int-wp-state-error-dark': { - 100: tinycolor(colors.red[500]).desaturate(25).toString(), + 100: customColors['wp-state-error'][100], }, 'int-wp-state-neutral': { 100: colors.gray[600],