tabler / tabler-icons

A set of over 5500 free MIT-licensed high-quality SVG icons for you to use in your web projects.
https://tabler.io/icons
MIT License
17.91k stars 892 forks source link

Discrepencies between documentation and generated content #714

Open superfaz opened 1 year ago

superfaz commented 1 year ago

Hi,

In the documentation, the css classes associated with the icons are of the following format: icon icon-tabler icon-tabler-plus But the generated css classes for React, Vue and the others packages are tabler-icon tabler-icon-plus

From my perspective:

  1. icon should be added to all packages as this css class is expected for tabler to work properly
  2. tabler-icon and tabler-icon-xxx should be used in the documentation as it is more consistent with the ti used with the webfonts approach.
superfaz commented 1 year ago

Hi @codecalm, any plan to have the css class icon back in the generated css classes for react and others packages? I see that was a change during the push to the v2.

codecalm commented 1 year ago

Hi @superfaz, I'll add icon class back in next release 🙂

superfaz commented 12 months ago

Hi @codecalm, Did I miss something? the icon class seems to be still missing. Maybe an issue on my side?

Tested with 2.34.0