unplugin / unplugin-icons

🤹 Access thousands of icons as components on-demand universally.
https://www.npmjs.com/package/unplugin-icons
MIT License
3.65k stars 131 forks source link

About icon aspect ratio #353

Open KeroZhai opened 3 months ago

KeroZhai commented 3 months ago

Describe the bug

Some icons do not have a 1:1 aspect ratio, such as ActiveCampaign in SVG Logos, but unplugin-icons defaults to setting both width and height to 1.2em.

By the way, the same icon looks perfect in Icônes.

Reproduction

NA

System Info

System:
    OS: Windows 10 10.0.19044
    CPU: (16) x64 Intel(R) Xeon(R) Gold 6254 CPU @ 3.10GHz
    Memory: 10.21 GB / 24.00 GB
  Binaries:
    Node: 18.17.1 - C:\Program Files\nodejs\node.EXE
    npm: 9.6.7 - C:\Program Files\nodejs\npm.CMD
    pnpm: 7.6.0 - ~\AppData\Roaming\npm\pnpm.CMD
  Browsers:
    Chrome: 113.0.5672.127
    Edge: Spartan (44.19041.1266.0), Chromium 
(122.0.2365.59)
    Internet Explorer: 11.0.19041.1202

Used Package Manager

pnpm

Validations