Remix-Design / RemixIcon

Open source neutral style icon system
https://remixicon.com
Apache License 2.0
6.68k stars 490 forks source link

Unicode icon #326

Open mmkwip opened 3 years ago

mmkwip commented 3 years ago

On the site we have the possibility of recovering the HTML link, the SVG but not the Unicode to add it to our CSS :(

I have to inspect the element to take it in the CSS

xiaochunjimmy commented 3 years ago

This feature has been pined in the plan board, but it does make a big change to the existing logic, not only the UI performance level. The current problem is that every time we add an icon, the other icons' unicode may changed after the font package is generated.

iamdarkle commented 1 year ago

Is this on the roadmap? I think it's quite necessary.

Picorims commented 1 year ago

The current problem is that every time we add an icon, the other icons' unicode may changed after the font package is generated

@xiaochunjimmy May I ask why things have to be like that to a technical level ? Is this a limitation from the software used to create the icons ? I am just curious about what is the main bottleneck to fixing this (I do not intend to be rude, I am genuinely curious as I am not familiar with creating typeface files :) ).

Using a font in design tools is useful to make icon changes inside components convenient, whereas replacing svg files is quite complicated. Though then it means that when updating the font, all icons are going to be messed up...

I would understand if this is not worth your time or very complicated to solve. Now, even if this limitation exists, since the HTML code is already available on the website, being able to directly copy the unicode character would be very handy! If the website code is open source I would be ok to give it a try myself if needed.