Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
hunghg255 committed Sep 9, 2023
1 parent 7f73d21 commit fc8a4ed
Show file tree
Hide file tree
Showing 10 changed files with 1,585 additions and 125 deletions.
48 changes: 47 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,47 @@
# unbuild template
# uncolur

Install:

```bash
npm i uncolur
```

Usage:

- bin

```js
npx uncolur@latest --color '#ABABAB'
```

- module
```js
import { getColors } from 'uncolur'

const theme = getColors('#ABABAB')

// Using rgb
const theme = getColors('172,172,172')
```

- Result


```js
{
50: '#FBFBFB',
100: '#F7F7F7',
200: '#EAEAEA',
300: '#DDDDDD',
400: '#C4C4C4',
500: '#ABABAB',
600: '#9A9A9A',
700: '#676767',
800: '#4D4D4D',
900: '#333333',
950: '#333333',
}
```

## Playground
[https://uncolur.vercel.app/](https://uncolur.vercel.app/)
Empty file modified bin/cli.mjs
100644 → 100755
Empty file.
Loading

0 comments on commit fc8a4ed

Please sign in to comment.