Set Metadata title color to "secondary text"
The important information is the "value" instead of the "title", thus, the "value" should stand out more
This commit is contained in:
@@ -26,9 +26,9 @@ export const Metadata = ({
|
|||||||
{...stackProps}
|
{...stackProps}
|
||||||
sx={{ flexDirection: 'row', columnGap: 1, flexWrap: 'wrap', alignItems: 'baseline', ...stackProps?.sx }}
|
sx={{ flexDirection: 'row', columnGap: 1, flexWrap: 'wrap', alignItems: 'baseline', ...stackProps?.sx }}
|
||||||
>
|
>
|
||||||
<Typography {...titleProps}>{title}</Typography>
|
<Typography color="text.secondary" {...titleProps}>
|
||||||
<Typography color="text.secondary" {...valueProps}>
|
{title}
|
||||||
{value}
|
|
||||||
</Typography>
|
</Typography>
|
||||||
|
<Typography {...valueProps}>{value}</Typography>
|
||||||
</Stack>
|
</Stack>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user