0.0.11 • Published 9 years ago
momicons v0.0.11
To update with new Icons
1. Install dependencies
npm install2. Make changes
Any new Icon definitions should be added to momicons.scss. Designers should give a bundle exported from http://fontastic.me.
This should be in the following format
+ fonts
| + momicons.eot
| + momicons.svg
| + momicons.ttf
| + momicons.woff
+ styles.css
+ icons-reference.htmlSo:
- Replace the
momicons.xxxfont files. - In
momicons.scssreplace all the.mom-icon-name:beforeclasses with the ones fromstyles.css(provided) - Double check that the
@font-face,data-iconandclass^="mom-icon-"stuff is still fine - For sanity sake, update the
icon-reference.htmlwith the one provided and remember to change its stylesheet reference fromstyles.csstomomicons.css
To build:
npm startYou should now have an updated momicons.css
NB:
Sometimes things go wrong on the designers side and an icon gets renamed accidentally. Before committing the changes here, just do a comparision and do a sanity check on the class names to see none of the old ones were renamed.
If so report it immediately
Versioning
You can up the (patch) version in package json, and then tag it on GIT, but for now we not relying on it
0.0.11
9 years ago