1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-07-26 13:48:33 +02:00

refactor: change colors (#9672)

This PR fixes incorrect colors chosen from the theme. It now matches the
figma files.
This commit is contained in:
Fredrik Strand Oseberg 2025-04-01 13:24:40 +02:00 committed by GitHub
parent c75779e677
commit 7545f5af60
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -62,11 +62,11 @@ export const TagTypeColorPicker: FC<ITagTypeColorPickerProps> = ({
},
{
name: 'Green',
value: getColorWithFallback(lightTheme.palette.success.main),
value: getColorWithFallback(lightTheme.palette.success.border),
},
{
name: 'Yellow',
value: getColorWithFallback(lightTheme.palette.warning.main),
value: getColorWithFallback(lightTheme.palette.warning.border),
},
{
name: 'Red',
@ -74,15 +74,15 @@ export const TagTypeColorPicker: FC<ITagTypeColorPickerProps> = ({
},
{
name: 'Blue',
value: getColorWithFallback(lightTheme.palette.info.main),
value: getColorWithFallback(lightTheme.palette.info.border),
},
{
name: 'Purple',
value: getColorWithFallback(lightTheme.palette.secondary.main),
value: getColorWithFallback(lightTheme.palette.secondary.border),
},
{
name: 'Gray',
value: getColorWithFallback(lightTheme.palette.neutral.main),
value: getColorWithFallback(lightTheme.palette.neutral.border),
},
];