Skip to content

Latest commit

 

History

History
 
 

octicons_helper

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

octicons_helper

Gem version

This rails helper lets you easily include svg octicons in your rails apps.

Install

  1. Add this to your Gemfile

    gem 'openproject-octicons_helper'
  2. Use this tag in your erbs

    <%= octicon "alert", :height => 32,  :class => "right left", :"aria-label" => "hi" %>

We recommend including the CSS in the @openproject/octicons-angular npm module. You can also npm install that package and include @openproject/octicons-angular/styles/index.scss in your styles.