You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-19
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,7 @@
5
5
[![Build Status][ci-img]][ci]
6
6
[![NPM Version][npm-img]][npm]
7
7
[![NPM Monthly Downloads][dm-img]][npm]
8
+
[![JavaScript Style Guide][std-img]][std]
8
9
9
10
⚠️ The [syntax](#syntax) has changed substantially in `^v.2.0.0` ⚠️
10
11
@@ -15,7 +16,7 @@ Visual examples and online editor on [larsenwork.com/easing-gradients](https://l
15
16
16
17
<br>
17
18
18
-
## Examples
19
+
## Code Examples
19
20
20
21
```css
21
22
.cubic-bezier {
@@ -131,27 +132,12 @@ I wouldn't recommend tweaking from default values but:
131
132
132
133
*`precision: 0.1` is the default and creates ~17 color stops. A higher number creates a more "low poly" gradient and banding becomes very visible when using anything above 0.2.
133
134
*`alphaDecimals: 5` is the default. A lower number can result in banding.
134
-
135
-
<br>
136
-
137
-
## Demo
138
-
139
-
Make sure that you have gulp cli installed and then `cd demo`, `npm install` and `gulp`.
140
-
141
-
If you want to develop then `npm link` in project root and then `npm link postcss-easing-gradients`
142
-
143
-
<br>
144
-
145
-
## Contributions
146
-
147
-
Are more than welcome. Code is linted using:
148
-
149
-
[![js-standard-style][js-img]][js]
135
+
*`colorMode: 'lrgb'` is the default color space used for interpolation and is closest to what most browsers use. Other options are `'rgb', 'hsl', 'lab' and 'lch'` as per [chromajs documentation](http://gka.github.io/chroma.js/#chroma-mix)
0 commit comments