gradient-css.js
This module creates css gradient output for gradient.js modules.
Table of contents
gradient.js
Gradient creation library running in the browser 🖌🌈
gradient.js is a javascript module that takes your source colors array and configuration object, and returns a gradient suitable for your needs.
Gradient maker uses chroma-js color manipulation library for gradient generation (Copyright (c) 2011-2017, Gregor Aisch).
Usage
const css = const gradient = css
Options
The angle
is ommited when the type
is set to radial
.
The extent
keyword is ignored if the shape is set to the circle
and the type
is set to linear
.
When you set the type
to radial
, you must provide valid shape
property.