@atb-as/theme 5.0.3 → 6.0.0-alpha.2
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/lib/colors.d.ts +76 -0
- package/lib/colors.js +84 -0
- package/lib/colors.js.map +1 -0
- package/lib/theme.css +429 -0
- package/lib/theme.d.ts +42 -36
- package/lib/theme.js.map +1 -1
- package/lib/theme.module.css +429 -0
- package/lib/themes/atb-theme/colors.d.ts +76 -0
- package/lib/themes/atb-theme/colors.js +84 -0
- package/lib/themes/atb-theme/colors.js.map +1 -0
- package/lib/themes/atb-theme/theme.css +413 -223
- package/lib/themes/atb-theme/theme.d.ts +97 -69
- package/lib/themes/atb-theme/theme.js +249 -165
- package/lib/themes/atb-theme/theme.js.map +1 -1
- package/lib/themes/atb-theme/theme.module.css +413 -223
- package/lib/themes/nfk-theme/colors.d.ts +76 -0
- package/lib/themes/nfk-theme/colors.js +84 -0
- package/lib/themes/nfk-theme/colors.js.map +1 -0
- package/lib/themes/nfk-theme/theme.css +407 -217
- package/lib/themes/nfk-theme/theme.js +126 -71
- package/lib/themes/nfk-theme/theme.js.map +1 -1
- package/lib/themes/nfk-theme/theme.module.css +407 -217
- package/lib/typography/android.js +6 -0
- package/lib/typography/android.js.map +1 -1
- package/lib/typography/ios.js +6 -0
- package/lib/typography/ios.js.map +1 -1
- package/lib/typography/types.d.ts +2 -1
- package/lib/typography/types.js +1 -0
- package/lib/typography/types.js.map +1 -1
- package/lib/typography.css +10 -0
- package/lib/typography.module.css +10 -0
- package/package.json +2 -2
|
@@ -1,80 +1,108 @@
|
|
|
1
|
-
import { Themes } from '../../theme';
|
|
2
|
-
export declare const
|
|
3
|
-
light:
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
import { ContrastColor, Themes } from '../../theme';
|
|
2
|
+
export declare const textColors: {
|
|
3
|
+
light: string;
|
|
4
|
+
dark: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const baseColors: {
|
|
7
|
+
gray_0: ContrastColor;
|
|
8
|
+
gray_50: ContrastColor;
|
|
9
|
+
gray_100: ContrastColor;
|
|
10
|
+
gray_150: ContrastColor;
|
|
11
|
+
gray_200: ContrastColor;
|
|
12
|
+
gray_300: ContrastColor;
|
|
13
|
+
gray_400: ContrastColor;
|
|
14
|
+
gray_500: ContrastColor;
|
|
15
|
+
gray_600: ContrastColor;
|
|
16
|
+
gray_700: ContrastColor;
|
|
17
|
+
gray_800: ContrastColor;
|
|
18
|
+
gray_850: ContrastColor;
|
|
19
|
+
gray_900: ContrastColor;
|
|
20
|
+
gray_950: ContrastColor;
|
|
21
|
+
gray_1000: ContrastColor;
|
|
22
|
+
green_100: ContrastColor;
|
|
23
|
+
green_200: ContrastColor;
|
|
24
|
+
green_300: ContrastColor;
|
|
25
|
+
green_400: ContrastColor;
|
|
26
|
+
green_500: ContrastColor;
|
|
27
|
+
green_600: ContrastColor;
|
|
28
|
+
green_700: ContrastColor;
|
|
29
|
+
green_800: ContrastColor;
|
|
30
|
+
green_900: ContrastColor;
|
|
31
|
+
blue_100: ContrastColor;
|
|
32
|
+
blue_200: ContrastColor;
|
|
33
|
+
blue_300: ContrastColor;
|
|
34
|
+
blue_400: ContrastColor;
|
|
35
|
+
blue_500: ContrastColor;
|
|
36
|
+
blue_600: ContrastColor;
|
|
37
|
+
blue_700: ContrastColor;
|
|
38
|
+
blue_800: ContrastColor;
|
|
39
|
+
blue_900: ContrastColor;
|
|
40
|
+
cyan_100: ContrastColor;
|
|
41
|
+
cyan_200: ContrastColor;
|
|
42
|
+
cyan_300: ContrastColor;
|
|
43
|
+
cyan_400: ContrastColor;
|
|
44
|
+
cyan_500: ContrastColor;
|
|
45
|
+
cyan_600: ContrastColor;
|
|
46
|
+
cyan_700: ContrastColor;
|
|
47
|
+
cyan_800: ContrastColor;
|
|
48
|
+
cyan_900: ContrastColor;
|
|
49
|
+
burgundy_100: ContrastColor;
|
|
50
|
+
burgundy_200: ContrastColor;
|
|
51
|
+
burgundy_300: ContrastColor;
|
|
52
|
+
burgundy_400: ContrastColor;
|
|
53
|
+
burgundy_500: ContrastColor;
|
|
54
|
+
burgundy_600: ContrastColor;
|
|
55
|
+
burgundy_700: ContrastColor;
|
|
56
|
+
burgundy_800: ContrastColor;
|
|
57
|
+
burgundy_900: ContrastColor;
|
|
58
|
+
orange_100: ContrastColor;
|
|
59
|
+
orange_200: ContrastColor;
|
|
60
|
+
orange_300: ContrastColor;
|
|
61
|
+
orange_400: ContrastColor;
|
|
62
|
+
orange_500: ContrastColor;
|
|
63
|
+
orange_600: ContrastColor;
|
|
64
|
+
orange_700: ContrastColor;
|
|
65
|
+
orange_800: ContrastColor;
|
|
66
|
+
orange_900: ContrastColor;
|
|
67
|
+
yellow_100: ContrastColor;
|
|
68
|
+
yellow_200: ContrastColor;
|
|
69
|
+
yellow_300: ContrastColor;
|
|
70
|
+
yellow_400: ContrastColor;
|
|
71
|
+
yellow_500: ContrastColor;
|
|
72
|
+
yellow_600: ContrastColor;
|
|
73
|
+
yellow_700: ContrastColor;
|
|
74
|
+
yellow_800: ContrastColor;
|
|
75
|
+
yellow_900: ContrastColor;
|
|
76
|
+
red_100: ContrastColor;
|
|
77
|
+
red_200: ContrastColor;
|
|
78
|
+
red_300: ContrastColor;
|
|
79
|
+
red_400: ContrastColor;
|
|
80
|
+
red_500: ContrastColor;
|
|
81
|
+
red_600: ContrastColor;
|
|
82
|
+
red_700: ContrastColor;
|
|
83
|
+
red_800: ContrastColor;
|
|
84
|
+
red_900: ContrastColor;
|
|
15
85
|
};
|
|
16
86
|
export declare const colors: {
|
|
17
87
|
white: string;
|
|
18
88
|
black: string;
|
|
19
|
-
primary: {
|
|
20
|
-
gray_50: string;
|
|
21
|
-
gray_100: string;
|
|
22
|
-
gray_200: string;
|
|
23
|
-
gray_300: string;
|
|
24
|
-
gray_400: string;
|
|
25
|
-
gray_500: string;
|
|
26
|
-
gray_600: string;
|
|
27
|
-
gray_700: string;
|
|
28
|
-
gray_800: string;
|
|
29
|
-
gray_850: string;
|
|
30
|
-
gray_900: string;
|
|
31
|
-
gray_950: string;
|
|
32
|
-
green_100: string;
|
|
33
|
-
green_200: string;
|
|
34
|
-
green_300: string;
|
|
35
|
-
green_400: string;
|
|
36
|
-
green_500: string;
|
|
37
|
-
green_600: string;
|
|
38
|
-
green_700: string;
|
|
39
|
-
green_800: string;
|
|
40
|
-
green_900: string;
|
|
41
|
-
};
|
|
42
|
-
secondary: {
|
|
43
|
-
cyan_100: string;
|
|
44
|
-
cyan_200: string;
|
|
45
|
-
cyan_300: string;
|
|
46
|
-
cyan_400: string;
|
|
47
|
-
cyan_500: string;
|
|
48
|
-
cyan_600: string;
|
|
49
|
-
cyan_700: string;
|
|
50
|
-
cyan_800: string;
|
|
51
|
-
cyan_900: string;
|
|
52
|
-
blue_100: string;
|
|
53
|
-
blue_200: string;
|
|
54
|
-
blue_300: string;
|
|
55
|
-
blue_400: string;
|
|
56
|
-
blue_500: string;
|
|
57
|
-
blue_600: string;
|
|
58
|
-
blue_700: string;
|
|
59
|
-
blue_800: string;
|
|
60
|
-
blue_900: string;
|
|
61
|
-
yellow_100: string;
|
|
62
|
-
yellow_200: string;
|
|
63
|
-
yellow_500: string;
|
|
64
|
-
red_100: string;
|
|
65
|
-
red_400: string;
|
|
66
|
-
red_500: string;
|
|
67
|
-
red_600: string;
|
|
68
|
-
burgundy_800: string;
|
|
69
|
-
};
|
|
70
89
|
text: {
|
|
71
90
|
light: string;
|
|
72
91
|
dark: string;
|
|
73
92
|
};
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
93
|
+
};
|
|
94
|
+
export declare const backgrounds: {
|
|
95
|
+
light: {
|
|
96
|
+
level0: ContrastColor;
|
|
97
|
+
level1: ContrastColor;
|
|
98
|
+
level2: ContrastColor;
|
|
99
|
+
level3: ContrastColor;
|
|
100
|
+
};
|
|
101
|
+
dark: {
|
|
102
|
+
level0: ContrastColor;
|
|
103
|
+
level1: ContrastColor;
|
|
104
|
+
level2: ContrastColor;
|
|
105
|
+
level3: ContrastColor;
|
|
78
106
|
};
|
|
79
107
|
};
|
|
80
108
|
declare const themes: Themes;
|
|
@@ -1,151 +1,209 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.colors = exports.
|
|
3
|
+
exports.backgrounds = exports.colors = exports.baseColors = exports.textColors = void 0;
|
|
7
4
|
var sizes_1 = require("../../sizes");
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
5
|
+
exports.textColors = {
|
|
6
|
+
light: '#FFFFFF',
|
|
7
|
+
dark: '#000000',
|
|
8
|
+
// secondary: '#00000060',
|
|
9
|
+
// disabled: '#00000020',
|
|
10
|
+
};
|
|
11
|
+
var contrastColor = function (background, textColorType) {
|
|
12
|
+
if (textColorType === void 0) { textColorType = 'dark'; }
|
|
13
|
+
return {
|
|
14
|
+
background: background,
|
|
15
|
+
text: exports.textColors[textColorType],
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
exports.baseColors = {
|
|
19
|
+
// gray
|
|
20
|
+
gray_0: contrastColor('#FFFFFF', 'dark'),
|
|
21
|
+
gray_50: contrastColor('#F1F2F2', 'dark'),
|
|
22
|
+
gray_100: contrastColor('#E3E5E6', 'dark'),
|
|
23
|
+
gray_150: contrastColor('#D5D7D9', 'dark'),
|
|
24
|
+
gray_200: contrastColor('#C7CACC', 'dark'),
|
|
25
|
+
gray_300: contrastColor('#A9AEB1', 'dark'),
|
|
26
|
+
gray_400: contrastColor('#8D9398', 'dark'),
|
|
27
|
+
gray_500: contrastColor('#6F777D', 'dark'),
|
|
28
|
+
gray_600: contrastColor('#555E65', 'light'),
|
|
29
|
+
gray_700: contrastColor('#37424A', 'light'),
|
|
30
|
+
gray_800: contrastColor('#2B343A', 'light'),
|
|
31
|
+
gray_850: contrastColor('#242B30', 'light'),
|
|
32
|
+
gray_900: contrastColor('#1A2024', 'light'),
|
|
33
|
+
gray_950: contrastColor('#101315', 'light'),
|
|
34
|
+
gray_1000: contrastColor('#000000', 'light'),
|
|
35
|
+
// green
|
|
36
|
+
green_100: contrastColor('#E5E8B8', 'dark'),
|
|
37
|
+
green_200: contrastColor('#C9CF6B', 'dark'),
|
|
38
|
+
green_300: contrastColor('#A2AD00', 'dark'),
|
|
39
|
+
green_400: contrastColor('#909A00', 'dark'),
|
|
40
|
+
green_500: contrastColor('#757D00', 'dark'),
|
|
41
|
+
green_600: contrastColor('#5B6100', 'light'),
|
|
42
|
+
green_700: contrastColor('#464A00', 'light'),
|
|
43
|
+
green_800: contrastColor('#323600', 'light'),
|
|
44
|
+
green_900: contrastColor('#1F2100', 'light'),
|
|
45
|
+
// blue
|
|
46
|
+
blue_100: contrastColor('#D4E9EC', 'dark'),
|
|
47
|
+
blue_200: contrastColor('#A6D1D9', 'dark'),
|
|
48
|
+
blue_300: contrastColor('#75B8C4', 'dark'),
|
|
49
|
+
blue_400: contrastColor('#429EAE', 'dark'),
|
|
50
|
+
blue_500: contrastColor('#007C92', 'light'),
|
|
51
|
+
blue_600: contrastColor('#006678', 'light'),
|
|
52
|
+
blue_700: contrastColor('#004E5C', 'light'),
|
|
53
|
+
blue_800: contrastColor('#003943', 'light'),
|
|
54
|
+
blue_900: contrastColor('#002329', 'light'),
|
|
55
|
+
// cyan
|
|
56
|
+
cyan_100: contrastColor('#BFEDF1', 'dark'),
|
|
57
|
+
cyan_200: contrastColor('#71D6E0', 'dark'),
|
|
58
|
+
cyan_300: contrastColor('#62BAC3', 'dark'),
|
|
59
|
+
cyan_400: contrastColor('#539CA4', 'dark'),
|
|
60
|
+
cyan_500: contrastColor('#448086', 'dark'),
|
|
61
|
+
cyan_600: contrastColor('#356569', 'light'),
|
|
62
|
+
cyan_700: contrastColor('#294D51', 'light'),
|
|
63
|
+
cyan_800: contrastColor('#1D383A', 'light'),
|
|
64
|
+
cyan_900: contrastColor('#122224', 'light'),
|
|
65
|
+
// burgundy
|
|
66
|
+
burgundy_100: contrastColor('#E8E3E6', 'dark'),
|
|
67
|
+
burgundy_200: contrastColor('#D0C7CE', 'dark'),
|
|
68
|
+
burgundy_300: contrastColor('#B7A9B3', 'dark'),
|
|
69
|
+
burgundy_400: contrastColor('#A08E9B', 'dark'),
|
|
70
|
+
burgundy_500: contrastColor('#867080', 'dark'),
|
|
71
|
+
burgundy_600: contrastColor('#6F5468', 'light'),
|
|
72
|
+
burgundy_700: contrastColor('#5B3C53', 'light'),
|
|
73
|
+
burgundy_800: contrastColor('#4B2942', 'light'),
|
|
74
|
+
burgundy_900: contrastColor('#2C1827', 'light'),
|
|
75
|
+
// orange
|
|
76
|
+
orange_100: contrastColor('#F5E1D4', 'dark'),
|
|
77
|
+
orange_200: contrastColor('#EAC1A5', 'dark'),
|
|
78
|
+
orange_300: contrastColor('#DEA076', 'dark'),
|
|
79
|
+
orange_400: contrastColor('#D27C41', 'dark'),
|
|
80
|
+
orange_500: contrastColor('#C75B12', 'dark'),
|
|
81
|
+
orange_600: contrastColor('#97450E', 'light'),
|
|
82
|
+
orange_700: contrastColor('#73350A', 'light'),
|
|
83
|
+
orange_800: contrastColor('#542608', 'light'),
|
|
84
|
+
orange_900: contrastColor('#341805', 'light'),
|
|
85
|
+
// yellow
|
|
86
|
+
yellow_100: contrastColor('#F0E973', 'dark'),
|
|
87
|
+
yellow_200: contrastColor('#E4D700', 'dark'),
|
|
88
|
+
yellow_300: contrastColor('#C6AE00', 'dark'),
|
|
89
|
+
yellow_400: contrastColor('#AF9000', 'dark'),
|
|
90
|
+
yellow_500: contrastColor('#977000', 'dark'),
|
|
91
|
+
yellow_600: contrastColor('#815200', 'light'),
|
|
92
|
+
yellow_700: contrastColor('#6F3A00', 'light'),
|
|
93
|
+
yellow_800: contrastColor('#5C2000', 'light'),
|
|
94
|
+
yellow_900: contrastColor('#460200', 'light'),
|
|
95
|
+
// red
|
|
96
|
+
red_100: contrastColor('#EED2DB', 'dark'),
|
|
97
|
+
red_200: contrastColor('#E4B8C6', 'dark'),
|
|
98
|
+
red_300: contrastColor('#D691A7', 'dark'),
|
|
99
|
+
red_400: contrastColor('#C76B89', 'dark'),
|
|
100
|
+
red_500: contrastColor('#B74166', 'dark'),
|
|
101
|
+
red_600: contrastColor('#A51140', 'light'),
|
|
102
|
+
red_700: contrastColor('#7D0D31', 'light'),
|
|
103
|
+
red_800: contrastColor('#5C0A24', 'light'),
|
|
104
|
+
red_900: contrastColor('#380616', 'light'),
|
|
22
105
|
};
|
|
23
106
|
exports.colors = {
|
|
24
|
-
white:
|
|
25
|
-
black:
|
|
26
|
-
primary: {
|
|
27
|
-
// grays
|
|
28
|
-
gray_50: '#F1F2F2',
|
|
29
|
-
gray_100: '#E3E5E6',
|
|
30
|
-
gray_200: '#C7CACC',
|
|
31
|
-
gray_300: '#A9AEB1',
|
|
32
|
-
gray_400: '#8D9398',
|
|
33
|
-
gray_500: '#6F777D',
|
|
34
|
-
gray_600: '#555E65',
|
|
35
|
-
gray_700: '#37424A',
|
|
36
|
-
gray_800: '#2B343A',
|
|
37
|
-
gray_850: '#242B30',
|
|
38
|
-
gray_900: '#1A2024',
|
|
39
|
-
gray_950: '#101315',
|
|
40
|
-
// greens
|
|
41
|
-
green_100: '#E5E8B8',
|
|
42
|
-
green_200: '#C9CF6B',
|
|
43
|
-
green_300: '#A2AD00',
|
|
44
|
-
green_400: '#909A00',
|
|
45
|
-
green_500: '#757D00',
|
|
46
|
-
green_600: '#5B6100',
|
|
47
|
-
green_700: '#464A00',
|
|
48
|
-
green_800: '#323600',
|
|
49
|
-
green_900: '#1F2100',
|
|
50
|
-
},
|
|
51
|
-
secondary: {
|
|
52
|
-
// cyan
|
|
53
|
-
cyan_100: '#BFEDF1',
|
|
54
|
-
cyan_200: '#71D6E0',
|
|
55
|
-
cyan_300: '#62BAC3',
|
|
56
|
-
cyan_400: '#539CA4',
|
|
57
|
-
cyan_500: '#448086',
|
|
58
|
-
cyan_600: '#356569',
|
|
59
|
-
cyan_700: '#294D51',
|
|
60
|
-
cyan_800: '#1D383A',
|
|
61
|
-
cyan_900: '#122224',
|
|
62
|
-
// i got the blues
|
|
63
|
-
blue_100: '#D4E9EC',
|
|
64
|
-
blue_200: '#A6D1D9',
|
|
65
|
-
blue_300: '#75B8C4',
|
|
66
|
-
blue_400: '#429EAE',
|
|
67
|
-
blue_500: '#007C92',
|
|
68
|
-
blue_600: '#006678',
|
|
69
|
-
blue_700: '#004E5C',
|
|
70
|
-
blue_800: '#003943',
|
|
71
|
-
blue_900: '#002329',
|
|
72
|
-
yellow_100: '#F0E973',
|
|
73
|
-
yellow_200: '#E4D700',
|
|
74
|
-
yellow_500: '#977000',
|
|
75
|
-
red_100: '#EED2DB',
|
|
76
|
-
red_400: '#C76B89',
|
|
77
|
-
red_500: '#B74166',
|
|
78
|
-
red_600: '#A51140',
|
|
79
|
-
burgundy_800: '#4B2942',
|
|
80
|
-
},
|
|
107
|
+
white: exports.baseColors.gray_0.background,
|
|
108
|
+
black: exports.baseColors.gray_1000.background,
|
|
81
109
|
text: {
|
|
82
|
-
light:
|
|
83
|
-
dark:
|
|
84
|
-
},
|
|
85
|
-
other: {
|
|
86
|
-
orange_500: '#C75B12',
|
|
87
|
-
ekspressen_500: '#ED6C05',
|
|
88
|
-
ekspressen_600: '#C75B12',
|
|
110
|
+
light: exports.baseColors.gray_0.background,
|
|
111
|
+
dark: exports.baseColors.gray_1000.background,
|
|
89
112
|
},
|
|
90
113
|
};
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
114
|
+
exports.backgrounds = {
|
|
115
|
+
light: {
|
|
116
|
+
level0: exports.baseColors.gray_0,
|
|
117
|
+
level1: exports.baseColors.gray_50,
|
|
118
|
+
level2: exports.baseColors.gray_100,
|
|
119
|
+
level3: exports.baseColors.gray_150,
|
|
120
|
+
},
|
|
121
|
+
dark: {
|
|
122
|
+
level0: exports.baseColors.gray_1000,
|
|
123
|
+
level1: exports.baseColors.gray_850,
|
|
124
|
+
level2: exports.baseColors.gray_700,
|
|
125
|
+
level3: exports.baseColors.gray_600,
|
|
126
|
+
},
|
|
95
127
|
};
|
|
96
128
|
var themes = {
|
|
97
129
|
light: {
|
|
98
130
|
spacings: sizes_1.spacings,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
131
|
+
interactive: {
|
|
132
|
+
interactive_0: {
|
|
133
|
+
default: exports.baseColors.blue_500,
|
|
134
|
+
hover: exports.baseColors.blue_600,
|
|
135
|
+
active: exports.baseColors.blue_200,
|
|
136
|
+
disabled: exports.baseColors.blue_100,
|
|
137
|
+
outline: exports.baseColors.cyan_200,
|
|
138
|
+
},
|
|
139
|
+
interactive_1: {
|
|
140
|
+
default: exports.baseColors.gray_600,
|
|
141
|
+
hover: exports.baseColors.gray_500,
|
|
142
|
+
active: exports.baseColors.gray_900,
|
|
143
|
+
disabled: exports.baseColors.gray_200,
|
|
144
|
+
outline: exports.baseColors.blue_500,
|
|
145
|
+
},
|
|
146
|
+
interactive_2: {
|
|
147
|
+
default: exports.baseColors.gray_0,
|
|
148
|
+
hover: exports.baseColors.blue_100,
|
|
149
|
+
active: exports.baseColors.blue_200,
|
|
150
|
+
disabled: exports.baseColors.gray_0,
|
|
151
|
+
outline: exports.baseColors.blue_500,
|
|
152
|
+
},
|
|
153
|
+
interactive_3: {
|
|
154
|
+
default: exports.baseColors.green_300,
|
|
155
|
+
hover: exports.baseColors.green_200,
|
|
156
|
+
active: exports.baseColors.green_700,
|
|
157
|
+
disabled: exports.baseColors.green_100,
|
|
158
|
+
outline: exports.baseColors.blue_500,
|
|
159
|
+
},
|
|
160
|
+
interactive_destructive: {
|
|
161
|
+
default: exports.baseColors.red_600,
|
|
162
|
+
hover: exports.baseColors.red_500,
|
|
163
|
+
active: exports.baseColors.red_900,
|
|
164
|
+
disabled: exports.baseColors.red_100,
|
|
165
|
+
outline: exports.baseColors.blue_500,
|
|
127
166
|
},
|
|
128
|
-
|
|
129
|
-
|
|
167
|
+
},
|
|
168
|
+
static: {
|
|
169
|
+
background: {
|
|
170
|
+
background_0: exports.baseColors.gray_0,
|
|
171
|
+
background_1: exports.baseColors.gray_50,
|
|
172
|
+
background_2: exports.baseColors.gray_100,
|
|
173
|
+
background_3: exports.baseColors.gray_150,
|
|
174
|
+
background_accent_0: exports.baseColors.gray_700,
|
|
175
|
+
background_accent_1: exports.baseColors.gray_600,
|
|
176
|
+
background_accent_2: exports.baseColors.blue_100,
|
|
177
|
+
background_accent_3: exports.baseColors.blue_500,
|
|
178
|
+
background_accent_4: exports.baseColors.green_100,
|
|
130
179
|
},
|
|
131
|
-
|
|
132
|
-
|
|
180
|
+
transport: {
|
|
181
|
+
transport_city: exports.baseColors.green_300,
|
|
182
|
+
transport_region: exports.baseColors.blue_500,
|
|
183
|
+
transport_boat: exports.baseColors.cyan_200,
|
|
184
|
+
transport_train: exports.baseColors.burgundy_800,
|
|
185
|
+
transport_airport: exports.baseColors.orange_500,
|
|
186
|
+
transport_plane: exports.baseColors.orange_500,
|
|
187
|
+
transport_other: exports.baseColors.gray_600,
|
|
133
188
|
},
|
|
134
|
-
|
|
135
|
-
|
|
189
|
+
status: {
|
|
190
|
+
valid: exports.baseColors.green_300,
|
|
191
|
+
info: exports.baseColors.cyan_200,
|
|
192
|
+
warning: exports.baseColors.yellow_200,
|
|
193
|
+
error: exports.baseColors.red_600,
|
|
136
194
|
},
|
|
137
195
|
},
|
|
138
196
|
text: {
|
|
139
197
|
colors: {
|
|
140
|
-
primary: exports.
|
|
141
|
-
secondary:
|
|
142
|
-
disabled:
|
|
198
|
+
primary: exports.baseColors.gray_1000.background,
|
|
199
|
+
secondary: exports.baseColors.gray_600.background,
|
|
200
|
+
disabled: exports.baseColors.gray_300.background,
|
|
143
201
|
},
|
|
144
202
|
},
|
|
145
203
|
border: {
|
|
146
|
-
primary: exports.
|
|
204
|
+
primary: exports.baseColors.gray_50.background,
|
|
147
205
|
secondary: exports.colors.text.dark,
|
|
148
|
-
focus: exports.
|
|
206
|
+
focus: exports.baseColors.blue_500.background,
|
|
149
207
|
radius: sizes_1.borderRadius,
|
|
150
208
|
width: sizes_1.borderWidth,
|
|
151
209
|
},
|
|
@@ -155,56 +213,82 @@ var themes = {
|
|
|
155
213
|
},
|
|
156
214
|
dark: {
|
|
157
215
|
spacings: sizes_1.spacings,
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
transport_city: contrastColor(exports.colors.primary.green_300, 'dark'),
|
|
173
|
-
transport_region: contrastColor(exports.colors.secondary.blue_500, 'light'),
|
|
174
|
-
transport_boat: contrastColor(exports.colors.secondary.cyan_200, 'dark'),
|
|
175
|
-
transport_train: contrastColor(exports.colors.secondary.burgundy_800, 'light'),
|
|
176
|
-
transport_airport: contrastColor(exports.colors.other.orange_500, 'light'),
|
|
177
|
-
transport_plane: contrastColor(exports.colors.other.orange_500, 'light'),
|
|
178
|
-
transport_other: contrastColor(exports.colors.primary.gray_600, 'light'),
|
|
179
|
-
},
|
|
180
|
-
content: {
|
|
181
|
-
subtle_primary: contrastColor(exports.colors.primary.gray_850, 'dark'),
|
|
182
|
-
},
|
|
183
|
-
status: {
|
|
184
|
-
valid: {
|
|
185
|
-
main: contrastColor(exports.colors.primary.green_300, 'dark'),
|
|
216
|
+
interactive: {
|
|
217
|
+
interactive_0: {
|
|
218
|
+
default: exports.baseColors.blue_500,
|
|
219
|
+
hover: exports.baseColors.blue_600,
|
|
220
|
+
active: exports.baseColors.blue_200,
|
|
221
|
+
disabled: exports.baseColors.blue_100,
|
|
222
|
+
outline: exports.baseColors.cyan_200,
|
|
223
|
+
},
|
|
224
|
+
interactive_1: {
|
|
225
|
+
default: exports.baseColors.gray_600,
|
|
226
|
+
hover: exports.baseColors.gray_500,
|
|
227
|
+
active: exports.baseColors.gray_900,
|
|
228
|
+
disabled: exports.baseColors.gray_200,
|
|
229
|
+
outline: exports.baseColors.blue_500,
|
|
186
230
|
},
|
|
187
|
-
|
|
188
|
-
|
|
231
|
+
interactive_2: {
|
|
232
|
+
default: exports.baseColors.gray_1000,
|
|
233
|
+
hover: exports.baseColors.blue_900,
|
|
234
|
+
active: exports.baseColors.blue_700,
|
|
235
|
+
disabled: exports.baseColors.gray_1000,
|
|
236
|
+
outline: exports.baseColors.blue_500,
|
|
237
|
+
},
|
|
238
|
+
interactive_3: {
|
|
239
|
+
default: exports.baseColors.green_300,
|
|
240
|
+
hover: exports.baseColors.green_200,
|
|
241
|
+
active: exports.baseColors.green_700,
|
|
242
|
+
disabled: exports.baseColors.green_100,
|
|
243
|
+
outline: exports.baseColors.blue_500,
|
|
244
|
+
},
|
|
245
|
+
interactive_destructive: {
|
|
246
|
+
default: exports.baseColors.red_600,
|
|
247
|
+
hover: exports.baseColors.red_500,
|
|
248
|
+
active: exports.baseColors.red_900,
|
|
249
|
+
disabled: exports.baseColors.red_100,
|
|
250
|
+
outline: exports.baseColors.blue_500,
|
|
251
|
+
},
|
|
252
|
+
},
|
|
253
|
+
static: {
|
|
254
|
+
background: {
|
|
255
|
+
background_0: exports.baseColors.gray_1000,
|
|
256
|
+
background_1: exports.baseColors.gray_850,
|
|
257
|
+
background_2: exports.baseColors.gray_700,
|
|
258
|
+
background_3: exports.baseColors.gray_600,
|
|
259
|
+
background_accent_0: exports.baseColors.gray_700,
|
|
260
|
+
background_accent_1: exports.baseColors.gray_600,
|
|
261
|
+
background_accent_2: exports.baseColors.blue_100,
|
|
262
|
+
background_accent_3: exports.baseColors.blue_500,
|
|
263
|
+
background_accent_4: exports.baseColors.green_100,
|
|
189
264
|
},
|
|
190
|
-
|
|
191
|
-
|
|
265
|
+
transport: {
|
|
266
|
+
transport_city: exports.baseColors.green_300,
|
|
267
|
+
transport_region: exports.baseColors.blue_500,
|
|
268
|
+
transport_boat: exports.baseColors.cyan_200,
|
|
269
|
+
transport_train: exports.baseColors.burgundy_800,
|
|
270
|
+
transport_airport: exports.baseColors.orange_500,
|
|
271
|
+
transport_plane: exports.baseColors.orange_500,
|
|
272
|
+
transport_other: exports.baseColors.gray_600,
|
|
192
273
|
},
|
|
193
|
-
|
|
194
|
-
|
|
274
|
+
status: {
|
|
275
|
+
valid: exports.baseColors.green_300,
|
|
276
|
+
info: exports.baseColors.cyan_200,
|
|
277
|
+
warning: exports.baseColors.yellow_200,
|
|
278
|
+
error: exports.baseColors.red_600,
|
|
195
279
|
},
|
|
196
280
|
},
|
|
197
281
|
text: {
|
|
198
282
|
colors: {
|
|
199
|
-
primary: exports.
|
|
200
|
-
secondary:
|
|
201
|
-
disabled:
|
|
283
|
+
primary: exports.baseColors.gray_0.background,
|
|
284
|
+
secondary: exports.baseColors.gray_50.background,
|
|
285
|
+
disabled: exports.baseColors.gray_300.background,
|
|
202
286
|
},
|
|
203
287
|
},
|
|
204
288
|
border: {
|
|
205
|
-
primary: exports.
|
|
206
|
-
secondary: exports.
|
|
207
|
-
focus: exports.
|
|
289
|
+
primary: exports.baseColors.gray_850.background,
|
|
290
|
+
secondary: exports.baseColors.gray_0.background,
|
|
291
|
+
focus: exports.baseColors.cyan_500.background,
|
|
208
292
|
radius: sizes_1.borderRadius,
|
|
209
293
|
width: sizes_1.borderWidth,
|
|
210
294
|
},
|