Skip to content

Commit

Permalink
Add directionSE icon and apply to home button
Browse files Browse the repository at this point in the history
  • Loading branch information
jameskoster committed Sep 19, 2024
1 parent 1aeb685 commit 1c5d3e4
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/edit-site/src/components/editor/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import { store as noticesStore } from '@wordpress/notices';
import { privateApis as routerPrivateApis } from '@wordpress/router';
import { store as preferencesStore } from '@wordpress/preferences';
import { decodeEntities } from '@wordpress/html-entities';
import { Icon, menu } from '@wordpress/icons';
import { Icon, directionSE } from '@wordpress/icons';

/**
* Internal dependencies
Expand Down Expand Up @@ -292,7 +292,7 @@ export default function EditSiteEditor( { isPostsList = false } ) {
) }
variants={ toggleHomeIconVariants }
>
<Icon icon={ menu } />
<Icon icon={ directionSE } />
</motion.div>
</motion.div>
)
Expand Down
1 change: 1 addition & 0 deletions packages/icons/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### New Features

- Add new `bell` and `bell-unread` icons.
- Add new `directionSE` icon.

## 10.7.0 (2024-09-05)

Expand Down
1 change: 1 addition & 0 deletions packages/icons/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export { default as currencyPound } from './library/currency-pound';
export { default as customPostType } from './library/custom-post-type';
export { default as desktop } from './library/desktop';
export { default as details } from './library/details';
export { default as directionSE } from './library/direction-se';
export { default as drafts } from './library/drafts';
export { default as dragHandle } from './library/drag-handle';
export { default as drawerLeft } from './library/drawer-left';
Expand Down
12 changes: 12 additions & 0 deletions packages/icons/src/library/direction-se.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/**
* WordPress dependencies
*/
import { SVG, Path } from '@wordpress/primitives';

const directionSE = (
<SVG xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<Path d="M9.857 17.648v-1.5h5.26L5.792 6.822 6.852 5.76l9.326 9.326v-5.26h1.5v7.82h-7.82Z" />
</SVG>
);

export default directionSE;

0 comments on commit 1c5d3e4

Please sign in to comment.