Closed ZanyMonk closed 3 years ago
I'd consider that a bit out of scope, but I can see the usefulness of that in some cases.
What do you think the API should look like for this?
We can expose a getIconsStylesheet()
function, which would render and return a simple EJS template based on the generated codepoints and a few options (class prefix, CSS/SCSS/custom template).
The generated file would contain:
@font-face
at-ruleMaybe some other lib should do this job ? You tell me.
Yeah maybe it's better to have this logic separate from the library.
It would be nice to implement automatic stylesheets generation so icon-font-buildr integrates nicely into a building pipeline, for hot-reloading for example.
Do you plan on implementing this in a near future ? Are you open to PRs ?
Nice project you have here :)