Skip to content

feat: wire app icons and adopt brand handoff assets#146

Merged
FrkAk merged 3 commits into
mainfrom
feat/wire-app-icons
Jun 18, 2026
Merged

feat: wire app icons and adopt brand handoff assets#146
FrkAk merged 3 commits into
mainfrom
feat/wire-app-icons

Conversation

@FrkAk

@FrkAk FrkAk commented Jun 18, 2026

Copy link
Copy Markdown
Owner

Summary

Task Reference: —

Replaces leftover old-brand (mymir) icons with the official piyaz brand-handoff assets and wires them into the app so every user-facing icon renders the new piyaz mark.

  • Adopt brand-handoff assets: transparent gradient mark (public/piyaz-mark.png, 1024²) and squircle app tiles (public/piyaz-icon-dark.png / piyaz-icon-light.png); rebuild multi-resolution favicon.ico (16/32/48/64) from the handoff favicon.
  • Wire icons via Next metadata: <link> tags for favicon + PNG icon + apple-touch-icon (cache-busted ?v=3), plus a new app/manifest.ts web manifest (192 + 512 tiles). Previously only the bare /favicon.ico was served — apple-icon.png and the manifest PNGs were never referenced.
  • Per-platform background rule: transparent mark where alpha is supported (tab favicon, PNG icon, in-app logo); dark squircle tile where it isn't (apple-touch-icon, PWA install).
  • MCP connector icon: the server now advertises theme-aware icons (serverInfo.icons + websiteUrl + title) so clients like claude.ai show the new mark directly instead of guessing from the (cache-prone) domain favicon.
  • Cleanup: rename stale mymir-* files to piyaz-* (codex plugin logo / composerIcon, demo gif) and update references; remove superseded icon1.png, apple-icon.png, web-app-manifest-*.png. Fix manifest theme_color that was seeded as the old teal #14b8a6 (not in the new palette) → #07080a.

Type of change

  • Bug fix
  • New feature
  • Refactor / cleanup
  • Documentation

Testing

  • Tested locally with bun run dev
  • Linting passes (bun run lint)
  • Typecheck passes (bun run typecheck)

Verified on the dev server: /manifest.webmanifest serves the tile pair; <head> emits the correct icon / apple-touch-icon / manifest links; all five new assets return 200; the four removed orphans return 404.

Notes for reviewer

  • Requires a redeploy of app.piyaz.ai for the icons to appear externally. To clear claude.ai's stale connector icon, remove and re-add the Piyaz connector after deploy.
  • MCP connector icon depends on the client honoring serverInfo.icons; the favicon path remains a correct fallback.
  • Not in this PR (follow-ups): stale brandColor #14B8A6 in plugins/codex/.codex-plugin/plugin.json, and 'MYM' / MYMR-226 text leftovers in lib/mcp/create-server.ts and package.json.

@FrkAk FrkAk merged commit dbfb123 into main Jun 18, 2026
5 checks passed
@FrkAk FrkAk deleted the feat/wire-app-icons branch June 18, 2026 20:03
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