Skip to content

feat: add brand kit with refined mark, icons and social cards - #824

Closed
riccardoperra wants to merge 2 commits into
mainfrom
feat/brand-kit
Closed

riccardoperra wants to merge 2 commits into
mainfrom
feat/brand-kit

Conversation

@riccardoperra

Copy link
Copy Markdown
Owner

Why

Brand files were scattered and didn't match: a flat #07f favicon next to a gradient brand file, separate icon sets in the app and the website, and an old 2022 card as the og:image. This adds one brand kit that a single script generates.

What changes

  • Refined mark. Same shapes and position as the 2.0 mark. The lines go from 14 to 16 units thick so the icon holds up at small sizes. The spacing is now even (the last gap was 1.4 units wider). The gradient is used everywhere, the favicon included.
  • assets/brand/
    • logos/: SVG sources and PNG renders. Mark and logo with wordmark, in full colour for dark and light backgrounds, plus one-colour black and white versions with the lines cut out.
    • icons/: favicon.ico (16, 32, 48), favicon.svg, PNG icons from 16 to 1024 px, apple-touch-icon.png (full-bleed, since iOS applies its own mask), and maskable icons at 192 and 512 px with the lines inside the safe area.
    • social/: Open Graph cards in dark and light, a GitHub social preview, README banners and CLI banners. All are at 2x. They use the grid + glow background and the code window from the website hero.
    • source/: the full-bleed and maskable variants of the mark, and code-window.png, captured from the PR 814 hero.
  • pnpm brand:build (scripts/brand/) renders everything with Playwright's Chromium, which is already a dependency, and writes the ICO directly. No new dependencies.
  • App: the favicon, PWA icons and splash logo are replaced, and an SVG favicon link is added. og:image now points to the new card, with summary_large_image and a twitter:image.
  • README: a <picture> banner that follows the reader's dark or light setting.

Not in this PR

  • CodeImageLogoV2 still draws the old lines. It is also the export watermark, so changing it would alter exported images and the web-vs-CLI watermark comparison. It belongs in its own PR.
  • Website favicon, manifest and og:image: these go onto feat/v2-landing-redesign (feat(website): rebuild the landing page on @codeui/styles #814), which rebuilds apps/website.
  • Old files are kept: assets/codeimage_card.png (production pages still link to it on main), assets/banner.png, and the root codeimage-logo-*.png.
  • GitHub social preview: it has to be uploaded by hand in the repo settings.
  • CLI banner: it uses @codeimage-app/cli, the name on the landing page, which isn't confirmed yet. Change cliPackage in scripts/brand/build.mjs and rerun the script.

Checks

  • Ran pnpm brand:build and looked at every output at its real size: favicon at 16, 32 and 48 in browser tabs, apple-touch icon under an iOS mask, maskable icon under a circle mask, one-colour marks, and all cards.
  • oxlint and oxfmt pass on scripts/brand/, and check-structure passes.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 3abc1bc

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions

github-actions Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@riccardoperra

Copy link
Copy Markdown
Owner Author

Merged into feat/v2-landing-redesign (#814) so the brand kit ships with the new website. That branch also wires the website icons and drops the old logo and icon files. Closing this PR in favour of #814.

This branch was successfully deployed

1 active deployment
Preview — 3abc1bc7 Deployed Nov 30, 2026 by riccardoperra via Deploy preview #2403
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