mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-28 00:17:12 +01:00
fix: specify colors for buttons (#9124)
Fixes an issue where the buttons would be illegible in dark mode because we don't set the color explicitly. It just happened to work in light mode.
This commit is contained in:
parent
857c91b803
commit
5846952d7c
@ -72,6 +72,7 @@ const Wrapper = styled('article')(({ theme }) => ({
|
||||
fontSize: theme.typography.body1.fontSize,
|
||||
padding: theme.spacing(0.5),
|
||||
borderRadius: theme.shape.borderRadius,
|
||||
color: theme.palette.text.primary,
|
||||
|
||||
'&.selected': {
|
||||
backgroundColor: theme.palette.secondary.light,
|
||||
@ -79,6 +80,7 @@ const Wrapper = styled('article')(({ theme }) => ({
|
||||
},
|
||||
'button:disabled': {
|
||||
cursor: 'default',
|
||||
color: theme.palette.text.disabled,
|
||||
},
|
||||
}));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user