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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user