# brick-less

> Less processor for brick.js

Latest version **1.1.10** (published 2016-09-11) · ISC license · 0 weekly downloads

## Install

```sh
npm install brick-less
pnpm add brick-less
yarn add brick-less
bun add brick-less
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.10 |
| Published | 2016-09-11 |
| First published | 2016-03-29 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | harttle |
| Maintainers | harttle |
| Keywords | Less, brick.js |

## Links

- npm: https://www.npmjs.com/package/brick-less
- Repository: https://github.com/brick-js/brick-less
- Homepage: https://github.com/brick-js/brick-less#readme
- Issues: https://github.com/brick-js/brick-less/issues
- npm.io page: https://npm.io/package/brick-less

## Dependencies (3)

- [less](https://npm.io/package/less.md) ^2.6.1
- [debug](https://npm.io/package/debug.md) ^2.2.0
- [lodash](https://npm.io/package/lodash.md) ^4.6.1

## Recent versions

- 1.1.10 (latest) — 2016-09-11
- 1.1.9 — 2016-09-11
- 1.1.8 — 2016-09-11
- 1.1.7 — 2016-05-11
- 1.1.6 — 2016-05-11
- 1.1.5 — 2016-04-21
- 1.0.5 — 2016-04-20
- 1.0.4 — 2016-04-20
- 1.0.3 — 2016-04-20
- 1.0.2 — 2016-04-10
- 1.0.1 — 2016-04-06
- 1.0.0 — 2016-03-29

## README

# brick-less

[![NPM version](https://img.shields.io/npm/v/brick-less.svg?style=flat)](https://www.npmjs.org/package/brick-less)
[![Build Status](https://travis-ci.org/brick-js/brick-less.svg?branch=master)](https://travis-ci.org/brick-js/brick-less)
[![Coverage Status](https://coveralls.io/repos/github/brick-js/brick-less/badge.svg?branch=master&foo=bar)](https://coveralls.io/github/brick-js/brick-less?branch=master)
[![Dependency manager](https://david-dm.org/brick-js/brick-less.png)](https://david-dm.org/brick-js/brick-less)

Less processor for [brick.js][brk].

## Mixins/Variables

A [brick.js][brk] module can contain arbitrary files.
Your `index.less` can `import` mixin/variable files in the current directory, 
and in modules directory.

> Less PATH is set to `<current module>:<module root>`.

For example:

```
bricks/
  |-- homepage
  |     |-- index.less
  |     |-- local-mixins.less
  |
  |-- styles
        |-- mixins.less
```

File `homepage/index.less`:

```
// relative to current directory
@import 'local-mixins';

// relative to current directory
@import '../styles/mixins'

// relative to Brick Root, see <https://github.com/brick-js/brick.js/wiki/Quickstart#brick-root>
@import 'styles/mixins';
```

[brk]: https://github.com/brick-js/brick.js

---
_Source: https://npm.io/package/brick-less · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
