diff --git a/packages/ui/src/data-sources/provider-icons.test.tsx b/packages/ui/src/data-sources/provider-icons.test.tsx index e005c4c7..789e54a7 100644 --- a/packages/ui/src/data-sources/provider-icons.test.tsx +++ b/packages/ui/src/data-sources/provider-icons.test.tsx @@ -69,12 +69,12 @@ describe("shared provider icon accessibility", () => { expect(markup).toContain("Google Search Console provider"); }); - it("renders Figma with the official full-color brand mark", () => { + it("renders Figma with the official full-color mark cropped to its artwork bounds", () => { const markup = renderProviderIcon("figma", { title: "Figma provider", }); - expect(markup).toContain('viewBox="0 0 1024 1280"'); + expect(markup).toContain('viewBox="312 340 400 600"'); expect(markup).toContain('fill="#24CB71"'); expect(markup).toContain('fill="#FF7237"'); expect(markup).toContain('fill="#00B6FF"'); diff --git a/packages/ui/src/icons/figma-icon.tsx b/packages/ui/src/icons/figma-icon.tsx index 9dcbd870..91b88e9f 100644 --- a/packages/ui/src/icons/figma-icon.tsx +++ b/packages/ui/src/icons/figma-icon.tsx @@ -13,7 +13,7 @@ export function FigmaIcon({ {...props} defaultLabel={defaultLabel} size={size} - viewBox="0 0 1024 1280" + viewBox="312 340 400 600" >