Icon font generated with FontCustom.
# Gemfile
gem "cupcake-icons", :git => "git://github.com/cupcake/cupcake-icons.git"
require "cupcake-icons"
CupcakeIcons::Sprockets.setup(sprockets_environment)
<link href="<%= asset_path("cupcake-icons") %>" media="screen" rel="stylesheet" type="text/css">
or
@import "cupcake-icons";
- Add new icon svgs to
./src
, or manipulate existing ones. - Build icon font
bundle
bundle exec rake compile
- Commit and push changes