Created
March 11, 2013 18:29
-
-
Save walterg2/5136435 to your computer and use it in GitHub Desktop.
What is the proper way to import Bootstrap LESS files to use as mixins for project?
I have this so far, but it's including the buttons.less file in my output CSS.
Using: lesscss-maven-plugin, spring web
This file contains 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
// Core variables and mixins | |
@import "bootstrap/variables"; // Modify this for custom colors, font-sizes, etc | |
@import "bootstrap/mixins"; | |
// CSS Reset | |
@import "bootstrap/reset"; | |
// CSS Buttons - Want to use these as mixins, not styles... | |
@import "bootstrap/buttons"; | |
// MBWS Styles | |
#header, header { | |
.makeRow(); | |
} | |
button.annoying { | |
.btn; | |
.btn-danger; | |
.btn-large; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment