Renamed icon_font to icon-font
This commit is contained in:
@@ -38,7 +38,7 @@ How to make changes in the CartoDB icon font
|
||||
If you want to edit, add or remove any icon in our CartoDB font, you should follow these steps:
|
||||
|
||||
- Check you have [Sketch](http://bohemiancoding.com/sketch/) last version.
|
||||
- Open [font.sketch](http://github.com/CartoDB/CartoAssets/blob/master/icon_font/font.sketch) file and make your changes.
|
||||
- Open [font.sketch](http://github.com/CartoDB/CartoAssets/blob/master/icon-font/font.sketch) file and make your changes.
|
||||
|
||||
### Rules for the icons:
|
||||
- Size should have at max 500px of width/height.
|
||||
@@ -50,13 +50,13 @@ If you want to edit, add or remove any icon in our CartoDB font, you should foll
|
||||
|
||||
### When you're done with changes
|
||||
|
||||
- Select all the icons, and export them to `app/assets/fonts/icon_font/svgs` folder (option should be visible in the bottom corner in your Sketch app):
|
||||
- Select all the icons, and export them to `app/assets/fonts/icon-font/svgs` folder (option should be visible in the bottom corner in your Sketch app):
|
||||
- 
|
||||
- Take into account that ```svgs``` folder is ignored.
|
||||
- Open your terminal app and go to the CartoDB root folder.
|
||||
- Install your node dependencies: `npm install`
|
||||
- Now we will generate the new icon fonts + stylesheet. Just run: `./node_modules/.bin/gulp`
|
||||
- Check that your `icon-font.css.scss` and the `cartoIcon` fonts have been edited:
|
||||
- Check that your `icon-font.css.scss` and the `cartoIcon` fonts have been edited:
|
||||
- 
|
||||
|
||||
All done!
|
||||
|
||||
Reference in New Issue
Block a user