Skip to content

Latest commit

 

History

History
57 lines (40 loc) · 1.85 KB

README.md

File metadata and controls

57 lines (40 loc) · 1.85 KB

harp-susy

Susy is a semantic CSS grid system with a responsive twist.

Dependencies

  • Node.jsServer-side JavaScript runtime
  • HarpThe static web server with built-in preprocessing
  • ComponentClient package management for building better web applications

Resources

Install

To install Susy, you can download this repository or use the Component package manager.

npm install -g component
component install harp/susy

Compass Core will also be installed, as Susy uses it. Your project will look something like this…

myproject/                  <-- Your project root (or public dir if in framework-mode)
  |- components/            <-- Harp puts Components here
  |   +- harp-compass/      <-- Where Compass is installed
  |   +- harp-susy/         <-- Where this lib is installed
  |       …
  |- main.scss              <-- Where you reference Compass Core and Susy 
  +- index.jade             <-- Where you reference main.css

Link

Now, from within an .scss file in your project, you can @import Compass Core and Susy:

@import "components/harp-compass/scss/compass";
@import "components/harp-susy/scss/susy";

Or, simply import a portion of Compass:

@import "components/harp-compass/scss/css3";

License

This component is Susy, which is Copyright © 2014 Eric Meyer.