1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-06-09 01:17:06 +02:00

refactor: variant colors

This commit is contained in:
Tymoteusz Czech 2025-03-20 13:26:32 +01:00
parent 90eed05296
commit 07046a52a8
No known key found for this signature in database
GPG Key ID: 133555230D88D75F
3 changed files with 27 additions and 14 deletions

View File

@ -95,18 +95,31 @@ export const colors = {
600: '#1f3751', 600: '#1f3751',
500: '#0e2840', 500: '#0e2840',
}, },
variants: [ lightVariants: [
'#BEBBF3', '#d2d1f5',
'#FFC46F', '#f8d18f',
'#B0D182', '#c1d699',
'#96D2FA', '#b7dbf9',
'#F7E3AE', '#f7ecc8',
'#7FBAA9', '#9ac1b5',
'#D3B9DB', '#dacbe2',
'#FBC5A0', '#f6d6bb',
'#DDE7B5', '#e7edcb',
'#9EC4E3', '#b7cfe7',
'#F8B6CC', '#f3d0dc',
] as string[],
darkVariants: [
'#3f3d89',
'#6f4f1d',
'#3a3f2f',
'#325e87',
'#8e7737',
'#2a2a2a',
'#585659',
'#8a552a',
'#686e4b',
'#3e4f60',
'#8e3a53',
] as string[], ] as string[],
chartSeries: [ chartSeries: [
'#816DD3', '#816DD3',

View File

@ -222,7 +222,7 @@ const theme = {
// A400: '#A6000E', // A400: '#A6000E',
// A700: '#A6000E', // A700: '#A6000E',
}, },
variants: colors.variants, variants: colors.darkVariants,
/** /**
* Dashboard and charts * Dashboard and charts

View File

@ -281,7 +281,7 @@ const theme = {
// A400: '#A6000E', // A400: '#A6000E',
// A700: '#A6000E', // A700: '#A6000E',
}, },
variants: colors.variants, variants: colors.lightVariants,
/** /**
* Dashboard and charts * Dashboard and charts