@atb-as/theme 4.0.0 → 5.0.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/theme.css +86 -0
- package/lib/theme.d.ts +5 -2
- package/lib/theme.js +11 -8
- package/lib/theme.js.map +1 -1
- package/lib/theme.module.css +86 -0
- package/lib/themes/atb-theme/theme.css +45 -142
- package/lib/themes/atb-theme/theme.d.ts +77 -0
- package/lib/themes/atb-theme/theme.js +150 -71
- package/lib/themes/atb-theme/theme.js.map +1 -1
- package/lib/themes/atb-theme/theme.module.css +45 -142
- package/lib/themes/index.d.ts +1 -0
- package/lib/themes/index.js +3 -1
- package/lib/themes/index.js.map +1 -1
- 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 +332 -0
- package/lib/themes/nfk-theme/theme.d.ts +3 -0
- package/lib/themes/nfk-theme/theme.js +142 -0
- package/lib/themes/nfk-theme/theme.js.map +1 -0
- package/lib/themes/nfk-theme/theme.module.css +332 -0
- package/lib/typography/index.js +2 -2
- package/lib/typography/index.js.map +1 -1
- package/package.json +3 -3
package/lib/theme.css
CHANGED
|
@@ -227,6 +227,92 @@
|
|
|
227
227
|
}
|
|
228
228
|
|
|
229
229
|
|
|
230
|
+
@media (prefers-color-scheme: dark) {
|
|
231
|
+
.light:not(.override-light) {
|
|
232
|
+
--border-primary: #2C353B;
|
|
233
|
+
--border-secondary: #FFFFFF;
|
|
234
|
+
--border-focus: #71D6E0;
|
|
235
|
+
--border-radius-circle: 1.25rem;
|
|
236
|
+
--border-radius-regular: 0.5rem;
|
|
237
|
+
--border-radius-small: 0.25rem;
|
|
238
|
+
--border-width-slim: 0.0625rem;
|
|
239
|
+
--border-width-medium: 0.125rem;
|
|
240
|
+
|
|
241
|
+
--spacings-xLarge: 1.5rem;
|
|
242
|
+
--spacings-large: 1.25rem;
|
|
243
|
+
--spacings-medium: 0.75rem;
|
|
244
|
+
--spacings-small: 0.5rem;
|
|
245
|
+
--spacings-xSmall: 0.25rem;
|
|
246
|
+
|
|
247
|
+
--icon-size-large: 1.75rem;
|
|
248
|
+
--icon-size-normal: 1.25rem;
|
|
249
|
+
--icon-size-small: 0.625rem;
|
|
250
|
+
|
|
251
|
+
--text-colors-primary: #FFFFFF;
|
|
252
|
+
--text-colors-secondary: rgba(255, 255, 255, 0.6);
|
|
253
|
+
--text-colors-disabled: rgba(255, 255, 255, 0.2);
|
|
254
|
+
|
|
255
|
+
--colors-background_0-backgroundColor: #000000;
|
|
256
|
+
--colors-background_0-color: #FFFFFF;
|
|
257
|
+
--colors-background_1-backgroundColor: #242B30;
|
|
258
|
+
--colors-background_1-color: #FFFFFF;
|
|
259
|
+
--colors-background_2-backgroundColor: #37424A;
|
|
260
|
+
--colors-background_2-color: #FFFFFF;
|
|
261
|
+
--colors-background_3-backgroundColor: #555E65;
|
|
262
|
+
--colors-background_3-color: #FFFFFF;
|
|
263
|
+
--colors-background_gray-backgroundColor: #37424A;
|
|
264
|
+
--colors-background_gray-color: #FFFFFF;
|
|
265
|
+
--colors-primary_1-backgroundColor: #A2AD00;
|
|
266
|
+
--colors-primary_1-color: #000000;
|
|
267
|
+
--colors-primary_2-backgroundColor: #007C92;
|
|
268
|
+
--colors-primary_2-color: #FFFFFF;
|
|
269
|
+
--colors-primary_3-backgroundColor: #71D6E0;
|
|
270
|
+
--colors-primary_3-color: #000000;
|
|
271
|
+
--colors-primary_destructive-backgroundColor: #A51140;
|
|
272
|
+
--colors-primary_destructive-color: #FFFFFF;
|
|
273
|
+
--colors-secondary_1-backgroundColor: #E7E8E9;
|
|
274
|
+
--colors-secondary_1-color: #000000;
|
|
275
|
+
--colors-secondary_2-backgroundColor: #37424A;
|
|
276
|
+
--colors-secondary_2-color: #FFFFFF;
|
|
277
|
+
--colors-secondary_3-backgroundColor: #006375;
|
|
278
|
+
--colors-secondary_3-color: #FFFFFF;
|
|
279
|
+
--colors-secondary_4-backgroundColor: #2C353B;
|
|
280
|
+
--colors-secondary_4-color: #FFFFFF;
|
|
281
|
+
--colors-transport_city-backgroundColor: #A2AD00;
|
|
282
|
+
--colors-transport_city-color: #000000;
|
|
283
|
+
--colors-transport_region-backgroundColor: #007C92;
|
|
284
|
+
--colors-transport_region-color: #000000;
|
|
285
|
+
--colors-transport_boat-backgroundColor: #AAE6EC;
|
|
286
|
+
--colors-transport_boat-color: #000000;
|
|
287
|
+
--colors-transport_train-backgroundColor: #B74166;
|
|
288
|
+
--colors-transport_train-color: #000000;
|
|
289
|
+
--colors-transport_airport-backgroundColor: #ED6C05;
|
|
290
|
+
--colors-transport_airport-color: #000000;
|
|
291
|
+
--colors-transport_plane-backgroundColor: #BE5604;
|
|
292
|
+
--colors-transport_plane-color: #000000;
|
|
293
|
+
--colors-transport_other-backgroundColor: #878E92;
|
|
294
|
+
--colors-transport_other-color: #000000;
|
|
295
|
+
|
|
296
|
+
--status-valid-main-backgroundColor: #A2AD00;
|
|
297
|
+
--status-valid-main-color: #000000;
|
|
298
|
+
--status-valid-bg-backgroundColor: rgba(162, 173, 0, 0.25);
|
|
299
|
+
--status-valid-bg-color: #FFFFFF;
|
|
300
|
+
--status-info-main-backgroundColor: #71D6E0;
|
|
301
|
+
--status-info-main-color: #000000;
|
|
302
|
+
--status-info-bg-backgroundColor: rgba(113, 214, 224, 0.25);
|
|
303
|
+
--status-info-bg-color: #FFFFFF;
|
|
304
|
+
--status-warning-main-backgroundColor: #E4D700;
|
|
305
|
+
--status-warning-main-color: #000000;
|
|
306
|
+
--status-warning-bg-backgroundColor: rgba(228, 215, 0, 0.25);
|
|
307
|
+
--status-warning-bg-color: #000000;
|
|
308
|
+
--status-error-main-backgroundColor: #A51140;
|
|
309
|
+
--status-error-main-color: #FFFFFF;
|
|
310
|
+
--status-error-bg-backgroundColor: rgba(165, 17, 64, 0.25);
|
|
311
|
+
--status-error-bg-color: #000000;
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
|
|
230
316
|
/* Theme color pairs */
|
|
231
317
|
.colors-background_0 {
|
|
232
318
|
background-color: var(--colors-background_0-backgroundColor);
|
package/lib/theme.d.ts
CHANGED
|
@@ -14,7 +14,6 @@ export declare type ContrastColor = {
|
|
|
14
14
|
};
|
|
15
15
|
declare type StatusColor = {
|
|
16
16
|
main: ContrastColor;
|
|
17
|
-
bg: ContrastColor;
|
|
18
17
|
};
|
|
19
18
|
export interface Theme {
|
|
20
19
|
spacings: typeof spacings;
|
|
@@ -40,6 +39,9 @@ export interface Theme {
|
|
|
40
39
|
transport_plane: ContrastColor;
|
|
41
40
|
transport_other: ContrastColor;
|
|
42
41
|
};
|
|
42
|
+
content: {
|
|
43
|
+
subtle_primary: ContrastColor;
|
|
44
|
+
};
|
|
43
45
|
status: {
|
|
44
46
|
valid: StatusColor;
|
|
45
47
|
info: StatusColor;
|
|
@@ -64,7 +66,8 @@ export interface Theme {
|
|
|
64
66
|
}
|
|
65
67
|
export declare type Statuses = keyof Theme['status'];
|
|
66
68
|
export declare enum ThemeVariant {
|
|
67
|
-
AtB = 0
|
|
69
|
+
AtB = 0,
|
|
70
|
+
Nfk = 1
|
|
68
71
|
}
|
|
69
72
|
export declare function createThemesFor(themeVariant: ThemeVariant): Themes;
|
|
70
73
|
/**
|
package/lib/theme.js
CHANGED
|
@@ -10,13 +10,16 @@ var themes_1 = require("./themes");
|
|
|
10
10
|
var ThemeVariant;
|
|
11
11
|
(function (ThemeVariant) {
|
|
12
12
|
ThemeVariant[ThemeVariant["AtB"] = 0] = "AtB";
|
|
13
|
+
ThemeVariant[ThemeVariant["Nfk"] = 1] = "Nfk";
|
|
13
14
|
})(ThemeVariant = exports.ThemeVariant || (exports.ThemeVariant = {}));
|
|
14
15
|
function createThemesFor(themeVariant) {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
switch (themeVariant) {
|
|
17
|
+
case ThemeVariant.AtB:
|
|
18
|
+
return themes_1.AtBThemes;
|
|
19
|
+
case ThemeVariant.Nfk:
|
|
20
|
+
return themes_1.NfkThemes;
|
|
21
|
+
default:
|
|
22
|
+
throw Error('A valid ThemeVariant must be provided');
|
|
20
23
|
}
|
|
21
24
|
}
|
|
22
25
|
exports.createThemesFor = createThemesFor;
|
|
@@ -43,7 +46,7 @@ exports.createThemesFor = createThemesFor;
|
|
|
43
46
|
function createThemes(themes, overrides) {
|
|
44
47
|
if (!overrides)
|
|
45
48
|
return themes;
|
|
46
|
-
return override_config_1.overrideConfig(themes, overrides);
|
|
49
|
+
return (0, override_config_1.overrideConfig)(themes, overrides);
|
|
47
50
|
}
|
|
48
51
|
exports.createThemes = createThemes;
|
|
49
52
|
/**
|
|
@@ -69,8 +72,8 @@ exports.createThemes = createThemes;
|
|
|
69
72
|
*/
|
|
70
73
|
function createExtendedThemes(themes, extension) {
|
|
71
74
|
return {
|
|
72
|
-
light: ts_deepmerge_1.default(themes.light, extension.light),
|
|
73
|
-
dark: ts_deepmerge_1.default(themes.dark, extension.dark),
|
|
75
|
+
light: (0, ts_deepmerge_1.default)(themes.light, extension.light),
|
|
76
|
+
dark: (0, ts_deepmerge_1.default)(themes.dark, extension.dark),
|
|
74
77
|
};
|
|
75
78
|
}
|
|
76
79
|
exports.createExtendedThemes = createExtendedThemes;
|
package/lib/theme.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.js","sourceRoot":"","sources":["../src/theme.ts"],"names":[],"mappings":";;;;;;AAAA,8DAAiC;AAEjC,2DAA8E;AAC9E,
|
|
1
|
+
{"version":3,"file":"theme.js","sourceRoot":"","sources":["../src/theme.ts"],"names":[],"mappings":";;;;;;AAAA,8DAAiC;AAEjC,2DAA8E;AAC9E,mCAA8C;AA4E9C,IAAY,YAGX;AAHD,WAAY,YAAY;IACtB,6CAAG,CAAA;IACH,6CAAG,CAAA;AACL,CAAC,EAHW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAGvB;AAED,SAAgB,eAAe,CAAC,YAA0B;IACxD,QAAQ,YAAY,EAAE;QACpB,KAAK,YAAY,CAAC,GAAG;YACnB,OAAO,kBAAS,CAAC;QACnB,KAAK,YAAY,CAAC,GAAG;YACnB,OAAO,kBAAS,CAAC;QACnB;YACE,MAAM,KAAK,CAAC,uCAAuC,CAAC,CAAC;KACxD;AACH,CAAC;AATD,0CASC;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,YAAY,CAC1B,MAAc,EACd,SAAyC;IAEzC,IAAI,CAAC,SAAS;QAAE,OAAO,MAAM,CAAC;IAC9B,OAAO,IAAA,gCAAc,EAAC,MAAM,EAAE,SAAS,CAAC,CAAC;AAC3C,CAAC;AAND,oCAMC;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,oBAAoB,CAClC,MAAc,EACd,SAA8B;IAE9B,OAAO;QACL,KAAK,EAAE,IAAA,sBAAK,EAAC,MAAM,CAAC,KAAK,EAAE,SAAS,CAAC,KAAK,CAAC;QAC3C,IAAI,EAAE,IAAA,sBAAK,EAAC,MAAM,CAAC,IAAI,EAAE,SAAS,CAAC,IAAI,CAAC;KACzC,CAAC;AACJ,CAAC;AARD,oDAQC"}
|
package/lib/theme.module.css
CHANGED
|
@@ -227,6 +227,92 @@
|
|
|
227
227
|
}
|
|
228
228
|
|
|
229
229
|
|
|
230
|
+
@media (prefers-color-scheme: dark) {
|
|
231
|
+
.light:not(.override-light) {
|
|
232
|
+
--border-primary: #2C353B;
|
|
233
|
+
--border-secondary: #FFFFFF;
|
|
234
|
+
--border-focus: #71D6E0;
|
|
235
|
+
--border-radius-circle: 1.25rem;
|
|
236
|
+
--border-radius-regular: 0.5rem;
|
|
237
|
+
--border-radius-small: 0.25rem;
|
|
238
|
+
--border-width-slim: 0.0625rem;
|
|
239
|
+
--border-width-medium: 0.125rem;
|
|
240
|
+
|
|
241
|
+
--spacings-xLarge: 1.5rem;
|
|
242
|
+
--spacings-large: 1.25rem;
|
|
243
|
+
--spacings-medium: 0.75rem;
|
|
244
|
+
--spacings-small: 0.5rem;
|
|
245
|
+
--spacings-xSmall: 0.25rem;
|
|
246
|
+
|
|
247
|
+
--icon-size-large: 1.75rem;
|
|
248
|
+
--icon-size-normal: 1.25rem;
|
|
249
|
+
--icon-size-small: 0.625rem;
|
|
250
|
+
|
|
251
|
+
--text-colors-primary: #FFFFFF;
|
|
252
|
+
--text-colors-secondary: rgba(255, 255, 255, 0.6);
|
|
253
|
+
--text-colors-disabled: rgba(255, 255, 255, 0.2);
|
|
254
|
+
|
|
255
|
+
--colors-background_0-backgroundColor: #000000;
|
|
256
|
+
--colors-background_0-color: #FFFFFF;
|
|
257
|
+
--colors-background_1-backgroundColor: #242B30;
|
|
258
|
+
--colors-background_1-color: #FFFFFF;
|
|
259
|
+
--colors-background_2-backgroundColor: #37424A;
|
|
260
|
+
--colors-background_2-color: #FFFFFF;
|
|
261
|
+
--colors-background_3-backgroundColor: #555E65;
|
|
262
|
+
--colors-background_3-color: #FFFFFF;
|
|
263
|
+
--colors-background_gray-backgroundColor: #37424A;
|
|
264
|
+
--colors-background_gray-color: #FFFFFF;
|
|
265
|
+
--colors-primary_1-backgroundColor: #A2AD00;
|
|
266
|
+
--colors-primary_1-color: #000000;
|
|
267
|
+
--colors-primary_2-backgroundColor: #007C92;
|
|
268
|
+
--colors-primary_2-color: #FFFFFF;
|
|
269
|
+
--colors-primary_3-backgroundColor: #71D6E0;
|
|
270
|
+
--colors-primary_3-color: #000000;
|
|
271
|
+
--colors-primary_destructive-backgroundColor: #A51140;
|
|
272
|
+
--colors-primary_destructive-color: #FFFFFF;
|
|
273
|
+
--colors-secondary_1-backgroundColor: #E7E8E9;
|
|
274
|
+
--colors-secondary_1-color: #000000;
|
|
275
|
+
--colors-secondary_2-backgroundColor: #37424A;
|
|
276
|
+
--colors-secondary_2-color: #FFFFFF;
|
|
277
|
+
--colors-secondary_3-backgroundColor: #006375;
|
|
278
|
+
--colors-secondary_3-color: #FFFFFF;
|
|
279
|
+
--colors-secondary_4-backgroundColor: #2C353B;
|
|
280
|
+
--colors-secondary_4-color: #FFFFFF;
|
|
281
|
+
--colors-transport_city-backgroundColor: #A2AD00;
|
|
282
|
+
--colors-transport_city-color: #000000;
|
|
283
|
+
--colors-transport_region-backgroundColor: #007C92;
|
|
284
|
+
--colors-transport_region-color: #000000;
|
|
285
|
+
--colors-transport_boat-backgroundColor: #AAE6EC;
|
|
286
|
+
--colors-transport_boat-color: #000000;
|
|
287
|
+
--colors-transport_train-backgroundColor: #B74166;
|
|
288
|
+
--colors-transport_train-color: #000000;
|
|
289
|
+
--colors-transport_airport-backgroundColor: #ED6C05;
|
|
290
|
+
--colors-transport_airport-color: #000000;
|
|
291
|
+
--colors-transport_plane-backgroundColor: #BE5604;
|
|
292
|
+
--colors-transport_plane-color: #000000;
|
|
293
|
+
--colors-transport_other-backgroundColor: #878E92;
|
|
294
|
+
--colors-transport_other-color: #000000;
|
|
295
|
+
|
|
296
|
+
--status-valid-main-backgroundColor: #A2AD00;
|
|
297
|
+
--status-valid-main-color: #000000;
|
|
298
|
+
--status-valid-bg-backgroundColor: rgba(162, 173, 0, 0.25);
|
|
299
|
+
--status-valid-bg-color: #FFFFFF;
|
|
300
|
+
--status-info-main-backgroundColor: #71D6E0;
|
|
301
|
+
--status-info-main-color: #000000;
|
|
302
|
+
--status-info-bg-backgroundColor: rgba(113, 214, 224, 0.25);
|
|
303
|
+
--status-info-bg-color: #FFFFFF;
|
|
304
|
+
--status-warning-main-backgroundColor: #E4D700;
|
|
305
|
+
--status-warning-main-color: #000000;
|
|
306
|
+
--status-warning-bg-backgroundColor: rgba(228, 215, 0, 0.25);
|
|
307
|
+
--status-warning-bg-color: #000000;
|
|
308
|
+
--status-error-main-backgroundColor: #A51140;
|
|
309
|
+
--status-error-main-color: #FFFFFF;
|
|
310
|
+
--status-error-bg-backgroundColor: rgba(165, 17, 64, 0.25);
|
|
311
|
+
--status-error-bg-color: #000000;
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
|
|
230
316
|
/* Theme color pairs */
|
|
231
317
|
.colors-background_0 {
|
|
232
318
|
background-color: var(--colors-background_0-backgroundColor);
|
|
@@ -1,65 +1,8 @@
|
|
|
1
1
|
|
|
2
|
-
:root {
|
|
3
|
-
|
|
4
|
-
/* Base color data */
|
|
5
|
-
--baseColor-white: #ffffff;
|
|
6
|
-
--baseColor-black: #000000;
|
|
7
|
-
--baseColor-primary-gray_50: #E7E8E9;
|
|
8
|
-
--baseColor-primary-gray_100: #F5F5F6;
|
|
9
|
-
--baseColor-primary-gray_200: #AFB3B7;
|
|
10
|
-
--baseColor-primary-gray_300: #878E92;
|
|
11
|
-
--baseColor-primary-gray_400: #5F686E;
|
|
12
|
-
--baseColor-primary-gray_500: #37424A;
|
|
13
|
-
--baseColor-primary-gray_600: #2C353B;
|
|
14
|
-
--baseColor-primary-gray_700: #21282C;
|
|
15
|
-
--baseColor-primary-gray_800: #161A1E;
|
|
16
|
-
--baseColor-primary-gray_900: #101416;
|
|
17
|
-
--baseColor-primary-gray_950: #1B1C1D;
|
|
18
|
-
--baseColor-primary-green_100: #E3E6B3;
|
|
19
|
-
--baseColor-primary-green_200: #DADE99;
|
|
20
|
-
--baseColor-primary-green_300: #C7CE66;
|
|
21
|
-
--baseColor-primary-green_400: #B5BD33;
|
|
22
|
-
--baseColor-primary-green_500: #A2AD00;
|
|
23
|
-
--baseColor-primary-green_600: #828A00;
|
|
24
|
-
--baseColor-primary-green_700: #616800;
|
|
25
|
-
--baseColor-primary-green_800: #414500;
|
|
26
|
-
--baseColor-primary-green_900: #313400;
|
|
27
|
-
--baseColor-secondary-cyan_100: #D4F3F6;
|
|
28
|
-
--baseColor-secondary-cyan_200: #C6EFF3;
|
|
29
|
-
--baseColor-secondary-cyan_300: #AAE6EC;
|
|
30
|
-
--baseColor-secondary-cyan_400: #8DDEE6;
|
|
31
|
-
--baseColor-secondary-cyan_500: #71D6E0;
|
|
32
|
-
--baseColor-secondary-cyan_600: #5AABB3;
|
|
33
|
-
--baseColor-secondary-cyan_700: #448086;
|
|
34
|
-
--baseColor-secondary-cyan_800: #2D565A;
|
|
35
|
-
--baseColor-secondary-cyan_900: #224043;
|
|
36
|
-
--baseColor-secondary-blue_100: #B3D8DE;
|
|
37
|
-
--baseColor-secondary-blue_200: #99CBD3;
|
|
38
|
-
--baseColor-secondary-blue_300: #66B0BE;
|
|
39
|
-
--baseColor-secondary-blue_400: #3396A8;
|
|
40
|
-
--baseColor-secondary-blue_500: #007C92;
|
|
41
|
-
--baseColor-secondary-blue_600: #006375;
|
|
42
|
-
--baseColor-secondary-blue_700: #004A58;
|
|
43
|
-
--baseColor-secondary-blue_800: #00323A;
|
|
44
|
-
--baseColor-secondary-blue_900: #00252C;
|
|
45
|
-
--baseColor-secondary-brown: #584528;
|
|
46
|
-
--baseColor-secondary-orange: #C75B12;
|
|
47
|
-
--baseColor-secondary-yellow_100: #F7F3B2;
|
|
48
|
-
--baseColor-secondary-yellow_500: #E4D700;
|
|
49
|
-
--baseColor-secondary-red_100: #E4B8C6;
|
|
50
|
-
--baseColor-secondary-red_400: #B74166;
|
|
51
|
-
--baseColor-secondary-red_500: #A51140;
|
|
52
|
-
--baseColor-text-light: #FFFFFF;
|
|
53
|
-
--baseColor-text-dark: #000000;
|
|
54
|
-
--baseColor-other-orange_500: #BE5604;
|
|
55
|
-
--baseColor-other-ekspressen_500: #ED6C05;
|
|
56
|
-
--baseColor-other-ekspressen_600: #C75B12;
|
|
57
|
-
|
|
58
|
-
}
|
|
59
2
|
|
|
60
3
|
/* Light theme data */
|
|
61
4
|
.light {
|
|
62
|
-
--border-primary: #
|
|
5
|
+
--border-primary: #F1F2F2;
|
|
63
6
|
--border-secondary: #000000;
|
|
64
7
|
--border-focus: #007C92;
|
|
65
8
|
--border-radius-circle: 1.25rem;
|
|
@@ -84,11 +27,11 @@
|
|
|
84
27
|
|
|
85
28
|
--colors-background_0-backgroundColor: #FFFFFF;
|
|
86
29
|
--colors-background_0-color: #000000;
|
|
87
|
-
--colors-background_1-backgroundColor: #
|
|
30
|
+
--colors-background_1-backgroundColor: #F1F2F2;
|
|
88
31
|
--colors-background_1-color: #000000;
|
|
89
|
-
--colors-background_2-backgroundColor: #
|
|
32
|
+
--colors-background_2-backgroundColor: #E3E5E6;
|
|
90
33
|
--colors-background_2-color: #000000;
|
|
91
|
-
--colors-background_3-backgroundColor: #
|
|
34
|
+
--colors-background_3-backgroundColor: #D5D7D9;
|
|
92
35
|
--colors-background_3-color: #000000;
|
|
93
36
|
--colors-background_accent-backgroundColor: #37424A;
|
|
94
37
|
--colors-background_accent-color: #FFFFFF;
|
|
@@ -102,51 +45,43 @@
|
|
|
102
45
|
--colors-primary_destructive-color: #FFFFFF;
|
|
103
46
|
--colors-secondary_1-backgroundColor: #37424A;
|
|
104
47
|
--colors-secondary_1-color: #FFFFFF;
|
|
105
|
-
--colors-secondary_2-backgroundColor: #
|
|
48
|
+
--colors-secondary_2-backgroundColor: #ffffff;
|
|
106
49
|
--colors-secondary_2-color: #000000;
|
|
107
|
-
--colors-secondary_3-backgroundColor: #
|
|
50
|
+
--colors-secondary_3-backgroundColor: #8D9398;
|
|
108
51
|
--colors-secondary_3-color: #FFFFFF;
|
|
109
|
-
--colors-secondary_4-backgroundColor: #
|
|
52
|
+
--colors-secondary_4-backgroundColor: #F1F2F2;
|
|
110
53
|
--colors-secondary_4-color: #000000;
|
|
111
|
-
--colors-transport_city-backgroundColor: #
|
|
54
|
+
--colors-transport_city-backgroundColor: #A2AD00;
|
|
112
55
|
--colors-transport_city-color: #000000;
|
|
113
56
|
--colors-transport_region-backgroundColor: #007C92;
|
|
114
|
-
--colors-transport_region-color: #
|
|
115
|
-
--colors-transport_boat-backgroundColor: #
|
|
57
|
+
--colors-transport_region-color: #FFFFFF;
|
|
58
|
+
--colors-transport_boat-backgroundColor: #71D6E0;
|
|
116
59
|
--colors-transport_boat-color: #000000;
|
|
117
|
-
--colors-transport_train-backgroundColor: #
|
|
118
|
-
--colors-transport_train-color: #
|
|
60
|
+
--colors-transport_train-backgroundColor: #4B2942;
|
|
61
|
+
--colors-transport_train-color: #FFFFFF;
|
|
119
62
|
--colors-transport_airport-backgroundColor: #C75B12;
|
|
120
63
|
--colors-transport_airport-color: #000000;
|
|
121
|
-
--colors-transport_plane-backgroundColor: #
|
|
64
|
+
--colors-transport_plane-backgroundColor: #C75B12;
|
|
122
65
|
--colors-transport_plane-color: #000000;
|
|
123
|
-
--colors-transport_other-backgroundColor: #
|
|
124
|
-
--colors-transport_other-color: #
|
|
66
|
+
--colors-transport_other-backgroundColor: #555E65;
|
|
67
|
+
--colors-transport_other-color: #FFFFFF;
|
|
125
68
|
|
|
126
69
|
--status-valid-main-backgroundColor: #A2AD00;
|
|
127
70
|
--status-valid-main-color: #000000;
|
|
128
|
-
--status-valid-bg-backgroundColor: rgba(162, 173, 0, 0.25);
|
|
129
|
-
--status-valid-bg-color: #000000;
|
|
130
71
|
--status-info-main-backgroundColor: #71D6E0;
|
|
131
72
|
--status-info-main-color: #000000;
|
|
132
|
-
--status-info-bg-backgroundColor: rgba(113, 214, 224, 0.25);
|
|
133
|
-
--status-info-bg-color: #000000;
|
|
134
73
|
--status-warning-main-backgroundColor: #E4D700;
|
|
135
74
|
--status-warning-main-color: #000000;
|
|
136
|
-
--status-warning-bg-backgroundColor: rgba(228, 215, 0, 0.25);
|
|
137
|
-
--status-warning-bg-color: #000000;
|
|
138
75
|
--status-error-main-backgroundColor: #A51140;
|
|
139
76
|
--status-error-main-color: #FFFFFF;
|
|
140
|
-
--status-error-bg-backgroundColor: rgba(165, 17, 64, 0.25);
|
|
141
|
-
--status-error-bg-color: #000000;
|
|
142
77
|
}
|
|
143
78
|
|
|
144
79
|
|
|
145
80
|
/* Dark theme data */
|
|
146
81
|
.dark {
|
|
147
|
-
--border-primary: #
|
|
82
|
+
--border-primary: #555E65;
|
|
148
83
|
--border-secondary: #FFFFFF;
|
|
149
|
-
--border-focus: #
|
|
84
|
+
--border-focus: #448086;
|
|
150
85
|
--border-radius-circle: 1.25rem;
|
|
151
86
|
--border-radius-regular: 0.5rem;
|
|
152
87
|
--border-radius-small: 0.25rem;
|
|
@@ -181,57 +116,49 @@
|
|
|
181
116
|
--colors-primary_1-color: #000000;
|
|
182
117
|
--colors-primary_2-backgroundColor: #007C92;
|
|
183
118
|
--colors-primary_2-color: #FFFFFF;
|
|
184
|
-
--colors-primary_3-backgroundColor: #
|
|
119
|
+
--colors-primary_3-backgroundColor: #448086;
|
|
185
120
|
--colors-primary_3-color: #000000;
|
|
186
121
|
--colors-primary_destructive-backgroundColor: #A51140;
|
|
187
122
|
--colors-primary_destructive-color: #FFFFFF;
|
|
188
|
-
--colors-secondary_1-backgroundColor: #
|
|
123
|
+
--colors-secondary_1-backgroundColor: #A9AEB1;
|
|
189
124
|
--colors-secondary_1-color: #000000;
|
|
190
|
-
--colors-secondary_2-backgroundColor: #
|
|
125
|
+
--colors-secondary_2-backgroundColor: #000000;
|
|
191
126
|
--colors-secondary_2-color: #FFFFFF;
|
|
192
|
-
--colors-secondary_3-backgroundColor: #
|
|
127
|
+
--colors-secondary_3-backgroundColor: #006678;
|
|
193
128
|
--colors-secondary_3-color: #FFFFFF;
|
|
194
|
-
--colors-secondary_4-backgroundColor: #
|
|
129
|
+
--colors-secondary_4-backgroundColor: #555E65;
|
|
195
130
|
--colors-secondary_4-color: #FFFFFF;
|
|
196
131
|
--colors-transport_city-backgroundColor: #A2AD00;
|
|
197
132
|
--colors-transport_city-color: #000000;
|
|
198
133
|
--colors-transport_region-backgroundColor: #007C92;
|
|
199
|
-
--colors-transport_region-color: #
|
|
200
|
-
--colors-transport_boat-backgroundColor: #
|
|
134
|
+
--colors-transport_region-color: #FFFFFF;
|
|
135
|
+
--colors-transport_boat-backgroundColor: #71D6E0;
|
|
201
136
|
--colors-transport_boat-color: #000000;
|
|
202
|
-
--colors-transport_train-backgroundColor: #
|
|
203
|
-
--colors-transport_train-color: #
|
|
204
|
-
--colors-transport_airport-backgroundColor: #
|
|
137
|
+
--colors-transport_train-backgroundColor: #4B2942;
|
|
138
|
+
--colors-transport_train-color: #FFFFFF;
|
|
139
|
+
--colors-transport_airport-backgroundColor: #C75B12;
|
|
205
140
|
--colors-transport_airport-color: #000000;
|
|
206
|
-
--colors-transport_plane-backgroundColor: #
|
|
141
|
+
--colors-transport_plane-backgroundColor: #C75B12;
|
|
207
142
|
--colors-transport_plane-color: #000000;
|
|
208
|
-
--colors-transport_other-backgroundColor: #
|
|
209
|
-
--colors-transport_other-color: #
|
|
143
|
+
--colors-transport_other-backgroundColor: #555E65;
|
|
144
|
+
--colors-transport_other-color: #FFFFFF;
|
|
210
145
|
|
|
211
146
|
--status-valid-main-backgroundColor: #A2AD00;
|
|
212
147
|
--status-valid-main-color: #000000;
|
|
213
|
-
--status-valid-bg-backgroundColor: rgba(162, 173, 0, 0.25);
|
|
214
|
-
--status-valid-bg-color: #FFFFFF;
|
|
215
148
|
--status-info-main-backgroundColor: #71D6E0;
|
|
216
149
|
--status-info-main-color: #000000;
|
|
217
|
-
--status-info-bg-backgroundColor: rgba(113, 214, 224, 0.25);
|
|
218
|
-
--status-info-bg-color: #FFFFFF;
|
|
219
150
|
--status-warning-main-backgroundColor: #E4D700;
|
|
220
151
|
--status-warning-main-color: #000000;
|
|
221
|
-
--status-warning-bg-backgroundColor: rgba(228, 215, 0, 0.25);
|
|
222
|
-
--status-warning-bg-color: #000000;
|
|
223
152
|
--status-error-main-backgroundColor: #A51140;
|
|
224
153
|
--status-error-main-color: #FFFFFF;
|
|
225
|
-
--status-error-bg-backgroundColor: rgba(165, 17, 64, 0.25);
|
|
226
|
-
--status-error-bg-color: #000000;
|
|
227
154
|
}
|
|
228
155
|
|
|
229
156
|
|
|
230
157
|
@media (prefers-color-scheme: dark) {
|
|
231
158
|
.light:not(.override-light) {
|
|
232
|
-
--border-primary: #
|
|
159
|
+
--border-primary: #555E65;
|
|
233
160
|
--border-secondary: #FFFFFF;
|
|
234
|
-
--border-focus: #
|
|
161
|
+
--border-focus: #448086;
|
|
235
162
|
--border-radius-circle: 1.25rem;
|
|
236
163
|
--border-radius-regular: 0.5rem;
|
|
237
164
|
--border-radius-small: 0.25rem;
|
|
@@ -266,49 +193,41 @@
|
|
|
266
193
|
--colors-primary_1-color: #000000;
|
|
267
194
|
--colors-primary_2-backgroundColor: #007C92;
|
|
268
195
|
--colors-primary_2-color: #FFFFFF;
|
|
269
|
-
--colors-primary_3-backgroundColor: #
|
|
196
|
+
--colors-primary_3-backgroundColor: #448086;
|
|
270
197
|
--colors-primary_3-color: #000000;
|
|
271
198
|
--colors-primary_destructive-backgroundColor: #A51140;
|
|
272
199
|
--colors-primary_destructive-color: #FFFFFF;
|
|
273
|
-
--colors-secondary_1-backgroundColor: #
|
|
200
|
+
--colors-secondary_1-backgroundColor: #A9AEB1;
|
|
274
201
|
--colors-secondary_1-color: #000000;
|
|
275
|
-
--colors-secondary_2-backgroundColor: #
|
|
202
|
+
--colors-secondary_2-backgroundColor: #000000;
|
|
276
203
|
--colors-secondary_2-color: #FFFFFF;
|
|
277
|
-
--colors-secondary_3-backgroundColor: #
|
|
204
|
+
--colors-secondary_3-backgroundColor: #006678;
|
|
278
205
|
--colors-secondary_3-color: #FFFFFF;
|
|
279
|
-
--colors-secondary_4-backgroundColor: #
|
|
206
|
+
--colors-secondary_4-backgroundColor: #555E65;
|
|
280
207
|
--colors-secondary_4-color: #FFFFFF;
|
|
281
208
|
--colors-transport_city-backgroundColor: #A2AD00;
|
|
282
209
|
--colors-transport_city-color: #000000;
|
|
283
210
|
--colors-transport_region-backgroundColor: #007C92;
|
|
284
|
-
--colors-transport_region-color: #
|
|
285
|
-
--colors-transport_boat-backgroundColor: #
|
|
211
|
+
--colors-transport_region-color: #FFFFFF;
|
|
212
|
+
--colors-transport_boat-backgroundColor: #71D6E0;
|
|
286
213
|
--colors-transport_boat-color: #000000;
|
|
287
|
-
--colors-transport_train-backgroundColor: #
|
|
288
|
-
--colors-transport_train-color: #
|
|
289
|
-
--colors-transport_airport-backgroundColor: #
|
|
214
|
+
--colors-transport_train-backgroundColor: #4B2942;
|
|
215
|
+
--colors-transport_train-color: #FFFFFF;
|
|
216
|
+
--colors-transport_airport-backgroundColor: #C75B12;
|
|
290
217
|
--colors-transport_airport-color: #000000;
|
|
291
|
-
--colors-transport_plane-backgroundColor: #
|
|
218
|
+
--colors-transport_plane-backgroundColor: #C75B12;
|
|
292
219
|
--colors-transport_plane-color: #000000;
|
|
293
|
-
--colors-transport_other-backgroundColor: #
|
|
294
|
-
--colors-transport_other-color: #
|
|
220
|
+
--colors-transport_other-backgroundColor: #555E65;
|
|
221
|
+
--colors-transport_other-color: #FFFFFF;
|
|
295
222
|
|
|
296
223
|
--status-valid-main-backgroundColor: #A2AD00;
|
|
297
224
|
--status-valid-main-color: #000000;
|
|
298
|
-
--status-valid-bg-backgroundColor: rgba(162, 173, 0, 0.25);
|
|
299
|
-
--status-valid-bg-color: #FFFFFF;
|
|
300
225
|
--status-info-main-backgroundColor: #71D6E0;
|
|
301
226
|
--status-info-main-color: #000000;
|
|
302
|
-
--status-info-bg-backgroundColor: rgba(113, 214, 224, 0.25);
|
|
303
|
-
--status-info-bg-color: #FFFFFF;
|
|
304
227
|
--status-warning-main-backgroundColor: #E4D700;
|
|
305
228
|
--status-warning-main-color: #000000;
|
|
306
|
-
--status-warning-bg-backgroundColor: rgba(228, 215, 0, 0.25);
|
|
307
|
-
--status-warning-bg-color: #000000;
|
|
308
229
|
--status-error-main-backgroundColor: #A51140;
|
|
309
230
|
--status-error-main-color: #FFFFFF;
|
|
310
|
-
--status-error-bg-backgroundColor: rgba(165, 17, 64, 0.25);
|
|
311
|
-
--status-error-bg-color: #000000;
|
|
312
231
|
}
|
|
313
232
|
}
|
|
314
233
|
|
|
@@ -399,31 +318,15 @@
|
|
|
399
318
|
background-color: var(--status-valid-main-backgroundColor);
|
|
400
319
|
color: var(--status-valid-main-color);
|
|
401
320
|
}
|
|
402
|
-
.status-valid-bg {
|
|
403
|
-
background-color: var(--status-valid-bg-backgroundColor);
|
|
404
|
-
color: var(--status-valid-bg-color);
|
|
405
|
-
}
|
|
406
321
|
.status-info-main {
|
|
407
322
|
background-color: var(--status-info-main-backgroundColor);
|
|
408
323
|
color: var(--status-info-main-color);
|
|
409
324
|
}
|
|
410
|
-
.status-info-bg {
|
|
411
|
-
background-color: var(--status-info-bg-backgroundColor);
|
|
412
|
-
color: var(--status-info-bg-color);
|
|
413
|
-
}
|
|
414
325
|
.status-warning-main {
|
|
415
326
|
background-color: var(--status-warning-main-backgroundColor);
|
|
416
327
|
color: var(--status-warning-main-color);
|
|
417
328
|
}
|
|
418
|
-
.status-warning-bg {
|
|
419
|
-
background-color: var(--status-warning-bg-backgroundColor);
|
|
420
|
-
color: var(--status-warning-bg-color);
|
|
421
|
-
}
|
|
422
329
|
.status-error-main {
|
|
423
330
|
background-color: var(--status-error-main-backgroundColor);
|
|
424
331
|
color: var(--status-error-main-color);
|
|
425
332
|
}
|
|
426
|
-
.status-error-bg {
|
|
427
|
-
background-color: var(--status-error-bg-backgroundColor);
|
|
428
|
-
color: var(--status-error-bg-color);
|
|
429
|
-
}
|
|
@@ -1,3 +1,80 @@
|
|
|
1
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
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export declare const colors: {
|
|
17
|
+
white: string;
|
|
18
|
+
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_900: string;
|
|
30
|
+
gray_950: string;
|
|
31
|
+
green_100: string;
|
|
32
|
+
green_200: string;
|
|
33
|
+
green_300: string;
|
|
34
|
+
green_400: string;
|
|
35
|
+
green_500: string;
|
|
36
|
+
green_600: string;
|
|
37
|
+
green_700: string;
|
|
38
|
+
green_800: string;
|
|
39
|
+
green_900: string;
|
|
40
|
+
};
|
|
41
|
+
secondary: {
|
|
42
|
+
cyan_100: string;
|
|
43
|
+
cyan_200: string;
|
|
44
|
+
cyan_300: string;
|
|
45
|
+
cyan_400: string;
|
|
46
|
+
cyan_500: string;
|
|
47
|
+
cyan_600: string;
|
|
48
|
+
cyan_700: string;
|
|
49
|
+
cyan_800: string;
|
|
50
|
+
cyan_900: string;
|
|
51
|
+
blue_100: string;
|
|
52
|
+
blue_200: string;
|
|
53
|
+
blue_300: string;
|
|
54
|
+
blue_400: string;
|
|
55
|
+
blue_500: string;
|
|
56
|
+
blue_600: string;
|
|
57
|
+
blue_700: string;
|
|
58
|
+
blue_800: string;
|
|
59
|
+
blue_900: string;
|
|
60
|
+
yellow_100: string;
|
|
61
|
+
yellow_200: string;
|
|
62
|
+
yellow_500: string;
|
|
63
|
+
red_100: string;
|
|
64
|
+
red_400: string;
|
|
65
|
+
red_500: string;
|
|
66
|
+
red_600: string;
|
|
67
|
+
burgundy_800: string;
|
|
68
|
+
};
|
|
69
|
+
text: {
|
|
70
|
+
light: string;
|
|
71
|
+
dark: string;
|
|
72
|
+
};
|
|
73
|
+
other: {
|
|
74
|
+
orange_500: string;
|
|
75
|
+
ekspressen_500: string;
|
|
76
|
+
ekspressen_600: string;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
2
79
|
declare const themes: Themes;
|
|
3
80
|
export default themes;
|