Answer the question
In order to leave comments, you need to log in
How to put my theme on bootstrap-sass Rails?
You need to put your theme, for example from bootswatch.com/.
Each theme has less files with variables, how to stick them, as an additional theme for bootstrap on Rails. The bootstrap Sass docs says:
You can also include optional bootstrap theme:
@import "bootstrap/theme";
Answer the question
In order to leave comments, you need to log in
So bootswatch has its own gem.
I did so.
Added this to the Gemfile:
# сам фреймворк от твиттера
gem 'twitter-bootstrap-rails'
# twitter bootstrap css & javascript toolkit
gem 'twitter-bootswatch-rails', '~> 3.2.0'
# twitter bootstrap helpers gem, e.g., alerts etc...
gem 'twitter-bootswatch-rails-helpers'
rails generate scaffold Metric name:string constraint:text
rails g bootstrap:themed Metrics
rails g bootswatch:themed Metrics
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question