Regenerate sprites
This commit is contained in:
parent
5cf42c51f5
commit
9fd5850d6e
@ -82,5 +82,8 @@ Green | `#76a723`
|
|||||||
**Modify Icons**
|
**Modify Icons**
|
||||||
|
|
||||||
1. Take the style JSON file and upload it to the [Maki Editor]().
|
1. Take the style JSON file and upload it to the [Maki Editor]().
|
||||||
2. Apply your changes and download the icon set again.
|
2. Apply your changes and download the fonts and icon set again.
|
||||||
3. Ensure you format the JSON first with `cat iconset.json | jq -MS '.'`
|
3. Ensure you format the JSON first with `cat iconset.json | jq -MS '.'`
|
||||||
|
4. Install [spritezero](https://github.com/mapbox/spritezero) `npm install spritezero-cli`
|
||||||
|
5. Generate the low resolution sprites `spritezero sprites/osm-liberty ./svgs/`
|
||||||
|
6. Generate the high resolution sprites `spritezero sprites/osm-liberty@2x ./svgs/`
|
||||||
|
File diff suppressed because one or more lines are too long
Binary file not shown.
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 41 KiB |
File diff suppressed because one or more lines are too long
Binary file not shown.
Before Width: | Height: | Size: 107 KiB After Width: | Height: | Size: 41 KiB |
Loading…
x
Reference in New Issue
Block a user