most popular chip

This commit is contained in:
Alex Holliday committed 2025-12-04 20:26:21 +00:00
1 parent 5c889f3a63
commit ba6c9a481d
1 file changed
+12 -3
@@ -126,7 +126,16 @@ export const PlanCard = ({
</Typography> </Typography>
<Stack direction="row" alignItems="center" spacing={1}> <Stack direction="row" alignItems="center" spacing={1}>
{plan.plan === "pro" && ( {plan.plan === "pro" && (
<Chip size="small" label="Most popular" sx={{ bgcolor: theme.palette.accent.main, color: theme.palette.getContrastText(theme.palette.accent.main) }} /> <Chip
size="small"
label="Most popular"
sx={{
bgcolor: theme.palette.accent.main,
color: theme.palette.getContrastText(
theme.palette.accent.main
),
}}
/>
)} )}
<Icon size={18} /> <Icon size={18} />
</Stack> </Stack>
@@ -141,12 +150,12 @@ export const PlanCard = ({
<Check size={16} color={checkColor} /> <Check size={16} color={checkColor} />
{item.tooltip ? ( {item.tooltip ? (
<Tooltip title={item.tooltip} arrow placement="right"> <Tooltip title={item.tooltip} arrow placement="right">
<Typography variant="body1" color="text.secondary"> <Typography variant="body1" color="text.secondary" fontSize={18}>
{item.label}: {item.value} {item.label}: {item.value}
</Typography> </Typography>
</Tooltip> </Tooltip>
) : ( ) : (
<Typography variant="body1" color="text.secondary"> <Typography variant="body1" color="text.secondary" fontSize={18}>
{item.label}: {item.value} {item.label}: {item.value}
</Typography> </Typography>
)} )}