Skip to content

google-sheets: use the official Google Sheets icon on a rounded tile - #1310

Closed
SirajChokshi wants to merge 1 commit into
cursor:mainfrom
SirajChokshi:siraj/google-sheets-logo-4127
Closed

SirajChokshi wants to merge 1 commit into
cursor:mainfrom
SirajChokshi:siraj/google-sheets-logo-4127

Conversation

@SirajChokshi

Copy link
Copy Markdown
Member

What

Replaces third_party/google-sheets/assets/logo.svg with the official Google Sheets product icon, drawn on a white rounded tile with transparent corners, and bumps the plugin to 1.1.1 with a CHANGELOG entry. Nothing else changes.

Why

The current logo is the older Google Sheets page icon on an opaque white 192×192 square. Cursor clients fit plugin logos into rounded chips, and a page shape on an opaque square reads as an app tile. The fitter scales that tile until it covers the chip, which shows the logo at about 2× and crops the top and bottom of the page. Plugin lists in Cursor show a zoomed-in colored page instead of the Sheets icon.

The new logo keeps the white background that the other Google plugins use, but the corners are transparent (rx 42 of 192). The fitter then sees a square white tile, keeps it whole, and puts the page in the middle. The page is 120 of 192 px tall, about 62% of the logo.

Source and license

  • Icon: Google Sheets product logo, sheets_2020q4, as Google serves it from its productlogos CDN: https://fonts.gstatic.com/s/i/productlogos/sheets_2020q4/v11/192px.svg (latest version served, fetched 2026-11-21).
  • The icon paths and colors are copied unchanged. Only a translate and scale transform and the white rounded tile were added.
  • The Google Sheets icon is a trademark of Google LLC. It is not under this repository's MIT license. It is used here only to identify the Google Sheets integration, as the existing Google plugin logos in this repository are.

Verification

  • node scripts/validate-plugins.mjs: All plugins validated successfully.
  • node scripts/generate-pstack-harness-trees.mjs --check and the pstack script tests (304 pass) are unaffected.
  • The logo was drawn as a 512 px PNG with sharp, the way Cursor's logo import stores SVGs. It was then run through Cursor's logo fitter in headless Chromium, both before and after the pending fitter fix that rejects non-square tiles:
Logo Fitter today Fitter with the fix
Logo today tile #18a05d, drawn at 2.00× (cropped) mark #ffffff, drawn at about 0.95×
This PR tile #ffffff, drawn at 1.11× (white tile fills the chip, page whole) same

So this logo shows correctly on current clients without waiting for the client fix.

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.

2 participants