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
- Fork it ( https://github.com/rmosolgo/skyblue-rails/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request