Skip to content

harp/lesshat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

harp-lesshat

Smart LESS CSS mixins library.

Dependencies

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

Install

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

npm install -g component
component install harp/lesshat

Your Project will look something like this…

myproject/                  <-- your project root (or public dir if in framework-mode)
  |- components/            <-- harp puts components here
  |   +- harp-lesshat/      <-- where this lib gets installed
  |       …
  |- main.styl              <-- where you reference LESS Hat 
  +- index.jade             <-- where you reference main.css

Link

Now, from within a .less file in your project, you can @import LESS Hat:

@import "components/harp-lesshat/less/lesshat.less";

Or, after running harp install bootstrap, use the prefixed version with Bootstrap:

@import "components/harp-bootstrap/less/_bootstrap.less";
@import "components/harp-lesshat/less/_lesshat-prefixed.less"

Resources

License

This component is LESS Hat, which is MIT Licensed.

Packages

No packages published

Languages

  • CSS 100.0%