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:
schroda
2024-05-23 00:41:48 +02:00
parent c9cf516473
commit 43d05df78e

View File

@@ -26,9 +26,9 @@ export const Metadata = ({
{...stackProps}
sx={{ flexDirection: 'row', columnGap: 1, flexWrap: 'wrap', alignItems: 'baseline', ...stackProps?.sx }}
>
<Typography {...titleProps}>{title}</Typography>
<Typography color="text.secondary" {...valueProps}>
{value}
<Typography color="text.secondary" {...titleProps}>
{title}
</Typography>
<Typography {...valueProps}>{value}</Typography>
</Stack>
);