Smart LESS CSS mixins library.
To install LESS Hat, you can download this repository or use the Component package manager.
npm install -g component
component install harp/lesshatYour 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
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"This component is LESS Hat, which is MIT Licensed.