From 07046a52a8d6c2073a43dced8397a2d5b2b2ae43 Mon Sep 17 00:00:00 2001 From: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com> Date: Thu, 20 Mar 2025 13:26:32 +0100 Subject: [PATCH] refactor: variant colors --- frontend/src/themes/colors.ts | 37 +++++++++++++++++++++---------- frontend/src/themes/dark-theme.ts | 2 +- frontend/src/themes/theme.ts | 2 +- 3 files changed, 27 insertions(+), 14 deletions(-) diff --git a/frontend/src/themes/colors.ts b/frontend/src/themes/colors.ts index 2b3b5302d5..2f439a8b1b 100644 --- a/frontend/src/themes/colors.ts +++ b/frontend/src/themes/colors.ts @@ -95,18 +95,31 @@ export const colors = { 600: '#1f3751', 500: '#0e2840', }, - variants: [ - '#BEBBF3', - '#FFC46F', - '#B0D182', - '#96D2FA', - '#F7E3AE', - '#7FBAA9', - '#D3B9DB', - '#FBC5A0', - '#DDE7B5', - '#9EC4E3', - '#F8B6CC', + lightVariants: [ + '#d2d1f5', + '#f8d18f', + '#c1d699', + '#b7dbf9', + '#f7ecc8', + '#9ac1b5', + '#dacbe2', + '#f6d6bb', + '#e7edcb', + '#b7cfe7', + '#f3d0dc', + ] as string[], + darkVariants: [ + '#3f3d89', + '#6f4f1d', + '#3a3f2f', + '#325e87', + '#8e7737', + '#2a2a2a', + '#585659', + '#8a552a', + '#686e4b', + '#3e4f60', + '#8e3a53', ] as string[], chartSeries: [ '#816DD3', diff --git a/frontend/src/themes/dark-theme.ts b/frontend/src/themes/dark-theme.ts index 4e2a1e2c20..2620388975 100644 --- a/frontend/src/themes/dark-theme.ts +++ b/frontend/src/themes/dark-theme.ts @@ -222,7 +222,7 @@ const theme = { // A400: '#A6000E', // A700: '#A6000E', }, - variants: colors.variants, + variants: colors.darkVariants, /** * Dashboard and charts diff --git a/frontend/src/themes/theme.ts b/frontend/src/themes/theme.ts index 4e22eac0b5..1e31aa06cd 100644 --- a/frontend/src/themes/theme.ts +++ b/frontend/src/themes/theme.ts @@ -281,7 +281,7 @@ const theme = { // A400: '#A6000E', // A700: '#A6000E', }, - variants: colors.variants, + variants: colors.lightVariants, /** * Dashboard and charts