fantasticon
fantasticon copied to clipboard
BUG: when changing the --selector still the icons.html file with the "icons" prefix is generated
Have changed the --selector to foo, still the icons.html is generated with "icons" prefix:
<span class="inner">
<i class="**icon** icon-cistern-full"></i>
</span>
<br>
<span class='label'>cistern-full</span>
</div>
... and the icons.html does not work anymore.
Yes, I have the same issue.
prefix
defaults to icon
.
But it seems it can't be changed. There is no separate prefix
parameter.
It would be cool to be able to use:
fantasticon svg -o iconfont -h 1000 --descent 128 -n icons --prefix ki
For the file results to be icons.css
/icons.html
but the prefix to be ki
.
Now, if I use ki
as a name:
fantasticon svg -o iconfont -h 1000 --descent 128 -n ki,
I do get ki.html
but then, like in @tec-lab 's example, the output of <i class="
still says icons
, while in the docs it states that name is the “base name of the font set used both as default asset name and classname prefix (default: icons)”
I think @Wolfr is right. It's about a feature request to split name and prefix and a bug report, that the name parameter doesn't change the prefix.