Skip to content

rmosolgo/skyblue_rails

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

Use SkyBlue Sass framework with Ruby on Rails

Resources

License

Stars

Watchers

Forks

Packages

No packages published