forked from gka/chroma.js
-
Notifications
You must be signed in to change notification settings - Fork 3
/
index-light.js
33 lines (26 loc) · 844 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
const chroma = require('./src/chroma');
// feel free to comment out anything to rollup
// a smaller chroma.js built
// io --> convert colors
require('./src/io/css');
require('./src/io/hex');
require('./src/io/hsl');
require('./src/io/lab');
require('./src/io/oklab');
require('./src/io/rgb');
require('./src/io/and');
// operators --> modify existing Colors
require('./src/ops/alpha');
require('./src/ops/darken');
require('./src/ops/get');
require('./src/ops/mix');
require('./src/ops/set');
// interpolators
require('./src/interpolator/lrgb');
require('./src/interpolator/oklab');
// generators -- > create new colors
chroma.mix = chroma.interpolate = require('./src/generator/mix');
// other utility methods
chroma.valid = require('./src/utils/valid');
chroma.noHueAsZero = require('./src/utils/nohueaszero');
module.exports = chroma;