Skip to content

Commit d43e683

Browse files
committed
feat(pi): swap Pi Coding Agent icon to the pi glyph and use a black bgColor
1 parent b99367d commit d43e683

3 files changed

Lines changed: 19 additions & 17 deletions

File tree

apps/docs/components/icons.tsx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5318,6 +5318,18 @@ export function SmtpIcon(props: SVGProps<SVGSVGElement>) {
53185318
)
53195319
}
53205320

5321+
export function PiIcon(props: SVGProps<SVGSVGElement>) {
5322+
return (
5323+
<svg {...props} xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 800' fill='currentColor'>
5324+
<path
5325+
fillRule='evenodd'
5326+
d='M165.29 165.29 H517.36 V400 H400 V517.36 H282.65 V634.72 H165.29 Z M282.65 282.65 V400 H400 V282.65 Z'
5327+
/>
5328+
<path d='M517.36 400 H634.72 V634.72 H517.36 Z' />
5329+
</svg>
5330+
)
5331+
}
5332+
53215333
export function SshIcon(props: SVGProps<SVGSVGElement>) {
53225334
return (
53235335
<svg

apps/sim/blocks/blocks/pi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export const PiBlock: BlockConfig<PiResponse> = {
5353
`,
5454
category: 'blocks',
5555
integrationType: IntegrationType.AI,
56-
bgColor: '#6E56CF',
56+
bgColor: '#000000',
5757
icon: PiIcon,
5858
subBlocks: [
5959
{

apps/sim/components/icons.tsx

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5300,22 +5300,12 @@ export function SmtpIcon(props: SVGProps<SVGSVGElement>) {
53005300

53015301
export function PiIcon(props: SVGProps<SVGSVGElement>) {
53025302
return (
5303-
<svg
5304-
{...props}
5305-
xmlns='http://www.w3.org/2000/svg'
5306-
width='24'
5307-
height='24'
5308-
viewBox='0 0 24 24'
5309-
fill='none'
5310-
stroke='currentColor'
5311-
strokeWidth='2'
5312-
strokeLinecap='round'
5313-
strokeLinejoin='round'
5314-
>
5315-
<rect x='2' y='3' width='20' height='18' rx='2' />
5316-
<path d='M7 9h10' />
5317-
<path d='M10 9v7' />
5318-
<path d='M15 9v7' />
5303+
<svg {...props} xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 800' fill='currentColor'>
5304+
<path
5305+
fillRule='evenodd'
5306+
d='M165.29 165.29 H517.36 V400 H400 V517.36 H282.65 V634.72 H165.29 Z M282.65 282.65 V400 H400 V282.65 Z'
5307+
/>
5308+
<path d='M517.36 400 H634.72 V634.72 H517.36 Z' />
53195309
</svg>
53205310
)
53215311
}

0 commit comments

Comments
 (0)