Fix text color

This commit is contained in:
Sean Edmunds
2024-12-31 12:06:59 -06:00
parent cedacda784
commit 4d2f1e8b97

View File

@@ -14,7 +14,10 @@ function ThemeCard({ handleOpen, handleDeleteTheme, theme, setValue, createTheme
paddingLeft: 4, paddingLeft: 4,
backgroundColor: theme.borderColor, backgroundColor: theme.borderColor,
borderRadius: '4px', borderRadius: '4px',
color: theme.primaryColor, color:
theme.borderColor === theme.primaryColor
? theme.accentColor
: theme.primaryColor,
zIndex: 3, zIndex: 3,
}} }}
> >
@@ -28,10 +31,6 @@ function ThemeCard({ handleOpen, handleDeleteTheme, theme, setValue, createTheme
backgroundSize: 'cover', backgroundSize: 'cover',
backgroundColor: theme.backgroundColor, backgroundColor: theme.backgroundColor,
border: `solid ${theme.borderColor}`, border: `solid ${theme.borderColor}`,
color:
theme.borderColor === theme.primaryColor
? theme.accentColor
: theme.primaryColor,
}} }}
data-theme={theme.name} data-theme={theme.name}
onClick={() => { onClick={() => {