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

@@ -414,7 +414,7 @@ export type ProsemirrorDoc = {
};
export enum IconType {
Outline = "outline",
SVG = "svg",
Emoji = "emoji",
}

View File

@@ -9,5 +9,5 @@ export const determineIconType = (
if (!icon) {
return;
}
return outlineIconNames.has(icon) ? IconType.Outline : IconType.Emoji;
return outlineIconNames.has(icon) ? IconType.SVG : IconType.Emoji;
};