antfu / vscode-iconify

🙂 Iconify IntelliSense for VS Code
https://marketplace.visualstudio.com/items?itemName=antfu.iconify
MIT License
453 stars 33 forks source link

fix: icon too small for some icon sets #75

Closed Legend-Master closed 4 months ago

Legend-Master commented 4 months ago

Description

Iconify uses 16px as default size, but we're using 32px by default, this causes some icon sets without width and height fields set to be very small (e.g. Codicon, Bootstrap Icons)

https://github.com/iconify/iconify/blob/c2b52cbf821c6d547f24cc0cc3b2d7a85d8e1bf1/packages/utils/src/icon/defaults.ts#L23-L30

Before:

image

After:

image

Linked Issues

Fixes #61

Additional context

-