Skip to content

fix(ui): enlarge Figma provider icon - #328

Merged
siisee11 merged 1 commit into
mainfrom
codex/enlarge-figma-logo
Jul 27, 2026
Merged

fix(ui): enlarge Figma provider icon#328
siisee11 merged 1 commit into
mainfrom
codex/enlarge-figma-logo

Conversation

@siisee11

Copy link
Copy Markdown
Contributor

One-Line Summary

The Figma logo now fills the provider icon slot instead of appearing much smaller than neighboring integration logos.

User-Facing Changes

  • The Figma mark in data-source cards grows from roughly 8×9px to 13×20px inside the existing 20px icon slot.
  • The official Figma paths and five brand colors remain unchanged.
  • Dashboard and landing usages receive the same corrected visual scale through the shared FigmaIcon.

Why This Changed

The official asset uses a 1024×1280 canvas, while its visible artwork occupies only the centered 400×600 region. Rendering the full canvas inside a square provider slot scaled the surrounding whitespace along with the mark, making Figma look substantially smaller than Airtable, Granola, and other providers.

How It Changed

  • Cropped FigmaIcon's viewBox from 0 0 1024 1280 to the artwork bounds 312 340 400 600.
  • Kept the official path data and brand color values untouched.
  • Updated the provider icon regression test to lock the artwork-bounds view box.

Bug Fixes

  • Fixed the Figma provider card displaying a tiny logo when the shared icon receives the standard square size.

Extra Context / Decisions

  • The surrounding card layout and shared icon size were not changed, so other provider logos are unaffected.

Verification

  • bun run test -- src/data-sources/provider-icons.test.tsx in packages/ui — 14 tests passed.
  • bunx turbo typecheck --filter @onequery/ui --filter @onequery/dashboard --filter @onequery/landing --json — 3 tasks passed.
  • bunx turbo test --filter @onequery/ui --filter @onequery/dashboard --filter @onequery/landing --json — UI 21, dashboard 66, and landing 28 tests passed.
  • bunx turbo build --filter @onequery/dashboard --filter @onequery/landing --json — 4 tasks passed.
  • bun run format — 1,170 files passed.
  • bunx oxlint --type-aware packages/ui/src/icons/figma-icon.tsx packages/ui/src/data-sources/provider-icons.test.tsx — passed.

Video / Screenshot (Optional)

  • N/A — the task's supplied screenshot documents the previous undersized rendering; the new artwork-bound viewBox is covered by regression test.

@siisee11
siisee11 enabled auto-merge (squash) July 27, 2026 07:50
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
onequery-landing f011cb2 Commit Preview URL

Branch Preview URL
Jul 27 2026, 07:52 AM

@siisee11
siisee11 merged commit 9cab926 into main Jul 27, 2026
9 checks passed
@siisee11
siisee11 deleted the codex/enlarge-figma-logo branch July 27, 2026 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant