Hi,

I want to compile Bootstrap css files using method 1 and using one of Bootswatch themes as a basis.

Can I just overwrite Bootstrap's variable.less with the one downloaded from the Bootswatch theme (i guess they contain the same variables?), and finally add the contents of bootswatch.less to style.less?

Comments

markhalliwell’s picture

Title: Bootswatch + Bootstrap method 1 » Add "bootswatch" option to bootstrap-subtheme and bootstrap-wizard drush commands
Version: 7.x-3.0 » 7.x-3.x-dev
Component: Miscellaneous » Code
Category: Support request » Feature request

Short answer: it can be a little complicated/confusing to configure this just right. Yes, overriding the variables and importing the bootswatch.less file is what's needed. However, the sub-theme is currently configured and coupled too tightly.

This is why we're going the route of trying to automate this so a sub-theme can be created appropriately.

markhalliwell’s picture

Component: Code » Drush
Related issues: +#2261189: Add Drush support for creating sub-themes
Sifro’s picture

Thanks for the quick response!
When you have time, can you expand a bit more on "However, the sub-theme is currently configured and coupled too tightly"?

I mean, aren't all the variables in variables.less meant to be edited?

markhalliwell’s picture

Status: Active » Postponed
markhalliwell’s picture

Status: Postponed » Closed (won't fix)

I don't think this is going to happen for 7.x.