Skip to content

Commit

Permalink
Fixed background color of media overview badge on light theme
Browse files Browse the repository at this point in the history
  • Loading branch information
anderson-oki committed Jun 11, 2024
1 parent c4f5511 commit 9787934
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions frontend/src/assets/badge.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@
color: darken($color-highlight-6, 1);
background-color: transparentize($color-highlight-5, 0.8);
}

&[data-variant="light"] {
color: var(--mantine-color-black);
background-color: var(--mantine-color-gray-5);
}
}
}
}
2 changes: 1 addition & 1 deletion frontend/src/pages/views/ItemOverview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,8 @@ const ItemBadge: FunctionComponent<ItemBadgeProps> = ({
}) => (
<Badge
leftSection={<FontAwesomeIcon icon={icon}></FontAwesomeIcon>}
variant="light"
radius="sm"
color="dark"
size="sm"
style={{ textTransform: "none" }}
aria-label={title}
Expand Down

0 comments on commit 9787934

Please sign in to comment.