fix: Light icons are not responsive to dark theme

This commit is contained in:
Tom Moor
2024-07-07 21:06:04 -04:00
parent 07b6441655
commit 43cf33fc0a
8 changed files with 58 additions and 45 deletions

View File

@@ -133,8 +133,8 @@ const CollectionSquircle = ({ collection }: { collection: Collection }) => {
const theme = useTheme();
const iconType = determineIconType(collection.icon)!;
const squircleColor =
iconType === IconType.Outline ? collection.color! : theme.slateLight;
const iconSize = iconType === IconType.Outline ? 16 : 22;
iconType === IconType.SVG ? collection.color! : theme.slateLight;
const iconSize = iconType === IconType.SVG ? 16 : 22;
return (
<Squircle color={squircleColor} size={AvatarSize.Medium}>