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

@@ -98,7 +98,7 @@ const IconPicker = ({
(ic: string) => {
popover.hide();
const icType = determineIconType(ic);
const finalColor = icType === IconType.Outline ? chosenColor : null;
const finalColor = icType === IconType.SVG ? chosenColor : null;
onChange(ic, finalColor);
},
[popover, onChange, chosenColor]
@@ -110,7 +110,7 @@ const IconPicker = ({
const icType = determineIconType(icon);
// Outline icon set; propagate color change
if (icType === IconType.Outline) {
if (icType === IconType.SVG) {
onChange(icon, c);
}
},