Project

bootcolor

0.01
No commit activity in last 3 years
No release in over 3 years
Auto Generate Color for Bootstrap
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

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

  1. Fork it
  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 new Pull Request