You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The use of font_class as the name for the icon is more reasonable because once the icon is uploaded to Iconfont, the name cannot be edited, but 'Font Class / Symbol' can be edited, and it corresponds to the font_class field.
Make the following changes to line 75 of the code:
consticonifyJson=makeIconifyJson(project.name,icons.reduce((obj,item)=>{constsvg=newSVG(item.show_svg);returnObject.assign(obj,{[toKebabCase(item.font_class)]: {// Replace the 'name' property with the 'font_class' property.body: svg.getBody(),
...svg.viewBox,},});},{}));
The text was updated successfully, but these errors were encountered:
The use of
font_class
as the name for the icon is more reasonable because once the icon is uploaded to Iconfont, the name cannot be edited, but 'Font Class / Symbol' can be edited, and it corresponds to thefont_class
field.Make the following changes to line 75 of the code:
The text was updated successfully, but these errors were encountered: