An open API service indexing awesome lists of open source software.

https://github.com/anthonyshort/component-whitespace

Component plugin to compile styles using css-whitespace
https://github.com/anthonyshort/component-whitespace

Last synced: about 2 months ago
JSON representation

Component plugin to compile styles using css-whitespace

Awesome Lists containing this project

README

        

# component-whitespace

Compile styles using css-whitespace.

## Installation

```
npm install component-whitespace
```

## Usage

```
component build --use component-whitespace
```

Add your files to the `styles` section of your `component.json`

```
{
"name": "foo",
"path": ["local"],
"styles": ["index.styl"]
}
```

Now this:

```
.foo
.bar
color: red
```

Will be converted to this:

```css
.foo .bar {
color: red;
}
```