Skip to content

Commit

Permalink
feat: update brand colours
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasguillot committed Feb 8, 2025
1 parent c6f71a0 commit 6d19218
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/blocks/ad-unit/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const settings = {
title,
icon: {
src: pullquote,
foreground: '#36f',
foreground: '#406ebc',
},
category: getCategories().some( ( { slug } ) => slug === 'newspack' ) ? 'newspack' : 'common',
keywords: [
Expand Down
2 changes: 1 addition & 1 deletion src/blocks/tabs-item/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const tabsItem = {
...labels,
icon: {
src: icon,
foreground: '#36f',
foreground: '#406ebc',
},
edit,
save: () => <InnerBlocks.Content />,
Expand Down
2 changes: 1 addition & 1 deletion src/blocks/tabs/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const tabs = {
...labels,
icon: {
src: icon,
foreground: '#36f',
foreground: '#406ebc',
},
edit,
save: () => <InnerBlocks.Content />,
Expand Down
13 changes: 9 additions & 4 deletions src/setup/newspack-logo.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,19 @@
import { Path, SVG } from '@wordpress/components';

const NewspackLogo = ( { size = 24 } ) => (
<SVG className="newspack-logo" width={ size } height={ size } viewBox="0 0 32 32">
<SVG
className="newspack-logo"
width={ size }
height={ size }
viewBox="0 0 24 24"
>
<Path
d="M16 32c8.836 0 16-7.164 16-16S24.836 0 16 0 0 7.164 0 16s7.163 16 16 16z"
fill="#36f"
fill="#003da5"
d="M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Z"
/>
<Path
d="M22.988 16.622h-1.72l-1.103-1.124h2.823v1.124zm0-3.31H18.02l-1.102-1.124h6.071v1.124zm0-3.31h-8.217l-1.103-1.125h9.32v1.125zm0 13.12L9.012 8.878v4.749l.069.071h-.07v9.426h3.451v-5.98l5.867 5.98h4.66z"
fill="#fff"
d="M16.546 13.97v-1.364h-1.364l1.364 1.364ZM13.97 11.394h2.575V10.03h-3.939l1.364 1.364ZM11.394 8.818h5.152V7.455H10.03l1.364 1.363ZM7.455 7.455l9.09 9.09H13.97l-4.697-4.697v4.697H7.455v-9.09Z"
/>
</SVG>
);
Expand Down

0 comments on commit 6d19218

Please sign in to comment.