# kolache

> Import and distribute CSS packages

Latest version **0.0.3** (published 2018-02-24) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install kolache
pnpm add kolache
yarn add kolache
bun add kolache
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2018-02-24 |
| First published | 2018-02-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 47.5 KB |
| Known vulnerabilities | 0 (+6 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Keith J. Grant |
| Maintainers | keithjgrant |
| Keywords | postcss, css, postcss-plugin, css-framework, preprocessor, package-management |

## Links

- npm: https://www.npmjs.com/package/kolache
- Repository: https://github.com/keithjgrant/kolache
- Issues: https://github.com/keithjgrant/kolache/issues
- npm.io page: https://npm.io/package/kolache

## Dependencies (4)

- [precss](https://npm.io/package/precss.md) ^3.1.1
- [postcss](https://npm.io/package/postcss.md) ^6.0.16
- [normalize.css](https://npm.io/package/normalize.css.md) ^8.0.0
- [@csstools/sass-import-resolve](https://npm.io/package/@csstools/sass-import-resolve.md) ^1.0.0

## Alternatives

- [style-dictionary](https://npm.io/package/style-dictionary.md) — 2.0M weekly downloads
- [postcss-merge-idents](https://npm.io/package/postcss-merge-idents.md) — 1.7M weekly downloads
- [@fontsource/noto-sans](https://npm.io/package/@fontsource/noto-sans.md) — 93.0K weekly downloads
- [uglifycss](https://npm.io/package/uglifycss.md) — 71.6K weekly downloads
- [mat4-interpolate](https://npm.io/package/mat4-interpolate.md) — 23.3K weekly downloads

## Recent versions

- 0.0.3 (latest) — 2018-02-24
- 0.0.2 — 2018-02-13
- 0.0.1 — 2018-02-11

## README

# Kolache

[![Build Status][ci-img]][ci]

Import and distribute configurable CSS packages via npm.

[postcss]: https://github.com/postcss/postcss
[ci-img]: https://travis-ci.org/keithjgrant/kolache.svg
[ci]: https://travis-ci.org/keithjgrant/kolache

Full documentation at [kolache.keithjgrant.com](https://kolache.keithjgrant.com).

```scss
/* main.css */
@import 'button' as .button;
@import 'button:variant' as .button--danger {
  $color: red;
}

/* button.css */
@export {
  $(name) {
    display: inline-block;
    padding: 0.5em;
    border: 1px solid blue;
    background-color: blue;
  }
}

@export as 'variant' {
  $(name) {
    border-color: $color;
    color: $color;
  }
}
```

Compiles to:

```css
.button {
  display: inline-block;
  padding: 0.5em;
  border: 1px solid blue;
  background-color: blue;
}

.button--danger {
  border-color: red;
  color: red;
}
```

## Usage

```js
postcss([require('kolache')]);
```

See [PostCSS] docs for examples for your environment.

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