@whalue-design/colors
v2.0.0
Published
Color palettes calculator of Whalue Design
Downloads
3
Maintainers
Readme
:art: Color palette calculator of Whalue Design.
Install
$ yarn add @whalue-design/colors
Usage
import {
generate,
presetPalettes,
presetDarkPalettes,
presetPrimaryColors,
red,
orange,
yellow,
lime,
green,
cyan,
blue,
purple,
pink,
grey,
} from "@whalue-design/colors";
console.log(blue);
console.log(blue.primary);
const colors = generate('#2196f3');
console.log(colors);
console.log(presetPalettes);
const darkColors = generate('#2196f3', {
theme: 'dark',
backgroundColor: '#141414'
});
console.log(darkColors);
console.log(presetDarkPalettes);