Skip to content

poc(web): compile icons through unplugin-icons and use em to size icons - #6087

Draft
dev-rb wants to merge 1 commit into
mainfrom
rahul/feat-unplugin-icons
Draft

poc(web): compile icons through unplugin-icons and use em to size icons#6087
dev-rb wants to merge 1 commit into
mainfrom
rahul/feat-unplugin-icons

Conversation

@dev-rb

@dev-rb dev-rb commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

This is just a POC to show moving the icon rendering to be text size based rather than our current absolute rem sizes and also utilizing unplugin-icons to centralize icon imports. Looks at the theme-debug view buttons to get a better look at how it styles

Wire Phosphor and custom SVGs as ~icons modules at the default 1.2em scale, and size Button icons from font-size so a class on the icon still wins.

Wire Phosphor and custom SVGs as ~icons modules at the default 1.2em
scale, and size Button icons from font-size so a class on the icon still wins.
@coderabbitai

coderabbitai Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@dev-rb dev-rb changed the title feat(web): POC compile icons through unplugin-icons poc(web): compile icons through unplugin-icons and use em to size icons Aug 31, 2026
@github-actions

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant