Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ahmetozantekin/color2palette
🌈 create palette from a single color
https://github.com/ahmetozantekin/color2palette
Last synced: 2 days ago
JSON representation
🌈 create palette from a single color
- Host: GitHub
- URL: https://github.com/ahmetozantekin/color2palette
- Owner: ahmetozantekin
- Created: 2019-12-12T07:21:35.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-12-12T08:09:12.000Z (about 5 years ago)
- Last Synced: 2024-11-11T08:29:00.635Z (2 months ago)
- Language: CSS
- Size: 4.88 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# color2palette
> sass extension for creating a palette from a single color
[![NPM](https://img.shields.io/npm/v/color2palette.svg)](https://www.npmjs.com/package/color2palette)
## Install
```bash
npm i color2palette
```
or
Clone it 👽## Usage
#### HTML
```html
ul
-for (var x = 1; x < 10; x++)
li(class='step-'+x)
```#### Sass
```css
@import '/color2palette';
@include color2palette(#dc2142, "step", 9);
```#### Example
[Live on CodePen!](https://codepen.io/ahmetozantekin/pen/eYmzzrQ)## License
MIT ©