atom-compile-less-pw

Just a Atom.io Package for compiling LESS-Files to CSS-Files uing node lessc.

pawella

306

0

Bug Reports

0.2.0

MIT

GitHub

Atom Compile Less (pw)

LESS compiler package modeled on the Atom Compile Less for the awesome Atom.io Editor.

Use node.js and lessc

The files are compiled while saving

Settings

Add on top of the file to be compiled, comment.

Example: (css/less/layout.less), this file is compile on save.

// out: ../layout.css, compress: true

@import "colors.less";

.foo {
  p {
    color: @textColor;
  }
}

Example (css/less/colors.less), on save this file compile 'layout.less' (output to layout.css)

// main: ./layout.less
@textColor: #888;

The comment will compile two files

// main: ./layout.less|../admin/layout-admin.less
@textColor: #888;

Manual Atom config (config.cson) is not required.

"*":
  "atom-compile-less-pw":
    showSuccessMessage: true

Show Success Message: Throws Atom Success Notification when files compiled