Releases: Workshape/icon-font-generator
Releases · Workshape/icon-font-generator
v2.1.9
- Implement
--cssfontsurl
option which allows specifying a base url used in the CSS template which will override the otherwise relatively generated one - Ensure using
--csspath
and--htmlpath
will always resolve relativity between each others filepaths, and fix logging of their destinations - Implement
--selector
option which allows specifying more complex base selectors which will be passed to the core library - Add
--tag
option - Ensure the CSS template supports both usage of a
baseSelector
and the previous implementation which would generate a pattern-based selector for the classNames - Import the CSS file in the generated HTML rather than inlining the generated CSS
v2.1.8: Merge pull request #37 from Workshape/bug/string-errors
Correctly log String errors
Changelog
Migrating from v1.x.x
The main three changes to keep in mind are:
- The default classname was changed from
icons-
toicon-
(to match the--help
text) - you can make if behave as before by just adding--prefix icons
to the execution - Node v8.1.0 or higher is now required - Please upgrade node or downgrade the module - nothing wrong with using
v1.1.2
! - Change in the CSS template that is generated: #26
Full Changelog
- Refactoring and clean-up
- Rewrite using async / await
- Add eslint and dependencies as
devDependencies
, make it easier to contribute - Add
codepoints
option that allows feeding a codepoints JSON map - Change default classname prefix from
icons-
toicon-
- Fix parser for Windows environments: #23
- Set
font-family
for onlyi
elements withclassPrefix
: #26