fix: Light icons are not responsive to dark theme
This commit is contained in:
@@ -178,8 +178,7 @@ const DocumentSquircle = ({
|
||||
}) => {
|
||||
const theme = useTheme();
|
||||
const iconType = determineIconType(icon)!;
|
||||
const squircleColor =
|
||||
iconType === IconType.Outline ? color : theme.slateLight;
|
||||
const squircleColor = iconType === IconType.SVG ? color : theme.slateLight;
|
||||
|
||||
return (
|
||||
<Squircle color={squircleColor}>
|
||||
|
||||
Reference in New Issue
Block a user