Skip to content
Merged
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/ui/src/data-sources/provider-icons.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,12 @@ describe("shared provider icon accessibility", () => {
expect(markup).toContain("<title>Google Search Console provider</title>");
});

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"');
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/icons/figma-icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export function FigmaIcon({
{...props}
defaultLabel={defaultLabel}
size={size}
viewBox="0 0 1024 1280"
viewBox="312 340 400 600"
>
<path
d="M312 840C312 784.772 356.772 740 412 740H512V840C512 895.228 467.228 940 412 940C356.772 940 312 895.228 312 840Z"
Expand Down
Loading