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

https://github.com/imba97/uno-colors

Generate UnoCSS color gradation
https://github.com/imba97/uno-colors

Last synced: 27 days ago
JSON representation

Generate UnoCSS color gradation

Awesome Lists containing this project

README

        

uno-colors 🎨

Generate UnoCSS color gradation

## Usage

Install the package

```bash
pnpm add uno-colors -D
```

Configure `uno.config.ts`

```ts
import { unoColors } from 'uno-colors'
import { defineConfig } from 'unocss'

export default defineConfig({
theme: {
colors: unoColors({
primary: '#64cc96'
})
}
})
```

## Preview

![preview](./images/preview.png)