# @compai/css-to-theme

> Convert CSS Stats object to a theme object

Latest version **0.0.95** (published 2021-09-03) · 0 weekly downloads

## Install

```sh
npm install @compai/css-to-theme
pnpm add @compai/css-to-theme
yarn add @compai/css-to-theme
bun add @compai/css-to-theme
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.95 |
| Published | 2021-09-03 |
| First published | 2020-10-02 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 9 |
| Unpacked size | 54.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | johno |

## Links

- npm: https://www.npmjs.com/package/@compai/css-to-theme
- npm.io page: https://npm.io/package/@compai/css-to-theme

## Dependencies (9)

- [color](https://npm.io/package/color.md) ^4.0.1
- [chroma-js](https://npm.io/package/chroma-js.md) ^2.1.2
- [node-fetch](https://npm.io/package/node-fetch.md) ^2.6.1
- [@compai/util](https://npm.io/package/@compai/util.md) 0.0.27
- [css-unit-sort](https://npm.io/package/css-unit-sort.md) ^4.0.1
- [@compai/colors](https://npm.io/package/@compai/colors.md) 0.0.101
- [@compai/inputs](https://npm.io/package/@compai/inputs.md) 0.0.32
- [regenerator-runtime](https://npm.io/package/regenerator-runtime.md) ^0.13.9
- [postcss-values-parser](https://npm.io/package/postcss-values-parser.md) ^6.0.0

## Recent versions

- 0.0.95 (latest) — 2021-09-03
- 0.0.94 — 2021-08-25
- 0.0.93 — 2021-08-16
- 0.0.92 — 2021-08-13
- 0.0.91 — 2021-08-10
- 0.0.90 — 2021-07-29
- 0.0.89 — 2021-06-24
- 0.0.88 — 2021-06-22
- 0.0.87 — 2021-06-13
- 0.0.86 — 2021-06-11
- 0.0.85 — 2021-05-28
- 0.0.84 — 2021-05-21
- 0.0.83 — 2021-05-13
- 0.0.82 — 2021-05-06
- 0.0.81 — 2021-04-29
- … 79 more at https://npm.io/package/@compai/css-to-theme/versions

## README

# @compai/css-to-theme

Convert CSS Stats object to a theme object

## Installation

```sh
yarn add @compai/css-to-theme
```

## Usage

```js
import { cssToTheme } from '@compai/css-to-theme'
```

---

> OSS by [Components AI](https://components.ai).

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