chore: Bump outline-icons (#5170

* Bump outline-icons to default use currentColor

* wip
This commit is contained in:
Tom Moor
2023-04-08 11:16:05 -04:00
committed by GitHub
parent 489cfcd0b0
commit aab3a49f2c
70 changed files with 113 additions and 190 deletions

View File

@@ -84,7 +84,7 @@ export default class Attachment extends Node {
isSelected={isSelected}
theme={theme}
>
{node.attrs.href && <DownloadIcon color="currentColor" size={20} />}
{node.attrs.href && <DownloadIcon size={20} />}
</Widget>
);
}

View File

@@ -72,11 +72,11 @@ export default class Notice extends Node {
let component;
if (node.attrs.style === "tip") {
component = <StarredIcon color="currentColor" />;
component = <StarredIcon />;
} else if (node.attrs.style === "warning") {
component = <WarningIcon color="currentColor" />;
component = <WarningIcon />;
} else {
component = <InfoIcon color="currentColor" />;
component = <InfoIcon />;
}
icon = document.createElement("div");