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:
parent
ac1f00db44
commit
2857f4df1f
@ -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')({
|
||||
|
Loading…
Reference in New Issue
Block a user