Skip to content

beevelop/fontawesome-spritesheet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Font Awesome Spritesheet Generator

Simple Docker image to generate Font Awesome icons into a embeddable Spritesheet (@1x and @2x / "retina").

Example

# 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!

About

Generates PNG Sprite Sheets for Font Awesome (https://fontawesome.io/)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published