Skip to content
This repository has been archived by the owner on Feb 16, 2018. It is now read-only.

Latest commit

 

History

History
40 lines (29 loc) · 819 Bytes

README.md

File metadata and controls

40 lines (29 loc) · 819 Bytes

cupcake-apps-bar

Icon font is generated with FontCustom.

Usage

# Gemfile
gem "cupcake-apps-bar", :git => "git://github.com/cupcake/apps-bar.git"
# app.rb
require "cupcake-apps-bar"
CupcakeAppsBar::Sprockets.setup(sprockets_environment)
<link href="<%= asset_path("cupcake-apps-bar.css") %>" media="screen" rel="stylesheet" type="text/css" />

<iframe id="apps-sidebar" src="https://url/to/cupcake-apps-bar.html"></iframe>

Compiling

ASSETS_DIR=./build ASSET_ROOT=https://example.com/assets bundle exec rake compile

Contributing

  1. Add new icon svgs to ./src, or manipulate existing ones.
  2. Compile assets
bundle
bundle exec rake compile
  1. Commit and push changes