BootColor
The original idea is from lavish. An online bootstrap theme generator. I decide to wrap it as a gem.
Installation
Add these lines to your application's Gemfile:
gem "bootcolor"
And then execute:
$ bundle
You should create a bootstrap-wrapper.css.scss
and mount in application.css.scss
//= require bootstrap-wrapper.css.scss
And add these two lines in bootstrap-wrapper.css.css
(i.e. Bootcolor required anjlab-bootstrap-rails
)
@import "bootstrap-color-config";
@import "twitter/bootstrap";
Create empty bootstrap-color-config.css.scss
$ touch app/assets/stylesheets/bootstrap-color-config.css.scss
Usage
visit http://your.project.url/switch_theme, paste the image url, what BootColor do is generate bootstrap theme variable for you.
Thanks
Special thanks for mquan for this idea.
Contributing
- Fork it
- 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 new Pull Request