Skip to content

Update icon generation to branded 128x128 PNG style#64

Open
kevincareycanvas wants to merge 2 commits intomainfrom
kc/icon-generation-updates
Open

Update icon generation to branded 128x128 PNG style#64
kevincareycanvas wants to merge 2 commits intomainfrom
kc/icon-generation-updates

Conversation

@kevincareycanvas
Copy link
Copy Markdown
Collaborator

@kevincareycanvas kevincareycanvas commented Mar 4, 2026

Summary

  • Replace freeform SVG icon generation with a consistent branded design: black rounded square with white Lucide/Tabler stroke icon, 128x128 PNG
  • Convert SVG to PNG using inline uv run --with cairosvg — no new system dependencies required
  • Remove convert_svg_to_png.py and its tests (dead code after inlining conversion)
  • Update all references across skills, commands, agents, and READMEs (48x48 → 128x128)
  • Add "Automated Flow Context" to SKILL.md: brainstorm agent and wrap-up auto-save to assets/ without asking; manual /cpa:create-icon asks user where to save

Test plan

  • Run uv run pytest tests/canvas-plugin-assistant/scripts/ -q — no new failures
  • Grep canvas-plugin-assistant/ for 48x48, convert_svg_to_png, rsvg-convert — zero results
  • Test locally with claude --plugin-dir ./canvas-plugin-assistant and run /cpa:create-icon — verify it uses uv run --with cairosvg, writes SVG to /tmp, outputs 128x128 PNG, deletes temp SVG
  • Verify /cpa:check-setup does NOT mention rsvg-convert and reports expected tools (uv, unbuffer, Canvas CLI)

🤖 Generated with Claude Code

kevincareycanvas and others added 2 commits March 3, 2026 16:15
Replace freeform SVG icon generation with consistent branded design:
black rounded square with white Lucide/Tabler stroke icon, converted
via rsvg-convert. Remove cairosvg-based convert_svg_to_png.py and its
tests. Update all references across skills, commands, agents, and READMEs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Use `uv run --with cairosvg` for SVG-to-PNG conversion instead of
rsvg-convert, eliminating the need for `brew install librsvg`. The
cairosvg package is pulled in transiently by uv — no new system
dependency required.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@kevincareycanvas kevincareycanvas marked this pull request as ready for review March 4, 2026 19:22
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