Bootstrap Sass, ready to roll.
To install Bootstrap in Sass, you can download this repository or use the Component package manager.
npm install -g component
component install harp/bootstrap-sass
Your project will look something like this…
myproject/ <-- Your project root (or public dir if in framework-mode)
|- components/ <-- Harp puts components here
| +- harp-bootstrap-sass/ <-- Where this lib gets installed
| …
|- main.scss <-- Where you reference Bootstrap Sass
+- index.jade <-- Where you reference main.css
Now, from within a .scss
file in your project, you can @import
Bootstrap Sass:
@import "components/harp-bootstrap-sass/scss/bootstrap";
Or, just a portion of Bootstrap:
@import "components/harp-bootstrap/scss/variables";
@import "components/harp-bootstrap/scss/mixins";
@import "components/harp-bootstrap/scss/grid";
Bootstrap Sass for Harp is the same as Bootstrap Sass, save a few differences that are blocked by issue #231 in libsass: the img-retina
mixin is not supported, and neither are the Glyphicons partial is not included by default.
This component is Bootstrap Sass, which is Copyright © 2013 Twitter, Inc. under the Apache 2.0 licensed.