how to add bootstrap extension to the gem #388

Closed
leopoldchen opened this Issue Sep 28, 2012 · 8 comments

Comments

Projects
None yet
3 participants

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.

Contributor

toadkicker commented Sep 28, 2012

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.

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

34code commented Dec 29, 2012

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?

Contributor

toadkicker commented Dec 29, 2012

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.

34code commented Dec 29, 2012

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.

Contributor

toadkicker commented Dec 29, 2012

In the case of this gem you specified it makes more sense to me to pick
this gem or that one, but not both. This gem has the 'themed' generator
that will spit out ui with bootstrapped css classes in it for a scaffolded
resource. How that actually appears in the browser is still left to you.
When you are talking about packed templates that support bootstrap, there
are two choices I see. One is to use the assets as they are included
without the use of a gem, or the theme author include an overrides.less
that you add to the project including the gem.

On Saturday, December 29, 2012, sambit wrote:

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.


Reply to this email directly or view it on GitHubhttps://github.com/seyhunak/twitter-bootstrap-rails/issues/388#issuecomment-11758925.

34code commented Dec 30, 2012

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!

Contributor

toadkicker commented Apr 26, 2013

Closing issue

@toadkicker toadkicker closed this Apr 26, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment