fix: Light icons are not responsive to dark theme
This commit is contained in:
@@ -414,7 +414,7 @@ export type ProsemirrorDoc = {
|
||||
};
|
||||
|
||||
export enum IconType {
|
||||
Outline = "outline",
|
||||
SVG = "svg",
|
||||
Emoji = "emoji",
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user