mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-23 20:13:21 +03:00
Delete API key button now visible in light mode (#8094)
Closes #7179 The font color of the button has been set to use `theme.font.color.danger`. This means that the color will be red regardless of whether the theme is inverted or not, which was the issue before. Merge conflicts have been resolved.
This commit is contained in:
parent
f9779c4b5e
commit
288fb1dbda
@ -286,9 +286,7 @@ const StyledButton = styled('button', {
|
||||
: 'none'};
|
||||
opacity: ${disabled ? 0.24 : 1};
|
||||
color: ${!inverted
|
||||
? !disabled
|
||||
? theme.font.color.danger
|
||||
: theme.color.red20
|
||||
? theme.font.color.danger
|
||||
: theme.font.color.inverted};
|
||||
&:hover {
|
||||
background: ${!inverted
|
||||
|
Loading…
Reference in New Issue
Block a user