Skip to content
Create a gist now

Instantly share code, notes, and snippets.

Embed URL


Subversion checkout URL

You can clone with
Download ZIP
application.css.less example overriding Twitter Bootstrap variable (using less-rails-bootstrap)
* application.css.less
*= require_self
@import "twitter/bootstrap/reset.less";
@import "twitter/bootstrap/variables.less";
// Override link color for my app:
@linkColor: #F00;
@import "twitter/bootstrap/mixins.less";
// Grid system and page structure
@import "twitter/bootstrap/scaffolding.less";
// Styled patterns and elements
@import "twitter/bootstrap/type.less";
@import "twitter/bootstrap/forms.less";
@import "twitter/bootstrap/tables.less";
@import "twitter/bootstrap/patterns.less";

Hi, when I place something below the import statement of variables.less like you did, it's not working. The only way I got it working is to change the variables.less itself. Do you what I do wrong?

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.