Skip to content

Latest commit

 

History

History
58 lines (39 loc) · 1.91 KB

README.md

File metadata and controls

58 lines (39 loc) · 1.91 KB

harp-bootstrap-sass

Bootstrap Sass, ready to roll.

Dependencies

  • NodeJSServer-side JavaScript runtime
  • HarpThe static web server with built-in preprocessing

Install

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

Link

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";

Use

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.

Resources

License

This component is Bootstrap Sass, which is Copyright © 2013 Twitter, Inc. under the Apache 2.0 licensed.