Created
November 23, 2011 20:38
-
-
Save patshaughnessy/1389826 to your computer and use it in GitHub Desktop.
application.css.less example overriding Twitter Bootstrap variable (using less-rails-bootstrap)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* | |
* 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"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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?