Project

silk_icons

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
The Silk icon set is a collection of 1,000 16x16 PNG icons created by Mark James. This gem provides access to the icons as Rails assets.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 3.1.0
 Project Readme

Silk Icons

This is a collection of Mark James's Silk icons tailored to use as Rails assets.

Installation

In your project's Gemfile, add the following line and rerun Bundler.

gem 'silk_icons'

Hot to Use

In views, the silk_icon_tag helper inserts an image tag corresponding to the icon with the given name. For example, to display tick.png, use

<%= silk_icon_tag 'tick' %>

Each icon also has CSS class which can be used to specify that icon as background image. To use them, add

/* =require silk_icons */

to your app/assets/stylesheets/application.css. The rule these class names follow is silk_icon-name.

Terms of Use

The Silk icon set iself is created by Mark James and can be distributed under CC BY 2.5 or 3.0.

Contact

Drop me a message at GitHub or Twitter.