chore: Bump outline-icons (#5170
* Bump outline-icons to default use currentColor * wip
This commit is contained in:
@@ -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>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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}>
|
||||
|
||||
Reference in New Issue
Block a user