Skip to content

Latest commit

 

History

History
76 lines (66 loc) · 1.95 KB

README.md

File metadata and controls

76 lines (66 loc) · 1.95 KB

Enclave - LESS Framework

A MIXIN framework built with LESS.

You will need Node and LESS to compile Enclave. Enclave is composed of all mixins, so the compiled version in the dist folder is just for example purposes. You will need to import the enclave.less into your main less file that you compile for your project.

Screen Width Sizes Currently Supported

  • 240
  • 320
  • 360
  • 480
  • 533
  • 568
  • 600
  • 603
  • 640
  • 768
  • 800
  • 853
  • 900
  • 966
  • 1024
  • 1050
  • 1080
  • 1200
  • 1280
  • 1366
  • 1440
  • 1600
  • 1680
  • 1920

How to install with Bower

bower install antfuentes87/enclave

How to compile with LESSWatch

I forked jonycheung/Dead-Simple-LESS-Watch-Compiler and modified it so it could compile out to a single file. This way you can have one main less file that has imports of all the other less files. So when you go compile that main less file with all the imports, it creates one CSS file from all your LESS files. A example of this would be to import Enclave and Bootstrap into one main LESS file. Then use my modified LESS compiler to produce one compressed CSS file.

Install antfuentes87/lesswatch by using bower.

bower install antfuentes87/lesswatch

Then run lesswatch with node to watch whatever directory you want and compile out to whatever CSS file you want.

npm PATH_TO_LESSWATCH/lwc.js INPUT_FOLDER OUTPUT_FOLDER INPUT_FILE OUTPUT_FILE Example npm bower_components/lesswatch/lwc.js LESS CSS main.less main.css