Skip to content
This repository

how to add bootstrap extension to the gem #388

Closed
leopoldchen opened this Issue September 27, 2012 · 8 comments

3 participants

placeintime toadkicker sambit
placeintime

i have a theme from https://wrapbootstrap.com/, and i want to use it in my rails app.
should i put it into the gem, or just add it to the asset?
if choose the first way, but how, the theme got a compiled bootstrap, and the css files did not write in LESS.

toadkicker
Collaborator

Yes just move the files in the package to their respective locations into /app/assets...eg main.css goes in /app/assets/stylesheets, logo.png goes in /app/assets/images, etc.

placeintime

i still have some questions. Where to put the fonts file. And bootstrap already exist in the wrap theme module, just remove it?

sambit

Hi @toadkicker is there anything else we need to do to incorporate wrapbootstrap themes in this awesome gem? Maybe @seyhunak might share some insight into this?

toadkicker
Collaborator

What do you mean by incorporate them into the gem? I don't believe we're scoped to provide multiple 'themes' and bootstrap provides a pretty good layer to change the default colors and such. See http://twitter.github.com/bootstrap/customize.html for a list of all the possible values you can change.

sambit

I mean the ability to work with theming gems like this one:
https://github.com/scottvrosenthal/twitter-bootswatch-rails

Thanks for you detailed response btw.

toadkicker
Collaborator
sambit

I think I will try to achieve the themed results by modifying my overrides.less file and use the twitter-bootstrap-rails gem.. I find this gem especially useful because of all the nice generators and the fact that it has been covered in railscasts.com.

Thanks for your expert advice!

toadkicker
Collaborator

Closing issue

toadkicker toadkicker closed this April 25, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.