Skip to content

Instantly share code, notes, and snippets.

@walterg2
Created March 11, 2013 18:29
Show Gist options
  • Save walterg2/5136435 to your computer and use it in GitHub Desktop.
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
// 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