Fix text color
This commit is contained in:
@@ -14,7 +14,10 @@ function ThemeCard({ handleOpen, handleDeleteTheme, theme, setValue, createTheme
|
||||
paddingLeft: 4,
|
||||
backgroundColor: theme.borderColor,
|
||||
borderRadius: '4px',
|
||||
color: theme.primaryColor,
|
||||
color:
|
||||
theme.borderColor === theme.primaryColor
|
||||
? theme.accentColor
|
||||
: theme.primaryColor,
|
||||
zIndex: 3,
|
||||
}}
|
||||
>
|
||||
@@ -28,10 +31,6 @@ function ThemeCard({ handleOpen, handleDeleteTheme, theme, setValue, createTheme
|
||||
backgroundSize: 'cover',
|
||||
backgroundColor: theme.backgroundColor,
|
||||
border: `solid ${theme.borderColor}`,
|
||||
color:
|
||||
theme.borderColor === theme.primaryColor
|
||||
? theme.accentColor
|
||||
: theme.primaryColor,
|
||||
}}
|
||||
data-theme={theme.name}
|
||||
onClick={() => {
|
||||
|
||||
Reference in New Issue
Block a user