
Security News
Researcher Exposes Zero-Day Clickjacking Vulnerabilities in Major Password Managers
Hacker Demonstrates How Easy It Is To Steal Data From Popular Password Managers
webhostinghub-glyphs-rails
Advanced tools
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.
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
Unknown package
We found that webhostinghub-glyphs-rails demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Hacker Demonstrates How Easy It Is To Steal Data From Popular Password Managers
Security News
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.