Adjust comfortable manga grids title color while selected
This commit is contained in:
@@ -187,7 +187,7 @@ export const MangaGridCard = ({
|
|||||||
<TypographyMaxLines
|
<TypographyMaxLines
|
||||||
component="h3"
|
component="h3"
|
||||||
sx={{
|
sx={{
|
||||||
color: 'text.primary',
|
color: (theme) => (selected ? theme.palette.primary.contrastText : 'text.primary'),
|
||||||
height: '3rem',
|
height: '3rem',
|
||||||
pt: 0.5,
|
pt: 0.5,
|
||||||
}}
|
}}
|
||||||
|
|||||||
Reference in New Issue
Block a user