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

@@ -14,7 +14,7 @@ export default function DisabledEmbed(props: Props & ThemeProps<DefaultTheme>) {
isSelected={props.isSelected}
theme={props.theme}
>
<OpenIcon color="currentColor" size={20} />
<OpenIcon size={20} />
</Widget>
);
}

View File

@@ -18,11 +18,7 @@ export default function FileExtension(props: Props) {
style={{ background: stringToColor(extension || "") }}
$size={props.size || 28}
>
{extension ? (
<span>{extension?.slice(0, 4)}</span>
) : (
<AttachmentIcon color="currentColor" />
)}
{extension ? <span>{extension?.slice(0, 4)}</span> : <AttachmentIcon />}
</Icon>
);
}

View File

@@ -92,7 +92,7 @@ class Frame extends React.Component<PropsWithRef> {
target="_blank"
rel="noopener noreferrer"
>
<OpenIcon color="currentColor" size={18} /> Open
<OpenIcon size={18} /> Open
</Open>
)}
</Bar>

View File

@@ -172,7 +172,7 @@ const Image = (
>
{!dragging && size.width > 60 && size.height > 60 && props.onDownload && (
<Button onClick={props.onDownload}>
<DownloadIcon color="currentColor" />
<DownloadIcon />
</Button>
)}
<ImageZoom zoomMargin={24}>