No commit activity in last 3 years
No release in over 3 years
Drop in Redeacted font for Rails.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

< 5.1, >= 3.2
 Project Readme

redacted-font-rails

redacted-font-rails provides the Redacted Font and stylesheets as a Rails engine for use with the asset pipeline.

Installation

Add this to your Gemfile:

gem "refacted-font-rails"

and run bundle install.

Usage

In your application.css, include the CSS file:

/*
 *= require redacted-font
 */

Then restart your webserver if it was previously running.

Sass Support

If you prefer SCSS, add this to your application.css.scss file:

@import "redacted-font";

If you use the Sass indented syntax, add this to your application.css.sass file:

@import redacted-font

Styles

Use the provided styles to easily add the font to element:

<div class="font-redacted"></div>
<div class="font-redacted-script"></div>
<div class="font-redacted-script-bold"></div>
<div class="font-redacted-script"></div>

License

The gem is available as open source under the terms of the MIT License.