0.0
No commit activity in last 3 years
No release in over 3 years
SkyBlue is a Bootstrap-like style framework written in Sass. `skyblue_rails` adds SkyBlue to the Rails asset pipeline.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

Runtime

>= 3.1
 Project Readme

skyblue_rails Build Status Gem Version

Use SkyBlue Sass framework with Rails. You can choose your own settings, too!

This gem uses the Stanko/skyblue master branch as a source.

Usage

  • Install:

    gem 'skyblue_rails'
    bundle install
    

    then restart your development server.

  • Include in Sass:

    // application.scss
    @import 'skyblue';

    or plain CSS:

    /*
     *= require 'skyblue'
    */
  • There's an IE fix that you can include (but I'm not sure what it's for):

    //= require skyblue/ie

Overrides

If you use Sass, you can override SkyBlue's defaults. To do this, define any variable before importing SkyBlue:

// application.scss

$text-color: #FF22D2;
$font-family: "Comic Sans", sans-serif;
// D:

@import 'skyblue';

You can see the available variables in _variables.scss.

Development

  • Rebuild assets: rake build_assets
    • Clone the source
    • Clear existing assets
    • Copy assets into proper directories
    • Modify & create some files for Rails-friendliness
  • Test: rake test
  • Publish: increment version and rake publish_gem

Contributing

  1. Fork it ( https://github.com/rmosolgo/skyblue-rails/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request