# @sodalife/soui-css

> Soda UI Components Stylesheets

Latest version **0.2.2** (published 2018-06-20) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @sodalife/soui-css
pnpm add @sodalife/soui-css
yarn add @sodalife/soui-css
bun add @sodalife/soui-css
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.2 |
| Published | 2018-06-20 |
| First published | 2017-09-29 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 7 |
| Unpacked size | 79.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | yelo |
| Maintainers | yelo |

## Links

- npm: https://www.npmjs.com/package/@sodalife/soui-css
- npm.io page: https://npm.io/package/@sodalife/soui-css

## Dependencies (7)

- [lost](https://npm.io/package/lost.md) ^8.2.0
- [precss](https://npm.io/package/precss.md) ^2.0.0
- [cssnano](https://npm.io/package/cssnano.md) ^3.10.0
- [autoprefixer](https://npm.io/package/autoprefixer.md) ^7.1.4
- [postcss-calc](https://npm.io/package/postcss-calc.md) ^6.0.0
- [saladcss-bem](https://npm.io/package/saladcss-bem.md) 0.0.2
- [postcss-color-function](https://npm.io/package/postcss-color-function.md) ^4.0.0

## Recent versions

- 0.2.2 (latest) — 2018-06-20
- 0.2.1 — 2017-10-20
- 0.2.0 — 2017-10-19
- 0.1.1 — 2017-09-29
- 0.1.0 — 2017-09-29

## README

# soui.css
> Soda UI Components Stylesheets

## Installation
```sh
npm i --save @sodalife/soui-css
```

## Usage
### rollup
```javascript
// rollup.config.js
import nodejs from 'rollup-plugin-node-resolve'
import babel from 'rollup-plugin-babel'
import postcss from 'rollup-plugin-postcss'
import postcssModules from 'postcss-modules'

const external = require('@yelo/rollup-node-external')

const cssExportMap = {}

export default {
	// ...input and output
  external: external({
    whitelist: [/^@sodalife\/soui-css(\/.*)?/],
  }),
  plugins: [
    nodejs(),
    postcss({
      plugins: [
        ...require('@sodalife/soui-css/postcss.config.js').plugins,
        postcssModules({
          getJSON (id, exportTokens) {
            cssExportMap[id] = exportTokens
          },
        }),
      ],
      getExport (id) {
        return cssExportMap[id]
      },
      extensions: ['.css', '.pcss']
    }),
    babel({
      babelrc: false,
      presets: ['es2015-rollup', 'stage-0', 'react'],
      exclude: ['node_modules/**', '../soui-css/**'],
      externalHelpers: false,
    }),
 ],
}
```

## License
[Apache License 2.0](LICENSE)

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