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
- Host: GitHub
- URL: https://github.com/imba97/uno-colors
- Owner: imba97
- License: mit
- Created: 2025-01-22T14:17:28.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-03-29T11:54:12.000Z (about 1 month ago)
- Last Synced: 2025-04-08T01:16:05.173Z (about 1 month ago)
- Language: TypeScript
- Size: 537 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-unocss - uno-colors - colors) - Generate UnoCSS color gradation by [@imba97](https://github.com/imba97). (Community / Tools)
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
