1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-08-18 13:48:58 +02:00

use secondary instead of disabled for contrast

This commit is contained in:
Thomas Heartman 2025-07-03 10:48:12 +02:00
parent ac1f00db44
commit 2857f4df1f

View File

@ -20,7 +20,7 @@ export const Added = styled(Action)(({ theme }) => ({
export const AddedStrategy = styled(Added, {
shouldForwardProp: (prop) => prop !== 'disabled',
})<{ disabled?: boolean }>(({ theme, disabled }) => ({
color: disabled ? theme.palette.text.disabled : undefined,
color: disabled ? theme.palette.text.secondary : undefined,
}));
const Change = styled('span')({