Skip to content

Commit

Permalink
Changing current site title block logo
Browse files Browse the repository at this point in the history
  • Loading branch information
benazeer-ben committed Jan 13, 2025
1 parent 4673738 commit 3546669
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/site-title/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* WordPress dependencies
*/
import { mapMarker as icon } from '@wordpress/icons';
import { siteTitleIcon as icon } from '@wordpress/icons';

/**
* Internal dependencies
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 @@ -310,3 +310,4 @@ export { default as verse } from './library/verse';
export { default as video } from './library/video';
export { default as widget } from './library/widget';
export { default as wordpress } from './library/wordpress';
export { default as siteTitleIcon } from './library/site-title';
14 changes: 14 additions & 0 deletions packages/icons/src/library/site-title.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/**
* WordPress dependencies
*/
import { SVG, Path } from '@wordpress/primitives';

const siteTitleIcon = (
<SVG xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<Path d="M4 4h16v2H4z" /> { /* Horizontal top bar for the title */ }
<Path d="M10 6v12h4V6h-4z" />{ ' ' }
{ /* Vertical bar representing the "T" */ }
</SVG>
);

export default siteTitleIcon;

0 comments on commit 3546669

Please sign in to comment.