chore: Bump outline-icons (#5170
* Bump outline-icons to default use currentColor * wip
This commit is contained in:
@@ -335,16 +335,12 @@ class LinkEditor extends React.Component<Props, State> {
|
||||
tooltip={isInternal ? dictionary.goToLink : dictionary.openLink}
|
||||
>
|
||||
<ToolbarButton onClick={this.handleOpenLink} disabled={!value}>
|
||||
{isInternal ? (
|
||||
<ArrowIcon color="currentColor" />
|
||||
) : (
|
||||
<OpenIcon color="currentColor" />
|
||||
)}
|
||||
{isInternal ? <ArrowIcon /> : <OpenIcon />}
|
||||
</ToolbarButton>
|
||||
</Tooltip>
|
||||
<Tooltip tooltip={dictionary.removeLink}>
|
||||
<ToolbarButton onClick={this.handleRemoveLink}>
|
||||
<CloseIcon color="currentColor" />
|
||||
<CloseIcon />
|
||||
</ToolbarButton>
|
||||
</Tooltip>
|
||||
|
||||
@@ -361,7 +357,7 @@ class LinkEditor extends React.Component<Props, State> {
|
||||
key={result.url}
|
||||
title={result.title}
|
||||
subtitle={result.subtitle}
|
||||
icon={<DocumentIcon color="currentColor" />}
|
||||
icon={<DocumentIcon />}
|
||||
onPointerMove={() => this.handleFocusLink(index)}
|
||||
onClick={this.handleSelectLink(result.url, result.title)}
|
||||
selected={index === selectedIndex}
|
||||
@@ -375,7 +371,7 @@ class LinkEditor extends React.Component<Props, State> {
|
||||
containerRef={this.resultsRef}
|
||||
title={suggestedLinkTitle}
|
||||
subtitle={dictionary.createNewDoc}
|
||||
icon={<PlusIcon color="currentColor" />}
|
||||
icon={<PlusIcon />}
|
||||
onPointerMove={() => this.handleFocusLink(results.length)}
|
||||
onClick={() => {
|
||||
this.handleCreateLink(suggestedLinkTitle);
|
||||
|
||||
@@ -47,7 +47,7 @@ function ToolbarMenu(props: Props) {
|
||||
return (
|
||||
<Tooltip tooltip={item.tooltip} key={index}>
|
||||
<ToolbarButton onClick={handleClick(item)} active={isActive}>
|
||||
{React.cloneElement(item.icon, { color: "currentColor" })}
|
||||
{item.icon}
|
||||
</ToolbarButton>
|
||||
</Tooltip>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user