@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.
@@ -1,80 +1,108 @@
1
- import { Themes } from '../../theme';
2
- export declare const backgrounds: {
3
- light: {
4
- level0: string;
5
- level1: string;
6
- level2: string;
7
- level3: string;
8
- };
9
- dark: {
10
- level0: string;
11
- level1: string;
12
- level2: string;
13
- level3: string;
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
- other: {
75
- orange_500: string;
76
- ekspressen_500: string;
77
- ekspressen_600: string;
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.backgrounds = void 0;
3
+ exports.backgrounds = exports.colors = exports.baseColors = exports.textColors = void 0;
7
4
  var sizes_1 = require("../../sizes");
8
- var hex_to_rgba_1 = __importDefault(require("hex-to-rgba"));
9
- exports.backgrounds = {
10
- light: {
11
- level0: '#FFFFFF',
12
- level1: '#F1F2F2',
13
- level2: '#E3E5E6',
14
- level3: '#D5D7D9',
15
- },
16
- dark: {
17
- level0: '#000000',
18
- level1: '#242B30',
19
- level2: '#37424A',
20
- level3: '#555E65',
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: '#ffffff',
25
- black: '#000000',
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: '#FFFFFF',
83
- dark: '#000000',
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
- var contrastColor = function (backgroundColor, textColorType) {
92
- if (backgroundColor === void 0) { backgroundColor = exports.colors.white; }
93
- if (textColorType === void 0) { textColorType = 'dark'; }
94
- return { backgroundColor: backgroundColor, color: exports.colors.text[textColorType], textColorType: textColorType };
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
- colors: {
100
- background_0: contrastColor(exports.backgrounds.light.level0, 'dark'),
101
- background_1: contrastColor(exports.backgrounds.light.level1, 'dark'),
102
- background_2: contrastColor(exports.backgrounds.light.level2, 'dark'),
103
- background_3: contrastColor(exports.backgrounds.light.level3, 'dark'),
104
- background_accent: contrastColor(exports.colors.primary.gray_700, 'light'),
105
- primary_1: contrastColor(exports.colors.primary.green_300, 'dark'),
106
- primary_2: contrastColor(exports.colors.secondary.blue_500, 'light'),
107
- primary_3: contrastColor(exports.colors.secondary.blue_100, 'dark'),
108
- primary_destructive: contrastColor(exports.colors.secondary.red_600, 'light'),
109
- secondary_1: contrastColor(exports.colors.primary.gray_700, 'light'),
110
- secondary_2: contrastColor(exports.colors.white, 'dark'),
111
- secondary_3: contrastColor(exports.colors.primary.gray_600, 'light'),
112
- secondary_4: contrastColor(exports.colors.primary.gray_50, 'dark'),
113
- transport_city: contrastColor(exports.colors.primary.green_300, 'dark'),
114
- transport_region: contrastColor(exports.colors.secondary.blue_500, 'light'),
115
- transport_boat: contrastColor(exports.colors.secondary.cyan_200, 'dark'),
116
- transport_train: contrastColor(exports.colors.secondary.burgundy_800, 'light'),
117
- transport_airport: contrastColor(exports.colors.other.orange_500, 'light'),
118
- transport_plane: contrastColor(exports.colors.other.orange_500, 'light'),
119
- transport_other: contrastColor(exports.colors.primary.gray_600, 'light'),
120
- },
121
- content: {
122
- subtle_primary: contrastColor(exports.colors.primary.gray_50, 'dark'),
123
- },
124
- status: {
125
- valid: {
126
- main: contrastColor(exports.colors.primary.green_300, 'dark'),
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
- info: {
129
- main: contrastColor(exports.colors.secondary.cyan_200, 'dark'),
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
- warning: {
132
- main: contrastColor(exports.colors.secondary.yellow_200, 'dark'),
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
- error: {
135
- main: contrastColor(exports.colors.secondary.red_600, 'light'),
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.colors.text.dark,
141
- secondary: (0, hex_to_rgba_1.default)(exports.colors.text.dark, 0.6),
142
- disabled: (0, hex_to_rgba_1.default)(exports.colors.text.dark, 0.2),
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.backgrounds.light.level1,
204
+ primary: exports.baseColors.gray_50.background,
147
205
  secondary: exports.colors.text.dark,
148
- focus: exports.colors.secondary.blue_500,
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
- colors: {
159
- background_0: contrastColor(exports.backgrounds.dark.level0, 'light'),
160
- background_1: contrastColor(exports.backgrounds.dark.level1, 'light'),
161
- background_2: contrastColor(exports.backgrounds.dark.level2, 'light'),
162
- background_3: contrastColor(exports.backgrounds.dark.level3, 'light'),
163
- background_accent: contrastColor(exports.colors.primary.gray_700, 'light'),
164
- primary_1: contrastColor(exports.colors.primary.green_300, 'dark'),
165
- primary_2: contrastColor(exports.colors.secondary.blue_500, 'light'),
166
- primary_3: contrastColor(exports.colors.secondary.blue_100, 'dark'),
167
- primary_destructive: contrastColor(exports.colors.secondary.red_600, 'light'),
168
- secondary_1: contrastColor(exports.colors.primary.gray_300, 'dark'),
169
- secondary_2: contrastColor(exports.colors.black, 'light'),
170
- secondary_3: contrastColor(exports.colors.primary.gray_600, 'light'),
171
- secondary_4: contrastColor(exports.colors.primary.gray_600, 'light'),
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
- info: {
188
- main: contrastColor(exports.colors.secondary.cyan_200, 'dark'),
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
- warning: {
191
- main: contrastColor(exports.colors.secondary.yellow_200, 'dark'),
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
- error: {
194
- main: contrastColor(exports.colors.secondary.red_600, 'light'),
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.colors.text.light,
200
- secondary: (0, hex_to_rgba_1.default)(exports.colors.text.light, 0.6),
201
- disabled: (0, hex_to_rgba_1.default)(exports.colors.text.light, 0.2),
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.backgrounds.dark.level1,
206
- secondary: exports.colors.text.light,
207
- focus: exports.colors.secondary.cyan_500,
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
  },