Skip to content

refactor(desktop): replace vuesax icons with Phosphor - #161

Merged
sanchitrk merged 1 commit into
canaryfrom
claude/vuesax-phosphoricons-migration-f7ead3
Nov 13, 2026
Merged

sanchitrk merged 1 commit into
canaryfrom
claude/vuesax-phosphoricons-migration-f7ead3

Conversation

@sanchitrk

@sanchitrk sanchitrk commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Removes the vuesax icon set from apps/web: ~970 copied SVGs, the generated VuesaxName list, and the CSS-mask vuesax.tsx wrapper.
  • Every icon now imports straight from @phosphor-icons/react (already a dependency). Renames went through the TypeScript language service, so only real references changed.
  • strokeWidth props were dropped (Phosphor draws filled outlines); the emphasised ones (2, 2.25) became weight="bold".
  • Icon props are typed with Phosphor's Icon instead of IconComponent/typeof X.
  • apps/widget types widget/frame icons with Phosphor's Icon instead of LucideIcon, and drops lucide-react. components.json now names phosphor as shadcn's icon library.

Icon mapping

Chevron → Caret, Search → MagnifyingGlass, Settings → GearSix, Threads → Chats, Workspace → Stack, Box → Cube, Server → HardDrives, MCP → PlugsConnected, Undo → ArrowCounterClockwise, Refresh → ArrowClockwise, GripVertical → DotsSixVertical, Pin/Unpin → PushPin/PushPinSlash, Maximize/Minimize → CornersOut/CornersIn, spinner → CircleNotch, plus the like-named ones (Check, X, Plus, Trash, Folder, Copy, ...).

Test plan

  • vp check and vp run typecheck pass
  • Ran this branch's build in Electron (its own instance on its own debugging port) and checked it with agent-browser: home, sidebar, titlebar, Threads, every settings page and the New Project picker. No vuesax mask icons remain, and icon sizes are consistent.

🤖 Generated with Claude Code


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Drop the vuesax SVG copies and their mask wrapper, import Phosphor icons
directly, and type widget icons with Phosphor's Icon instead of Lucide's.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sanchitrk
sanchitrk merged commit 42fbdd0 into canary Nov 13, 2026
1 check passed
@sanchitrk
sanchitrk deleted the claude/vuesax-phosphoricons-migration-f7ead3 branch November 13, 2026 15:11
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