https://github.com/beevelop/fontawesome-spritesheet
Generates PNG Sprite Sheets for Font Awesome (https://fontawesome.io/)
https://github.com/beevelop/fontawesome-spritesheet
List: fontawesome-spritesheet
Last synced: 3 days ago
JSON representation
Generates PNG Sprite Sheets for Font Awesome (https://fontawesome.io/)
- Host: GitHub
- URL: https://github.com/beevelop/fontawesome-spritesheet
- Owner: beevelop
- Created: 2017-03-14T12:03:57.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-14T12:42:08.000Z (over 9 years ago)
- Last Synced: 2025-10-23T05:01:56.573Z (9 months ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Font Awesome Spritesheet Generator
> Simple Docker image to generate Font Awesome icons into a embeddable Spritesheet (@1x and @2x / "retina").
## Example
```bash
# Clone this repo and run
git clone https://github.com/beevelop/fontawesome-spritesheet.git
cd fontawesome-spritesheet
docker build -t fass .
docker run -it -v `pwd`/dist/:/opt/fa/dist/ \
-e COLOR=blue -e SIZE=128 \
--rm fass
```
Results are stored in `/opt/fa/dist` and can be mounted with `-v`.
## Configuration (ENVs)
- `COLOR`: String / hexcode with the color's name (default: `black`)
- `SIZE`: Integer for the @1x resolution (default: `64`)
-----
This plugin uses https://github.com/tupadr3/Font-Awesome-SVG-PNG and https://github.com/Ensighten/grunt-spritesmith for the magic. Thanks guys!