Socket
Book a DemoInstallSign in
Socket

webhostinghub-glyphs-rails

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webhostinghub-glyphs-rails

0.0.9
bundlerRubygems
Version published
Maintainers
2
Created
Source

WebHostingHub Glyphs + Rails Build Status Gem Version endorse

With SASS and fonts from WebHostingHub Glyphs, webhostinghub-glyphs-rails is a gem to integrate WebHostingHub Glyphs to your Rails application.

It supports Rails 3.1.1 and older.

Installation

Add webhostinghub-glyphs-rails gem to your Gemfile:

    gem 'webhostinghub-glyphs-rails'

Then add the stylesheet to your Rails assets. The simplest way to apply Font Awesome site-wide is to add a require statement in app/assets/stylesheets/application.css:

    *= require webhostinghub-glyphs

That's it!

If you want to manage where the stylesheet will be used or just prefer SCSS, you can use @import in a SCSS file (e.g. a new file named libs.css.scss) to import the stylesheet:

    @import 'webhostinghub-glyphs';

(By default Rails will import all SCSS files in app/assets/stylesheets, you can change this behavior by modifying application.css.)

You can also use it with the SASS-converted Bootstrap gem, like bootstrap-sass or anjlab-bootstrap-rails. Just require/import webhostinghub-glyphs right after bootstrap.

FAQs

Package last updated on 12 Aug 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.