Skip to content

Commit

Permalink
Update pencil icon.
Browse files Browse the repository at this point in the history
  • Loading branch information
jasmussen committed Sep 9, 2020
1 parent bd8bfea commit b2a21d7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import classnames from 'classnames';
*/
import { __ } from '@wordpress/i18n';
import { Button } from '@wordpress/components';
import { pencil } from '@wordpress/icons';
import { edit } from '@wordpress/icons';

/**
* Internal dependencies
Expand Down Expand Up @@ -38,7 +38,7 @@ export default function LinkViewer( {
/>
{ onEditLinkClick && (
<Button
icon={ pencil }
icon={ edit }
label={ __( 'Edit' ) }
onClick={ onEditLinkClick }
/>
Expand Down
4 changes: 2 additions & 2 deletions packages/block-library/src/embed/embed-controls.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
ToolbarGroup,
} from '@wordpress/components';
import { BlockControls, InspectorControls } from '@wordpress/block-editor';
import { pencil } from '@wordpress/icons';
import { edit } from '@wordpress/icons';

const EmbedControls = ( {
blockSupportsResponsive,
Expand All @@ -27,7 +27,7 @@ const EmbedControls = ( {
<ToolbarButton
className="components-toolbar__control"
label={ __( 'Edit URL' ) }
icon={ pencil }
icon={ edit }
onClick={ switchBackToURLInput }
/>
) }
Expand Down
4 changes: 2 additions & 2 deletions packages/block-library/src/rss/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
ToolbarGroup,
} from '@wordpress/components';
import { useState } from '@wordpress/element';
import { grid, list, pencil, rss } from '@wordpress/icons';
import { grid, list, edit, rss } from '@wordpress/icons';
import { __ } from '@wordpress/i18n';
import ServerSideRender from '@wordpress/server-side-render';

Expand Down Expand Up @@ -75,7 +75,7 @@ export default function RSSEdit( { attributes, setAttributes } ) {

const toolbarControls = [
{
icon: pencil,
icon: edit,
title: __( 'Edit RSS URL' ),
onClick: () => setIsEditing( true ),
},
Expand Down
4 changes: 2 additions & 2 deletions packages/icons/src/library/pencil.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
import { SVG, Path } from '@wordpress/primitives';

const pencil = (
<SVG xmlns="http://www.w3.org/2000/svg" viewBox="-2 -2 24 24">
<Path d="M13.89 3.39l2.71 2.72c.46.46.42 1.24.03 1.64l-8.01 8.02-5.56 1.16 1.16-5.58s7.6-7.63 7.99-8.03c.39-.39 1.22-.39 1.68.07zm-2.73 2.79l-5.59 5.61 1.11 1.11 5.54-5.65zm-2.97 8.23l5.58-5.6-1.07-1.08-5.59 5.6zM13.89 3.39l2.71 2.72c.46.46.42 1.24.03 1.64l-8.01 8.02-5.56 1.16 1.16-5.58s7.6-7.63 7.99-8.03c.39-.39 1.22-.39 1.68.07zm-2.73 2.79l-5.59 5.61 1.11 1.11 5.54-5.65zm-2.97 8.23l5.58-5.6-1.07-1.08-5.59 5.6z" />
<SVG xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<Path d="M4 20h8v-1.5H4V20zM20.5 3.5c-.1-.1-.3-.2-.4-.2H19.8h-.1-.1c-.1 0-.1.1-.2.1l-5.2 4.9-1.6 1.7c-.5-.6-1.2-1-2-1-1.2 0-1.4.8-1.6 1.8-.1.5-.2 1.1-.5 1.6-.4.8-1.3 1.5-2.1 2-.2.1-.4.2-.6.4l-.1.1c-.7.4-1.3.8-1.7 1.3 0 0 .9.4 3 .4 1 0 2.1-.1 3.6-.4 2.7-.5 3.3-2.9 2.7-4.8l7.2-6.8c.3-.3.3-.8 0-1.1z" />
</SVG>
);

Expand Down

0 comments on commit b2a21d7

Please # to comment.