@hero-design/colors 7.14.2 → 7.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +16 -16
- package/es/index.js +0 -0
- package/lib/index.js +0 -0
- package/package.json +1 -1
- package/types/baseColors/index.d.ts +45 -0
- package/types/baseColors/utils.d.ts +10 -0
- package/types/colorScales/createColorScales.d.ts +0 -0
- package/types/colorScales/createColorScales.js +34 -0
- package/types/colorScales/index.d.ts +0 -0
- package/types/colorScales/index.js +43 -0
- package/types/defaultMobilePalette/index.d.ts +0 -0
- package/types/defaultMobilePalette/index.js +32 -0
- package/types/defaultWebPalette/index.d.ts +0 -0
- package/types/defaultWebPalette/index.js +89 -0
- package/types/eBensPalette/index.d.ts +0 -0
- package/types/eBensPalette/index.js +24 -0
- package/types/ehBrand/index.d.ts +87 -0
- package/types/finTechBrand/index.d.ts +2 -0
- package/types/index.d.ts +0 -0
- package/types/index.js +10 -0
- package/types/jobsPalette/index.d.ts +0 -0
- package/types/jobsPalette/index.js +9 -0
- package/types/swagPalette/index.d.ts +0 -0
- package/types/swagPalette/index.js +17 -0
- package/types/walletPalette/index.d.ts +0 -0
- package/types/walletPalette/index.js +14 -0
- package/types/workPalette/index.d.ts +0 -0
- package/types/workPalette/index.js +12 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
[
|
|
2
|
-
[
|
|
3
|
-
[
|
|
4
|
-
[
|
|
5
|
-
[
|
|
6
|
-
[
|
|
7
|
-
[
|
|
8
|
-
[
|
|
9
|
-
[
|
|
10
|
-
[
|
|
11
|
-
[
|
|
12
|
-
[
|
|
13
|
-
[
|
|
14
|
-
[
|
|
15
|
-
[
|
|
16
|
-
[
|
|
1
|
+
[35m@hero-design/colors:build[0m: cache hit, replaying output [2mf6261c1d0aa44e7b[0m
|
|
2
|
+
[35m@hero-design/colors:build: [0m$ yarn build:js && yarn build:types
|
|
3
|
+
[35m@hero-design/colors:build: [0m$ rollup -c
|
|
4
|
+
[35m@hero-design/colors:build: [0m[36m
|
|
5
|
+
[35m@hero-design/colors:build: [0m[1msrc/index.ts[22m → [1mlib/index.js, es/index.js[22m...[39m
|
|
6
|
+
[35m@hero-design/colors:build: [0m[1m[33m(!) Unresolved dependencies[39m[22m
|
|
7
|
+
[35m@hero-design/colors:build: [0m[90mhttps://rollupjs.org/guide/en/#warning-treating-module-as-external-dependency[39m
|
|
8
|
+
[35m@hero-design/colors:build: [0m[1mhex-rgb[22m (imported by ../../node_modules/parse-css-color/dist/index.esm.js, ../../node_modules/mix-css-color/node_modules/parse-css-color/dist/index.esm.js)
|
|
9
|
+
[35m@hero-design/colors:build: [0m[1m[33m(!) Mixing named and default exports[39m[22m
|
|
10
|
+
[35m@hero-design/colors:build: [0m[90mhttps://rollupjs.org/guide/en/#outputexports[39m
|
|
11
|
+
[35m@hero-design/colors:build: [0m[1mThe following entry modules are using named and default exports together:[22m
|
|
12
|
+
[35m@hero-design/colors:build: [0msrc/index.ts
|
|
13
|
+
[35m@hero-design/colors:build: [0m
|
|
14
|
+
[35m@hero-design/colors:build: [0mConsumers of your bundle will have to use chunk['default'] to access their default export, which may not be what you want. Use `output.exports: 'named'` to disable this warning
|
|
15
|
+
[35m@hero-design/colors:build: [0m[32mcreated [1mlib/index.js, es/index.js[22m in [1m1.4s[22m[39m
|
|
16
|
+
[35m@hero-design/colors:build: [0m$ tsc --emitDeclarationOnly
|
package/es/index.js
CHANGED
|
File without changes
|
package/lib/index.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
declare const BASE_COLORS: {
|
|
2
|
+
readonly grey: {
|
|
3
|
+
base: string;
|
|
4
|
+
} & {
|
|
5
|
+
lighten5: string;
|
|
6
|
+
lighten10: string;
|
|
7
|
+
lighten15: string;
|
|
8
|
+
lighten20: string;
|
|
9
|
+
lighten25: string;
|
|
10
|
+
lighten30: string;
|
|
11
|
+
lighten35: string;
|
|
12
|
+
lighten40: string;
|
|
13
|
+
lighten45: string;
|
|
14
|
+
lighten50: string;
|
|
15
|
+
lighten55: string;
|
|
16
|
+
lighten60: string;
|
|
17
|
+
lighten65: string;
|
|
18
|
+
lighten70: string;
|
|
19
|
+
lighten75: string;
|
|
20
|
+
lighten80: string;
|
|
21
|
+
lighten85: string;
|
|
22
|
+
lighten90: string;
|
|
23
|
+
lighten95: string;
|
|
24
|
+
darken5: string;
|
|
25
|
+
darken10: string;
|
|
26
|
+
darken15: string;
|
|
27
|
+
darken20: string;
|
|
28
|
+
darken25: string;
|
|
29
|
+
darken30: string;
|
|
30
|
+
darken35: string;
|
|
31
|
+
darken40: string;
|
|
32
|
+
darken45: string;
|
|
33
|
+
darken50: string;
|
|
34
|
+
darken55: string;
|
|
35
|
+
darken60: string;
|
|
36
|
+
darken65: string;
|
|
37
|
+
darken70: string;
|
|
38
|
+
darken75: string;
|
|
39
|
+
darken80: string;
|
|
40
|
+
darken85: string;
|
|
41
|
+
darken90: string;
|
|
42
|
+
darken95: string;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
export default BASE_COLORS;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const STEPS: readonly [5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75, 80, 85, 90, 95];
|
|
2
|
+
declare type LIGHTEN_STEPS = `lighten${typeof STEPS[number]}`;
|
|
3
|
+
declare type DARKEN_STEPS = `darken${typeof STEPS[number]}`;
|
|
4
|
+
declare type ColorScales = {
|
|
5
|
+
base: string;
|
|
6
|
+
} & {
|
|
7
|
+
[k in LIGHTEN_STEPS | DARKEN_STEPS]: string;
|
|
8
|
+
};
|
|
9
|
+
declare const createColorScales: (base: string) => ColorScales;
|
|
10
|
+
export { createColorScales };
|
|
File without changes
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import Values from 'values.js';
|
|
2
|
+
const STEPS = [
|
|
3
|
+
5,
|
|
4
|
+
10,
|
|
5
|
+
15,
|
|
6
|
+
20,
|
|
7
|
+
25,
|
|
8
|
+
30,
|
|
9
|
+
35,
|
|
10
|
+
40,
|
|
11
|
+
45,
|
|
12
|
+
50,
|
|
13
|
+
55,
|
|
14
|
+
60,
|
|
15
|
+
65,
|
|
16
|
+
70,
|
|
17
|
+
75,
|
|
18
|
+
80,
|
|
19
|
+
85,
|
|
20
|
+
90,
|
|
21
|
+
95,
|
|
22
|
+
];
|
|
23
|
+
const createColorScales = (base) => {
|
|
24
|
+
const colorValues = new Values(base);
|
|
25
|
+
return {
|
|
26
|
+
...STEPS.reduce((acc, step) => ({
|
|
27
|
+
...acc,
|
|
28
|
+
[`lighten${step}`]: colorValues.tint(step).hexString(),
|
|
29
|
+
[`darken${step}`]: colorValues.shade(step).hexString(),
|
|
30
|
+
}), {}),
|
|
31
|
+
base: colorValues.hexString(),
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
export default createColorScales;
|
|
File without changes
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import createColorScales from './createColorScales';
|
|
2
|
+
const BASE_COLORS = {
|
|
3
|
+
antiFlashWhite: '#f1f2f3',
|
|
4
|
+
blue: '#1dbeee',
|
|
5
|
+
blue1: '#5a68e2',
|
|
6
|
+
nightBlue: '#353957',
|
|
7
|
+
darkBlue: '#25006e',
|
|
8
|
+
maasstrichtBlue: '#001f23',
|
|
9
|
+
ultramarineBlue: '#4568fb',
|
|
10
|
+
aliceBlue: '#ecf0ff',
|
|
11
|
+
jordyBlue: '#92abfc',
|
|
12
|
+
cornflowerBlue: '#5d80f0',
|
|
13
|
+
paua: '#130066',
|
|
14
|
+
green: '#01b39c',
|
|
15
|
+
emerald: '#5ace7d',
|
|
16
|
+
pineGreen: '#017d6d',
|
|
17
|
+
honeydew: '#f0fef4',
|
|
18
|
+
grey: '#a3a6ac',
|
|
19
|
+
currant: '#48000a',
|
|
20
|
+
sonicSilver: '#737479',
|
|
21
|
+
grotesqueGreen: '#6af293',
|
|
22
|
+
mellowApricot: '#ffbe71',
|
|
23
|
+
deepSaffron: '#ffa234',
|
|
24
|
+
pink: '#fe56aa',
|
|
25
|
+
hitPink: '#ffad79',
|
|
26
|
+
apple: '#e3602a',
|
|
27
|
+
purple: '#be83cf',
|
|
28
|
+
scarletGum: '#401960',
|
|
29
|
+
vodka: '#b5c3fd',
|
|
30
|
+
peach: '#f8ac7d',
|
|
31
|
+
pastelRed: '#f46363',
|
|
32
|
+
vermilion: '#de350b',
|
|
33
|
+
linen: '#fcebe7',
|
|
34
|
+
smalt: '#003580',
|
|
35
|
+
violet: '#7622d7',
|
|
36
|
+
violet1: '#8505a2',
|
|
37
|
+
mauve: '#c38cee',
|
|
38
|
+
yellow: '#fadb14',
|
|
39
|
+
seashell: '#ebf4ff',
|
|
40
|
+
gold: '#ffd500',
|
|
41
|
+
};
|
|
42
|
+
const colorScales = Object.entries(BASE_COLORS).reduce((acc, [key, value]) => ({ ...acc, [key]: createColorScales(value) }), {});
|
|
43
|
+
export default colorScales;
|
|
File without changes
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import colorScales from '../colorScales';
|
|
2
|
+
const { maasstrichtBlue, grey, pastelRed, mellowApricot, emerald, vodka, vermilion, deepSaffron, pineGreen, ultramarineBlue, sonicSilver, linen, seashell, honeydew, aliceBlue, antiFlashWhite, } = colorScales;
|
|
3
|
+
const palette = {
|
|
4
|
+
black: '#000000',
|
|
5
|
+
white: '#ffffff',
|
|
6
|
+
greyLight95: grey.lighten95,
|
|
7
|
+
greyLight90: grey.lighten90,
|
|
8
|
+
greyLight75: grey.lighten75,
|
|
9
|
+
greyLight45: grey.lighten45,
|
|
10
|
+
greyLight30: grey.lighten30,
|
|
11
|
+
grey: grey.base,
|
|
12
|
+
maasstrichtBlueLight90: maasstrichtBlue.lighten90,
|
|
13
|
+
maasstrichtBlueLight80: maasstrichtBlue.lighten80,
|
|
14
|
+
maasstrichtBlueLight50: maasstrichtBlue.lighten50,
|
|
15
|
+
maasstrichtBlueLight30: maasstrichtBlue.lighten30,
|
|
16
|
+
maasstrichtBlue: maasstrichtBlue.base,
|
|
17
|
+
pastelRed: pastelRed.base,
|
|
18
|
+
mellowApricot: mellowApricot.base,
|
|
19
|
+
emerald: emerald.base,
|
|
20
|
+
vodka: vodka.base,
|
|
21
|
+
vermilion: vermilion.base,
|
|
22
|
+
deepSaffron: deepSaffron.base,
|
|
23
|
+
pineGreen: pineGreen.base,
|
|
24
|
+
ultramarineBlue: ultramarineBlue.base,
|
|
25
|
+
sonicSilver: sonicSilver.base,
|
|
26
|
+
linen: linen.base,
|
|
27
|
+
seashell: seashell.base,
|
|
28
|
+
honeydew: honeydew.base,
|
|
29
|
+
aliceBlue: aliceBlue.base,
|
|
30
|
+
antiFlashWhite: antiFlashWhite.base,
|
|
31
|
+
};
|
|
32
|
+
export default palette;
|
|
File without changes
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import colorScales from '../colorScales';
|
|
2
|
+
const { blue, ultramarineBlue, green, grey, grotesqueGreen, deepSaffron, pink, purple, vermilion, smalt, violet, yellow, } = colorScales;
|
|
3
|
+
const palette = {
|
|
4
|
+
black: '#000000',
|
|
5
|
+
white: '#ffffff',
|
|
6
|
+
blue: blue.base,
|
|
7
|
+
blueDark30: blue.darken30,
|
|
8
|
+
blueDark75: blue.darken75,
|
|
9
|
+
blueLight30: blue.lighten30,
|
|
10
|
+
blueLight75: blue.lighten75,
|
|
11
|
+
blueLight90: blue.lighten90,
|
|
12
|
+
dodgerBlue: ultramarineBlue.base,
|
|
13
|
+
dodgerBlueDark30: ultramarineBlue.darken30,
|
|
14
|
+
dodgerBlueLight30: ultramarineBlue.lighten30,
|
|
15
|
+
dodgerBlueLight75: ultramarineBlue.lighten75,
|
|
16
|
+
dodgerBlueLight90: ultramarineBlue.lighten90,
|
|
17
|
+
green: green.base,
|
|
18
|
+
greenDark15: green.darken15,
|
|
19
|
+
greenDark30: green.darken30,
|
|
20
|
+
greenDark75: green.darken75,
|
|
21
|
+
greenLight30: green.lighten30,
|
|
22
|
+
greenLight75: green.lighten75,
|
|
23
|
+
greenLight90: green.lighten90,
|
|
24
|
+
grey: grey.base,
|
|
25
|
+
greyDark15: grey.darken15,
|
|
26
|
+
greyDark30: grey.darken30,
|
|
27
|
+
greyDark45: grey.darken45,
|
|
28
|
+
greyDark60: grey.darken60,
|
|
29
|
+
greyDark75: grey.darken75,
|
|
30
|
+
greyLight45: grey.lighten45,
|
|
31
|
+
greyLight60: grey.lighten60,
|
|
32
|
+
greyLight75: grey.lighten75,
|
|
33
|
+
greyLight85: grey.lighten85,
|
|
34
|
+
greyLight90: grey.lighten90,
|
|
35
|
+
greyLight95: grey.lighten95,
|
|
36
|
+
grotesqueGreen: grotesqueGreen.base,
|
|
37
|
+
grotesqueGreenDark45: grotesqueGreen.darken45,
|
|
38
|
+
grotesqueGreenLight60: grotesqueGreen.lighten60,
|
|
39
|
+
grotesqueGreenLight75: grotesqueGreen.lighten75,
|
|
40
|
+
grotesqueGreenLight90: grotesqueGreen.lighten90,
|
|
41
|
+
orange: deepSaffron.base,
|
|
42
|
+
orangeDark15: deepSaffron.darken15,
|
|
43
|
+
orangeDark30: deepSaffron.darken30,
|
|
44
|
+
orangeDark75: deepSaffron.darken75,
|
|
45
|
+
orangeLight30: deepSaffron.lighten30,
|
|
46
|
+
orangeLight75: deepSaffron.lighten75,
|
|
47
|
+
orangeLight90: deepSaffron.lighten90,
|
|
48
|
+
pink: pink.base,
|
|
49
|
+
pinkDark15: pink.darken15,
|
|
50
|
+
pinkDark30: pink.darken30,
|
|
51
|
+
pinkDark45: pink.darken45,
|
|
52
|
+
pinkDark75: pink.darken75,
|
|
53
|
+
pinkLight30: pink.lighten30,
|
|
54
|
+
pinkLight45: pink.lighten45,
|
|
55
|
+
pinkLight75: pink.lighten75,
|
|
56
|
+
pinkLight90: pink.lighten90,
|
|
57
|
+
purple: purple.base,
|
|
58
|
+
purpleDark15: purple.darken15,
|
|
59
|
+
red: vermilion.base,
|
|
60
|
+
redDark15: vermilion.darken15,
|
|
61
|
+
redDark30: vermilion.darken30,
|
|
62
|
+
redDark75: vermilion.darken75,
|
|
63
|
+
redLight15: vermilion.lighten15,
|
|
64
|
+
redLight30: vermilion.lighten30,
|
|
65
|
+
redLight60: vermilion.lighten60,
|
|
66
|
+
redLight75: vermilion.lighten75,
|
|
67
|
+
redLight90: vermilion.lighten90,
|
|
68
|
+
smalt: smalt.base,
|
|
69
|
+
smaltDark75: smalt.darken75,
|
|
70
|
+
smaltLight30: smalt.lighten30,
|
|
71
|
+
smaltLight45: smalt.lighten45,
|
|
72
|
+
smaltLight75: smalt.lighten75,
|
|
73
|
+
smaltLight90: smalt.lighten90,
|
|
74
|
+
violet: violet.base,
|
|
75
|
+
violetDark15: violet.darken15,
|
|
76
|
+
violetDark30: violet.darken30,
|
|
77
|
+
violetDark45: violet.darken45,
|
|
78
|
+
violetDark75: violet.darken75,
|
|
79
|
+
violetLight30: violet.lighten30,
|
|
80
|
+
violetLight60: violet.lighten60,
|
|
81
|
+
violetLight75: violet.lighten75,
|
|
82
|
+
violetLight90: violet.lighten90,
|
|
83
|
+
yellow: yellow.base,
|
|
84
|
+
yellowDark15: yellow.darken15,
|
|
85
|
+
yellowDark75: yellow.darken75,
|
|
86
|
+
yellowLight60: yellow.lighten60,
|
|
87
|
+
yellowLight90: yellow.lighten90,
|
|
88
|
+
};
|
|
89
|
+
export default palette;
|
|
File without changes
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import colorScales from '../colorScales';
|
|
2
|
+
import defaultMobilePalette from '../defaultMobilePalette';
|
|
3
|
+
const { emerald, blue1, nightBlue, darkBlue, grey, deepSaffron, peach, vermilion, pastelRed, mauve, } = colorScales;
|
|
4
|
+
const palette = {
|
|
5
|
+
...defaultMobilePalette,
|
|
6
|
+
nightBlue: nightBlue.base,
|
|
7
|
+
blueLight60: blue1.lighten60,
|
|
8
|
+
blue: blue1.base,
|
|
9
|
+
darkBlue: darkBlue.base,
|
|
10
|
+
darkBlueDark15: darkBlue.darken15,
|
|
11
|
+
green: emerald.base,
|
|
12
|
+
greyDark45: grey.darken45,
|
|
13
|
+
greyDark75: grey.darken75,
|
|
14
|
+
greyLight30: grey.lighten30,
|
|
15
|
+
greyLight45: grey.lighten45,
|
|
16
|
+
greyLight90: grey.lighten90,
|
|
17
|
+
orangeLight30: deepSaffron.lighten30,
|
|
18
|
+
peach: peach.base,
|
|
19
|
+
peachLight75: peach.lighten75,
|
|
20
|
+
red: vermilion.base,
|
|
21
|
+
pastelRed: pastelRed.base,
|
|
22
|
+
mauve: mauve.base,
|
|
23
|
+
};
|
|
24
|
+
export default palette;
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
declare const palette: {
|
|
2
|
+
black: string;
|
|
3
|
+
blue: string;
|
|
4
|
+
blueDark30: string;
|
|
5
|
+
blueDark75: string;
|
|
6
|
+
blueLight30: string;
|
|
7
|
+
blueLight75: string;
|
|
8
|
+
blueLight90: string;
|
|
9
|
+
dodgerBlue: string;
|
|
10
|
+
dodgerBlueDark30: string;
|
|
11
|
+
dodgerBlueLight30: string;
|
|
12
|
+
dodgerBlueLight75: string;
|
|
13
|
+
dodgerBlueLight90: string;
|
|
14
|
+
green: string;
|
|
15
|
+
greenDark15: string;
|
|
16
|
+
greenDark30: string;
|
|
17
|
+
greenDark75: string;
|
|
18
|
+
greenLight30: string;
|
|
19
|
+
greenLight75: string;
|
|
20
|
+
greenLight90: string;
|
|
21
|
+
grey: string;
|
|
22
|
+
greyDark15: string;
|
|
23
|
+
greyDark30: string;
|
|
24
|
+
greyDark45: string;
|
|
25
|
+
greyDark60: string;
|
|
26
|
+
greyDark75: string;
|
|
27
|
+
greyLight45: string;
|
|
28
|
+
greyLight60: string;
|
|
29
|
+
greyLight75: string;
|
|
30
|
+
greyLight85: string;
|
|
31
|
+
greyLight90: string;
|
|
32
|
+
greyLight95: string;
|
|
33
|
+
grotesqueGreen: string;
|
|
34
|
+
grotesqueGreenDark45: string;
|
|
35
|
+
grotesqueGreenLight60: string;
|
|
36
|
+
grotesqueGreenLight75: string;
|
|
37
|
+
grotesqueGreenLight90: string;
|
|
38
|
+
orange: string;
|
|
39
|
+
orangeDark15: string;
|
|
40
|
+
orangeDark30: string;
|
|
41
|
+
orangeDark75: string;
|
|
42
|
+
orangeLight30: string;
|
|
43
|
+
orangeLight75: string;
|
|
44
|
+
orangeLight90: string;
|
|
45
|
+
pink: string;
|
|
46
|
+
pinkDark15: string;
|
|
47
|
+
pinkDark30: string;
|
|
48
|
+
pinkDark45: string;
|
|
49
|
+
pinkDark75: string;
|
|
50
|
+
pinkLight30: string;
|
|
51
|
+
pinkLight45: string;
|
|
52
|
+
pinkLight75: string;
|
|
53
|
+
pinkLight90: string;
|
|
54
|
+
purple: string;
|
|
55
|
+
purpleDark15: string;
|
|
56
|
+
red: string;
|
|
57
|
+
redDark15: string;
|
|
58
|
+
redDark30: string;
|
|
59
|
+
redDark75: string;
|
|
60
|
+
redLight15: string;
|
|
61
|
+
redLight30: string;
|
|
62
|
+
redLight60: string;
|
|
63
|
+
redLight75: string;
|
|
64
|
+
redLight90: string;
|
|
65
|
+
smalt: string;
|
|
66
|
+
smaltDark75: string;
|
|
67
|
+
smaltLight30: string;
|
|
68
|
+
smaltLight45: string;
|
|
69
|
+
smaltLight75: string;
|
|
70
|
+
smaltLight90: string;
|
|
71
|
+
violet: string;
|
|
72
|
+
violetDark15: string;
|
|
73
|
+
violetDark30: string;
|
|
74
|
+
violetDark45: string;
|
|
75
|
+
violetDark75: string;
|
|
76
|
+
violetLight30: string;
|
|
77
|
+
violetLight60: string;
|
|
78
|
+
violetLight75: string;
|
|
79
|
+
violetLight90: string;
|
|
80
|
+
white: string;
|
|
81
|
+
yellow: string;
|
|
82
|
+
yellowDark15: string;
|
|
83
|
+
yellowDark75: string;
|
|
84
|
+
yellowLight60: string;
|
|
85
|
+
yellowLight90: string;
|
|
86
|
+
};
|
|
87
|
+
export default palette;
|
package/types/index.d.ts
CHANGED
|
File without changes
|
package/types/index.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import colorScales from './colorScales';
|
|
2
|
+
import defaultWebPalette from './defaultWebPalette';
|
|
3
|
+
import defaultMobilePalette from './defaultMobilePalette';
|
|
4
|
+
import eBensPalette from './eBensPalette';
|
|
5
|
+
import jobsPalette from './jobsPalette';
|
|
6
|
+
import swagPalette from './swagPalette';
|
|
7
|
+
import walletPalette from './walletPalette';
|
|
8
|
+
import workPalette from './workPalette';
|
|
9
|
+
export { colorScales, defaultWebPalette, defaultMobilePalette, eBensPalette, jobsPalette, swagPalette, walletPalette, workPalette, };
|
|
10
|
+
export default defaultWebPalette;
|
|
File without changes
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import colorScales from '../colorScales';
|
|
2
|
+
import defaultMobilePalette from '../defaultMobilePalette';
|
|
3
|
+
const { apple, currant } = colorScales;
|
|
4
|
+
const palette = {
|
|
5
|
+
...defaultMobilePalette,
|
|
6
|
+
apple: apple.base,
|
|
7
|
+
currant: currant.base,
|
|
8
|
+
};
|
|
9
|
+
export default palette;
|
|
File without changes
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import colorScales from '../colorScales';
|
|
2
|
+
import defaultMobilePalette from '../defaultMobilePalette';
|
|
3
|
+
const { scarletGum, violet1 } = colorScales;
|
|
4
|
+
const palette = {
|
|
5
|
+
...defaultMobilePalette,
|
|
6
|
+
scarletGumLight30: scarletGum.lighten30,
|
|
7
|
+
scarletGumLight50: scarletGum.lighten50,
|
|
8
|
+
scarletGumLight80: scarletGum.lighten80,
|
|
9
|
+
scarletGumLight90: scarletGum.lighten90,
|
|
10
|
+
scarletGum: scarletGum.base,
|
|
11
|
+
violetLight30: violet1.lighten30,
|
|
12
|
+
violetLight50: violet1.lighten50,
|
|
13
|
+
violetLight80: violet1.lighten80,
|
|
14
|
+
violetLight90: violet1.lighten90,
|
|
15
|
+
violet: violet1.base,
|
|
16
|
+
};
|
|
17
|
+
export default palette;
|
|
File without changes
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import colorScales from '../colorScales';
|
|
2
|
+
import defaultMobilePalette from '../defaultMobilePalette';
|
|
3
|
+
const { jordyBlue, cornflowerBlue, paua } = colorScales;
|
|
4
|
+
const palette = {
|
|
5
|
+
...defaultMobilePalette,
|
|
6
|
+
jordyBlueLight30: jordyBlue.lighten30,
|
|
7
|
+
jordyBlueLight50: jordyBlue.lighten50,
|
|
8
|
+
jordyBlueLight70: jordyBlue.lighten70,
|
|
9
|
+
jordyBlueLight90: jordyBlue.lighten90,
|
|
10
|
+
jordyBlue: jordyBlue.base,
|
|
11
|
+
cornflowerBlue: cornflowerBlue.base,
|
|
12
|
+
paua: paua.base,
|
|
13
|
+
};
|
|
14
|
+
export default palette;
|
|
File without changes
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import colorScales from '../colorScales';
|
|
2
|
+
import defaultMobilePalette from '../defaultMobilePalette';
|
|
3
|
+
const { gold } = colorScales;
|
|
4
|
+
const palette = {
|
|
5
|
+
...defaultMobilePalette,
|
|
6
|
+
goldLight20: gold.lighten20,
|
|
7
|
+
goldLight50: gold.lighten50,
|
|
8
|
+
goldLight70: gold.lighten70,
|
|
9
|
+
goldLight90: gold.lighten90,
|
|
10
|
+
gold: gold.base,
|
|
11
|
+
};
|
|
12
|
+
export default palette;
|