forked from gka/chroma.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex-light.js
34 lines (27 loc) · 865 Bytes
/
index-light.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import chroma from './src/chroma.js';
// feel free to comment out anything to rollup
// a smaller chroma.js built
// io --> convert colors
import './src/io/css/index.js';
import './src/io/hex/index.js';
import './src/io/hsl/index.js';
import './src/io/lab/index.js';
import './src/io/oklab/index.js';
import './src/io/rgb/index.js';
// operators --> modify existing Colors
import './src/ops/alpha.js';
import './src/ops/darken.js';
import './src/ops/get.js';
import './src/ops/mix.js';
import './src/ops/set.js';
import './src/ops/shade.js';
// interpolators
import './src/interpolator/lrgb.js';
import './src/interpolator/oklab.js';
// generators -- > create new colors
import mix from './src/generator/mix';
chroma.mix = chroma.interpolate = mix;
// other utility methods
import valid from './src/utils/valid';
chroma.valid = valid;
export default chroma;