Fixed background color of media overview badge on light theme

pull/2534/head v1.4.4-beta.4
Anderson Shindy Oki 5 months ago committed by GitHub
parent c4f5511915
commit 9787934820
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -35,6 +35,11 @@
color: darken($color-highlight-6, 1); color: darken($color-highlight-6, 1);
background-color: transparentize($color-highlight-5, 0.8); background-color: transparentize($color-highlight-5, 0.8);
} }
&[data-variant="light"] {
color: var(--mantine-color-black);
background-color: var(--mantine-color-gray-5);
}
} }
} }
} }

@ -200,8 +200,8 @@ const ItemBadge: FunctionComponent<ItemBadgeProps> = ({
}) => ( }) => (
<Badge <Badge
leftSection={<FontAwesomeIcon icon={icon}></FontAwesomeIcon>} leftSection={<FontAwesomeIcon icon={icon}></FontAwesomeIcon>}
variant="light"
radius="sm" radius="sm"
color="dark"
size="sm" size="sm"
style={{ textTransform: "none" }} style={{ textTransform: "none" }}
aria-label={title} aria-label={title}

Loading…
Cancel
Save