Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update icon in home button #65497

Open
wants to merge 2 commits into
base: trunk
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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, homeButton } 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={ homeButton } />
<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;
Loading