@atb-as/theme 5.0.0 → 5.0.1
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/package.json +1 -1
- package/lib/colors.d.ts +0 -76
- package/lib/colors.js +0 -84
- package/lib/colors.js.map +0 -1
- package/lib/index.d.ts +0 -3
- package/lib/index.js +0 -16
- package/lib/index.js.map +0 -1
- package/lib/sizes.d.ts +0 -22
- package/lib/sizes.js +0 -25
- package/lib/sizes.js.map +0 -1
- package/lib/theme.css +0 -429
- package/lib/theme.d.ts +0 -122
- package/lib/theme.js +0 -80
- package/lib/theme.js.map +0 -1
- package/lib/theme.module.css +0 -429
- package/lib/themes/atb-theme/colors.d.ts +0 -76
- package/lib/themes/atb-theme/colors.js +0 -84
- package/lib/themes/atb-theme/colors.js.map +0 -1
- package/lib/themes/atb-theme/theme.css +0 -332
- package/lib/themes/atb-theme/theme.d.ts +0 -79
- package/lib/themes/atb-theme/theme.js +0 -215
- package/lib/themes/atb-theme/theme.js.map +0 -1
- package/lib/themes/atb-theme/theme.module.css +0 -332
- package/lib/themes/index.d.ts +0 -2
- package/lib/themes/index.js +0 -11
- package/lib/themes/index.js.map +0 -1
- package/lib/themes/nfk-theme/colors.d.ts +0 -76
- package/lib/themes/nfk-theme/colors.js +0 -84
- package/lib/themes/nfk-theme/colors.js.map +0 -1
- package/lib/themes/nfk-theme/theme.css +0 -332
- package/lib/themes/nfk-theme/theme.d.ts +0 -3
- package/lib/themes/nfk-theme/theme.js +0 -142
- package/lib/themes/nfk-theme/theme.js.map +0 -1
- package/lib/themes/nfk-theme/theme.module.css +0 -332
- package/lib/typography/android.d.ts +0 -3
- package/lib/typography/android.js +0 -59
- package/lib/typography/android.js.map +0 -1
- package/lib/typography/index.d.ts +0 -63
- package/lib/typography/index.js +0 -94
- package/lib/typography/index.js.map +0 -1
- package/lib/typography/ios.d.ts +0 -3
- package/lib/typography/ios.js +0 -58
- package/lib/typography/ios.js.map +0 -1
- package/lib/typography/types.d.ts +0 -20
- package/lib/typography/types.js +0 -18
- package/lib/typography/types.js.map +0 -1
- package/lib/typography.css +0 -156
- package/lib/typography.module.css +0 -156
- package/lib/utils/override-config.d.ts +0 -8
- package/lib/utils/override-config.js +0 -38
- package/lib/utils/override-config.js.map +0 -1
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.colors = exports.backgrounds = void 0;
|
|
4
|
-
exports.backgrounds = {
|
|
5
|
-
light: {
|
|
6
|
-
level0: '#FFFFFF',
|
|
7
|
-
level1: '#E7E8E9',
|
|
8
|
-
level2: '#DBDDDE',
|
|
9
|
-
level3: '#CFD2D3',
|
|
10
|
-
},
|
|
11
|
-
dark: {
|
|
12
|
-
level0: '#000000',
|
|
13
|
-
level1: '#242B30',
|
|
14
|
-
level2: '#37424A',
|
|
15
|
-
level3: '#555E65',
|
|
16
|
-
},
|
|
17
|
-
};
|
|
18
|
-
exports.colors = {
|
|
19
|
-
white: '#ffffff',
|
|
20
|
-
black: '#000000',
|
|
21
|
-
primary: {
|
|
22
|
-
// grays
|
|
23
|
-
gray_50: '#E7E8E9',
|
|
24
|
-
gray_100: '#F5F5F6',
|
|
25
|
-
gray_200: '#AFB3B7',
|
|
26
|
-
gray_300: '#878E92',
|
|
27
|
-
gray_400: '#5F686E',
|
|
28
|
-
gray_500: '#37424A',
|
|
29
|
-
gray_600: '#2C353B',
|
|
30
|
-
gray_700: '#21282C',
|
|
31
|
-
gray_800: '#161A1E',
|
|
32
|
-
gray_900: '#101416',
|
|
33
|
-
gray_950: '#1B1C1D',
|
|
34
|
-
// greens
|
|
35
|
-
green_100: '#E3E6B3',
|
|
36
|
-
green_200: '#DADE99',
|
|
37
|
-
green_300: '#C7CE66',
|
|
38
|
-
green_400: '#B5BD33',
|
|
39
|
-
green_500: '#A2AD00',
|
|
40
|
-
green_600: '#828A00',
|
|
41
|
-
green_700: '#616800',
|
|
42
|
-
green_800: '#414500',
|
|
43
|
-
green_900: '#313400',
|
|
44
|
-
},
|
|
45
|
-
secondary: {
|
|
46
|
-
// cyan
|
|
47
|
-
cyan_100: '#D4F3F6',
|
|
48
|
-
cyan_200: '#C6EFF3',
|
|
49
|
-
cyan_300: '#AAE6EC',
|
|
50
|
-
cyan_400: '#8DDEE6',
|
|
51
|
-
cyan_500: '#71D6E0',
|
|
52
|
-
cyan_600: '#5AABB3',
|
|
53
|
-
cyan_700: '#448086',
|
|
54
|
-
cyan_800: '#2D565A',
|
|
55
|
-
cyan_900: '#224043',
|
|
56
|
-
// i got the blues
|
|
57
|
-
blue_100: '#B3D8DE',
|
|
58
|
-
blue_200: '#99CBD3',
|
|
59
|
-
blue_300: '#66B0BE',
|
|
60
|
-
blue_400: '#3396A8',
|
|
61
|
-
blue_500: '#007C92',
|
|
62
|
-
blue_600: '#006375',
|
|
63
|
-
blue_700: '#004A58',
|
|
64
|
-
blue_800: '#00323A',
|
|
65
|
-
blue_900: '#00252C',
|
|
66
|
-
brown: '#584528',
|
|
67
|
-
orange: '#C75B12',
|
|
68
|
-
yellow_100: '#F7F3B2',
|
|
69
|
-
yellow_500: '#E4D700',
|
|
70
|
-
red_100: '#E4B8C6',
|
|
71
|
-
red_400: '#B74166',
|
|
72
|
-
red_500: '#A51140',
|
|
73
|
-
},
|
|
74
|
-
text: {
|
|
75
|
-
light: '#FFFFFF',
|
|
76
|
-
dark: '#000000',
|
|
77
|
-
},
|
|
78
|
-
other: {
|
|
79
|
-
orange_500: '#BE5604',
|
|
80
|
-
ekspressen_500: '#ED6C05',
|
|
81
|
-
ekspressen_600: '#C75B12',
|
|
82
|
-
},
|
|
83
|
-
};
|
|
84
|
-
//# sourceMappingURL=colors.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"colors.js","sourceRoot":"","sources":["../../../src/themes/nfk-theme/colors.ts"],"names":[],"mappings":";;;AAAa,QAAA,WAAW,GAAG;IACzB,KAA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,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;QAEnB,KAAK,EAAE,SAAS;QAEhB,MAAM,EAAE,SAAS;QAEjB,UAAU,EAAE,SAAS;QACrB,UAAU,EAAE,SAAS;QAErB,OAAO,EAAE,SAAS;QAClB,OAAO,EAAE,SAAS;QAClB,OAAO,EAAE,SAAS;KACnB;IACD,IAAI,EAAE;QACJ,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,SAAS;KAChB;IACD,KAAK,EAAE;QACL,UAAU,EAAE,SAAS;QACrB,cAAc,EAAE,SAAS;QACzB,cAAc,EAAE,SAAS;KAC1B;CACF,CAAC"}
|
|
@@ -1,332 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
/* Light theme data */
|
|
4
|
-
.light {
|
|
5
|
-
--border-primary: #E7E8E9;
|
|
6
|
-
--border-secondary: #003441;
|
|
7
|
-
--border-focus: #007C92;
|
|
8
|
-
--border-radius-circle: 1.25rem;
|
|
9
|
-
--border-radius-regular: 0.5rem;
|
|
10
|
-
--border-radius-small: 0.25rem;
|
|
11
|
-
--border-width-slim: 0.0625rem;
|
|
12
|
-
--border-width-medium: 0.125rem;
|
|
13
|
-
|
|
14
|
-
--spacings-xLarge: 1.5rem;
|
|
15
|
-
--spacings-large: 1.25rem;
|
|
16
|
-
--spacings-medium: 0.75rem;
|
|
17
|
-
--spacings-small: 0.5rem;
|
|
18
|
-
--spacings-xSmall: 0.25rem;
|
|
19
|
-
|
|
20
|
-
--icon-size-large: 1.75rem;
|
|
21
|
-
--icon-size-normal: 1.25rem;
|
|
22
|
-
--icon-size-small: 0.625rem;
|
|
23
|
-
|
|
24
|
-
--text-colors-primary: #003441;
|
|
25
|
-
--text-colors-secondary: rgba(0, 52, 65, 0.7);
|
|
26
|
-
--text-colors-disabled: rgba(0, 52, 65, 0.52);
|
|
27
|
-
|
|
28
|
-
--colors-background_0-backgroundColor: #FFFFFF;
|
|
29
|
-
--colors-background_0-color: #003441;
|
|
30
|
-
--colors-background_1-backgroundColor: #E6F2F6;
|
|
31
|
-
--colors-background_1-color: #003441;
|
|
32
|
-
--colors-background_2-backgroundColor: #EAEAEA;
|
|
33
|
-
--colors-background_2-color: #003441;
|
|
34
|
-
--colors-background_3-backgroundColor: #E4E4E4;
|
|
35
|
-
--colors-background_3-color: #003441;
|
|
36
|
-
--colors-background_accent-backgroundColor: #0181A2;
|
|
37
|
-
--colors-background_accent-color: #FFFFFF;
|
|
38
|
-
--colors-primary_1-backgroundColor: #80C0D1;
|
|
39
|
-
--colors-primary_1-color: #003441;
|
|
40
|
-
--colors-primary_2-backgroundColor: #046073;
|
|
41
|
-
--colors-primary_2-color: #FFFFFF;
|
|
42
|
-
--colors-primary_3-backgroundColor: #99CDDA;
|
|
43
|
-
--colors-primary_3-color: #003441;
|
|
44
|
-
--colors-primary_destructive-backgroundColor: #A61419;
|
|
45
|
-
--colors-primary_destructive-color: #FFFFFF;
|
|
46
|
-
--colors-secondary_1-backgroundColor: #003441;
|
|
47
|
-
--colors-secondary_1-color: #FFFFFF;
|
|
48
|
-
--colors-secondary_2-backgroundColor: #BCCBCF;
|
|
49
|
-
--colors-secondary_2-color: #003441;
|
|
50
|
-
--colors-secondary_3-backgroundColor: #566569;
|
|
51
|
-
--colors-secondary_3-color: #FFFFFF;
|
|
52
|
-
--colors-secondary_4-backgroundColor: #DDE5E7;
|
|
53
|
-
--colors-secondary_4-color: #003441;
|
|
54
|
-
--colors-transport_city-backgroundColor: #014D61;
|
|
55
|
-
--colors-transport_city-color: #FFFFFF;
|
|
56
|
-
--colors-transport_region-backgroundColor: #6C7E2F;
|
|
57
|
-
--colors-transport_region-color: #FFFFFF;
|
|
58
|
-
--colors-transport_boat-backgroundColor: #1777D7;
|
|
59
|
-
--colors-transport_boat-color: #FFFFFF;
|
|
60
|
-
--colors-transport_train-backgroundColor: #A5608A;
|
|
61
|
-
--colors-transport_train-color: #FFFFFF;
|
|
62
|
-
--colors-transport_airport-backgroundColor: #8A62C3;
|
|
63
|
-
--colors-transport_airport-color: #FFFFFF;
|
|
64
|
-
--colors-transport_plane-backgroundColor: #318181;
|
|
65
|
-
--colors-transport_plane-color: #FFFFFF;
|
|
66
|
-
--colors-transport_other-backgroundColor: #717171;
|
|
67
|
-
--colors-transport_other-color: #FFFFFF;
|
|
68
|
-
|
|
69
|
-
--status-valid-main-backgroundColor: #7FDABB;
|
|
70
|
-
--status-valid-main-color: #003441;
|
|
71
|
-
--status-info-main-backgroundColor: #99CDDA;
|
|
72
|
-
--status-info-main-color: #003441;
|
|
73
|
-
--status-warning-main-backgroundColor: #FCBA63;
|
|
74
|
-
--status-warning-main-color: #003441;
|
|
75
|
-
--status-error-main-backgroundColor: #A61419;
|
|
76
|
-
--status-error-main-color: #FFFFFF;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
/* Dark theme data */
|
|
81
|
-
.dark {
|
|
82
|
-
--border-primary: #2C353B;
|
|
83
|
-
--border-secondary: #FFFFFF;
|
|
84
|
-
--border-focus: #71D6E0;
|
|
85
|
-
--border-radius-circle: 1.25rem;
|
|
86
|
-
--border-radius-regular: 0.5rem;
|
|
87
|
-
--border-radius-small: 0.25rem;
|
|
88
|
-
--border-width-slim: 0.0625rem;
|
|
89
|
-
--border-width-medium: 0.125rem;
|
|
90
|
-
|
|
91
|
-
--spacings-xLarge: 1.5rem;
|
|
92
|
-
--spacings-large: 1.25rem;
|
|
93
|
-
--spacings-medium: 0.75rem;
|
|
94
|
-
--spacings-small: 0.5rem;
|
|
95
|
-
--spacings-xSmall: 0.25rem;
|
|
96
|
-
|
|
97
|
-
--icon-size-large: 1.75rem;
|
|
98
|
-
--icon-size-normal: 1.25rem;
|
|
99
|
-
--icon-size-small: 0.625rem;
|
|
100
|
-
|
|
101
|
-
--text-colors-primary: #FFFFFF;
|
|
102
|
-
--text-colors-secondary: rgba(255, 255, 255, 0.6);
|
|
103
|
-
--text-colors-disabled: rgba(255, 255, 255, 0.2);
|
|
104
|
-
|
|
105
|
-
--colors-background_0-backgroundColor: #046073;
|
|
106
|
-
--colors-background_0-color: #FFFFFF;
|
|
107
|
-
--colors-background_1-backgroundColor: #00303D;
|
|
108
|
-
--colors-background_1-color: #FFFFFF;
|
|
109
|
-
--colors-background_2-backgroundColor: #00232C;
|
|
110
|
-
--colors-background_2-color: #FFFFFF;
|
|
111
|
-
--colors-background_3-backgroundColor: #002B38;
|
|
112
|
-
--colors-background_3-color: #FFFFFF;
|
|
113
|
-
--colors-background_accent-backgroundColor: #00232C;
|
|
114
|
-
--colors-background_accent-color: #FFFFFF;
|
|
115
|
-
--colors-primary_1-backgroundColor: #80C0D1;
|
|
116
|
-
--colors-primary_1-color: #003441;
|
|
117
|
-
--colors-primary_2-backgroundColor: #0181A2;
|
|
118
|
-
--colors-primary_2-color: #FFFFFF;
|
|
119
|
-
--colors-primary_3-backgroundColor: #99CDDA;
|
|
120
|
-
--colors-primary_3-color: #003441;
|
|
121
|
-
--colors-primary_destructive-backgroundColor: #D51920;
|
|
122
|
-
--colors-primary_destructive-color: #FFFFFF;
|
|
123
|
-
--colors-secondary_1-backgroundColor: #D2DDDF;
|
|
124
|
-
--colors-secondary_1-color: #003441;
|
|
125
|
-
--colors-secondary_2-backgroundColor: #386169;
|
|
126
|
-
--colors-secondary_2-color: #FFFFFF;
|
|
127
|
-
--colors-secondary_3-backgroundColor: #436B73;
|
|
128
|
-
--colors-secondary_3-color: #FFFFFF;
|
|
129
|
-
--colors-secondary_4-backgroundColor: #264B54;
|
|
130
|
-
--colors-secondary_4-color: #FFFFFF;
|
|
131
|
-
--colors-transport_city-backgroundColor: #80C0D1;
|
|
132
|
-
--colors-transport_city-color: #003441;
|
|
133
|
-
--colors-transport_region-backgroundColor: #98A56D;
|
|
134
|
-
--colors-transport_region-color: #003441;
|
|
135
|
-
--colors-transport_boat-backgroundColor: #5DA0E3;
|
|
136
|
-
--colors-transport_boat-color: #003441;
|
|
137
|
-
--colors-transport_train-backgroundColor: #C090AD;
|
|
138
|
-
--colors-transport_train-color: #003441;
|
|
139
|
-
--colors-transport_airport-backgroundColor: #AD91D5;
|
|
140
|
-
--colors-transport_airport-color: #003441;
|
|
141
|
-
--colors-transport_plane-backgroundColor: #6FA7A7;
|
|
142
|
-
--colors-transport_plane-color: #003441;
|
|
143
|
-
--colors-transport_other-backgroundColor: #9C9C9C;
|
|
144
|
-
--colors-transport_other-color: #003441;
|
|
145
|
-
|
|
146
|
-
--status-valid-main-backgroundColor: #7FDABB;
|
|
147
|
-
--status-valid-main-color: #003441;
|
|
148
|
-
--status-info-main-backgroundColor: #99CDDA;
|
|
149
|
-
--status-info-main-color: #003441;
|
|
150
|
-
--status-warning-main-backgroundColor: #FCBA63;
|
|
151
|
-
--status-warning-main-color: #003441;
|
|
152
|
-
--status-error-main-backgroundColor: #BE161D;
|
|
153
|
-
--status-error-main-color: #FFFFFF;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
@media (prefers-color-scheme: dark) {
|
|
158
|
-
.light:not(.override-light) {
|
|
159
|
-
--border-primary: #2C353B;
|
|
160
|
-
--border-secondary: #FFFFFF;
|
|
161
|
-
--border-focus: #71D6E0;
|
|
162
|
-
--border-radius-circle: 1.25rem;
|
|
163
|
-
--border-radius-regular: 0.5rem;
|
|
164
|
-
--border-radius-small: 0.25rem;
|
|
165
|
-
--border-width-slim: 0.0625rem;
|
|
166
|
-
--border-width-medium: 0.125rem;
|
|
167
|
-
|
|
168
|
-
--spacings-xLarge: 1.5rem;
|
|
169
|
-
--spacings-large: 1.25rem;
|
|
170
|
-
--spacings-medium: 0.75rem;
|
|
171
|
-
--spacings-small: 0.5rem;
|
|
172
|
-
--spacings-xSmall: 0.25rem;
|
|
173
|
-
|
|
174
|
-
--icon-size-large: 1.75rem;
|
|
175
|
-
--icon-size-normal: 1.25rem;
|
|
176
|
-
--icon-size-small: 0.625rem;
|
|
177
|
-
|
|
178
|
-
--text-colors-primary: #FFFFFF;
|
|
179
|
-
--text-colors-secondary: rgba(255, 255, 255, 0.6);
|
|
180
|
-
--text-colors-disabled: rgba(255, 255, 255, 0.2);
|
|
181
|
-
|
|
182
|
-
--colors-background_0-backgroundColor: #046073;
|
|
183
|
-
--colors-background_0-color: #FFFFFF;
|
|
184
|
-
--colors-background_1-backgroundColor: #00303D;
|
|
185
|
-
--colors-background_1-color: #FFFFFF;
|
|
186
|
-
--colors-background_2-backgroundColor: #00232C;
|
|
187
|
-
--colors-background_2-color: #FFFFFF;
|
|
188
|
-
--colors-background_3-backgroundColor: #002B38;
|
|
189
|
-
--colors-background_3-color: #FFFFFF;
|
|
190
|
-
--colors-background_accent-backgroundColor: #00232C;
|
|
191
|
-
--colors-background_accent-color: #FFFFFF;
|
|
192
|
-
--colors-primary_1-backgroundColor: #80C0D1;
|
|
193
|
-
--colors-primary_1-color: #003441;
|
|
194
|
-
--colors-primary_2-backgroundColor: #0181A2;
|
|
195
|
-
--colors-primary_2-color: #FFFFFF;
|
|
196
|
-
--colors-primary_3-backgroundColor: #99CDDA;
|
|
197
|
-
--colors-primary_3-color: #003441;
|
|
198
|
-
--colors-primary_destructive-backgroundColor: #D51920;
|
|
199
|
-
--colors-primary_destructive-color: #FFFFFF;
|
|
200
|
-
--colors-secondary_1-backgroundColor: #D2DDDF;
|
|
201
|
-
--colors-secondary_1-color: #003441;
|
|
202
|
-
--colors-secondary_2-backgroundColor: #386169;
|
|
203
|
-
--colors-secondary_2-color: #FFFFFF;
|
|
204
|
-
--colors-secondary_3-backgroundColor: #436B73;
|
|
205
|
-
--colors-secondary_3-color: #FFFFFF;
|
|
206
|
-
--colors-secondary_4-backgroundColor: #264B54;
|
|
207
|
-
--colors-secondary_4-color: #FFFFFF;
|
|
208
|
-
--colors-transport_city-backgroundColor: #80C0D1;
|
|
209
|
-
--colors-transport_city-color: #003441;
|
|
210
|
-
--colors-transport_region-backgroundColor: #98A56D;
|
|
211
|
-
--colors-transport_region-color: #003441;
|
|
212
|
-
--colors-transport_boat-backgroundColor: #5DA0E3;
|
|
213
|
-
--colors-transport_boat-color: #003441;
|
|
214
|
-
--colors-transport_train-backgroundColor: #C090AD;
|
|
215
|
-
--colors-transport_train-color: #003441;
|
|
216
|
-
--colors-transport_airport-backgroundColor: #AD91D5;
|
|
217
|
-
--colors-transport_airport-color: #003441;
|
|
218
|
-
--colors-transport_plane-backgroundColor: #6FA7A7;
|
|
219
|
-
--colors-transport_plane-color: #003441;
|
|
220
|
-
--colors-transport_other-backgroundColor: #9C9C9C;
|
|
221
|
-
--colors-transport_other-color: #003441;
|
|
222
|
-
|
|
223
|
-
--status-valid-main-backgroundColor: #7FDABB;
|
|
224
|
-
--status-valid-main-color: #003441;
|
|
225
|
-
--status-info-main-backgroundColor: #99CDDA;
|
|
226
|
-
--status-info-main-color: #003441;
|
|
227
|
-
--status-warning-main-backgroundColor: #FCBA63;
|
|
228
|
-
--status-warning-main-color: #003441;
|
|
229
|
-
--status-error-main-backgroundColor: #BE161D;
|
|
230
|
-
--status-error-main-color: #FFFFFF;
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
/* Theme color pairs */
|
|
236
|
-
.colors-background_0 {
|
|
237
|
-
background-color: var(--colors-background_0-backgroundColor);
|
|
238
|
-
color: var(--colors-background_0-color);
|
|
239
|
-
}
|
|
240
|
-
.colors-background_1 {
|
|
241
|
-
background-color: var(--colors-background_1-backgroundColor);
|
|
242
|
-
color: var(--colors-background_1-color);
|
|
243
|
-
}
|
|
244
|
-
.colors-background_2 {
|
|
245
|
-
background-color: var(--colors-background_2-backgroundColor);
|
|
246
|
-
color: var(--colors-background_2-color);
|
|
247
|
-
}
|
|
248
|
-
.colors-background_3 {
|
|
249
|
-
background-color: var(--colors-background_3-backgroundColor);
|
|
250
|
-
color: var(--colors-background_3-color);
|
|
251
|
-
}
|
|
252
|
-
.colors-background_accent {
|
|
253
|
-
background-color: var(--colors-background_accent-backgroundColor);
|
|
254
|
-
color: var(--colors-background_accent-color);
|
|
255
|
-
}
|
|
256
|
-
.colors-primary_1 {
|
|
257
|
-
background-color: var(--colors-primary_1-backgroundColor);
|
|
258
|
-
color: var(--colors-primary_1-color);
|
|
259
|
-
}
|
|
260
|
-
.colors-primary_2 {
|
|
261
|
-
background-color: var(--colors-primary_2-backgroundColor);
|
|
262
|
-
color: var(--colors-primary_2-color);
|
|
263
|
-
}
|
|
264
|
-
.colors-primary_3 {
|
|
265
|
-
background-color: var(--colors-primary_3-backgroundColor);
|
|
266
|
-
color: var(--colors-primary_3-color);
|
|
267
|
-
}
|
|
268
|
-
.colors-primary_destructive {
|
|
269
|
-
background-color: var(--colors-primary_destructive-backgroundColor);
|
|
270
|
-
color: var(--colors-primary_destructive-color);
|
|
271
|
-
}
|
|
272
|
-
.colors-secondary_1 {
|
|
273
|
-
background-color: var(--colors-secondary_1-backgroundColor);
|
|
274
|
-
color: var(--colors-secondary_1-color);
|
|
275
|
-
}
|
|
276
|
-
.colors-secondary_2 {
|
|
277
|
-
background-color: var(--colors-secondary_2-backgroundColor);
|
|
278
|
-
color: var(--colors-secondary_2-color);
|
|
279
|
-
}
|
|
280
|
-
.colors-secondary_3 {
|
|
281
|
-
background-color: var(--colors-secondary_3-backgroundColor);
|
|
282
|
-
color: var(--colors-secondary_3-color);
|
|
283
|
-
}
|
|
284
|
-
.colors-secondary_4 {
|
|
285
|
-
background-color: var(--colors-secondary_4-backgroundColor);
|
|
286
|
-
color: var(--colors-secondary_4-color);
|
|
287
|
-
}
|
|
288
|
-
.colors-transport_city {
|
|
289
|
-
background-color: var(--colors-transport_city-backgroundColor);
|
|
290
|
-
color: var(--colors-transport_city-color);
|
|
291
|
-
}
|
|
292
|
-
.colors-transport_region {
|
|
293
|
-
background-color: var(--colors-transport_region-backgroundColor);
|
|
294
|
-
color: var(--colors-transport_region-color);
|
|
295
|
-
}
|
|
296
|
-
.colors-transport_boat {
|
|
297
|
-
background-color: var(--colors-transport_boat-backgroundColor);
|
|
298
|
-
color: var(--colors-transport_boat-color);
|
|
299
|
-
}
|
|
300
|
-
.colors-transport_train {
|
|
301
|
-
background-color: var(--colors-transport_train-backgroundColor);
|
|
302
|
-
color: var(--colors-transport_train-color);
|
|
303
|
-
}
|
|
304
|
-
.colors-transport_airport {
|
|
305
|
-
background-color: var(--colors-transport_airport-backgroundColor);
|
|
306
|
-
color: var(--colors-transport_airport-color);
|
|
307
|
-
}
|
|
308
|
-
.colors-transport_plane {
|
|
309
|
-
background-color: var(--colors-transport_plane-backgroundColor);
|
|
310
|
-
color: var(--colors-transport_plane-color);
|
|
311
|
-
}
|
|
312
|
-
.colors-transport_other {
|
|
313
|
-
background-color: var(--colors-transport_other-backgroundColor);
|
|
314
|
-
color: var(--colors-transport_other-color);
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
.status-valid-main {
|
|
318
|
-
background-color: var(--status-valid-main-backgroundColor);
|
|
319
|
-
color: var(--status-valid-main-color);
|
|
320
|
-
}
|
|
321
|
-
.status-info-main {
|
|
322
|
-
background-color: var(--status-info-main-backgroundColor);
|
|
323
|
-
color: var(--status-info-main-color);
|
|
324
|
-
}
|
|
325
|
-
.status-warning-main {
|
|
326
|
-
background-color: var(--status-warning-main-backgroundColor);
|
|
327
|
-
color: var(--status-warning-main-color);
|
|
328
|
-
}
|
|
329
|
-
.status-error-main {
|
|
330
|
-
background-color: var(--status-error-main-backgroundColor);
|
|
331
|
-
color: var(--status-error-main-color);
|
|
332
|
-
}
|
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
var sizes_1 = require("../../sizes");
|
|
7
|
-
var hex_to_rgba_1 = __importDefault(require("hex-to-rgba"));
|
|
8
|
-
var colors = {
|
|
9
|
-
white: '#ffffff',
|
|
10
|
-
black: '#000000',
|
|
11
|
-
text: {
|
|
12
|
-
light: '#FFFFFF',
|
|
13
|
-
dark: '#003441',
|
|
14
|
-
},
|
|
15
|
-
};
|
|
16
|
-
var contrastColor = function (backgroundColor, textColorType) {
|
|
17
|
-
if (backgroundColor === void 0) { backgroundColor = colors.white; }
|
|
18
|
-
if (textColorType === void 0) { textColorType = 'dark'; }
|
|
19
|
-
return { backgroundColor: backgroundColor, color: colors.text[textColorType], textColorType: textColorType };
|
|
20
|
-
};
|
|
21
|
-
var themes = {
|
|
22
|
-
light: {
|
|
23
|
-
spacings: sizes_1.spacings,
|
|
24
|
-
colors: {
|
|
25
|
-
background_0: contrastColor('#FFFFFF', 'dark'),
|
|
26
|
-
background_1: contrastColor('#E6F2F6', 'dark'),
|
|
27
|
-
background_2: contrastColor('#EAEAEA', 'dark'),
|
|
28
|
-
background_3: contrastColor('#E4E4E4', 'dark'),
|
|
29
|
-
background_accent: contrastColor('#0181A2', 'light'),
|
|
30
|
-
primary_1: contrastColor('#80C0D1', 'dark'),
|
|
31
|
-
primary_2: contrastColor('#046073', 'light'),
|
|
32
|
-
primary_3: contrastColor('#99CDDA', 'dark'),
|
|
33
|
-
primary_destructive: contrastColor('#A61419', 'light'),
|
|
34
|
-
secondary_1: contrastColor('#003441', 'light'),
|
|
35
|
-
secondary_2: contrastColor('#BCCBCF', 'dark'),
|
|
36
|
-
secondary_3: contrastColor('#566569', 'light'),
|
|
37
|
-
secondary_4: contrastColor('#DDE5E7', 'dark'),
|
|
38
|
-
transport_city: contrastColor('#014D61', 'light'),
|
|
39
|
-
transport_region: contrastColor('#6C7E2F', 'light'),
|
|
40
|
-
transport_boat: contrastColor('#1777D7', 'light'),
|
|
41
|
-
transport_train: contrastColor('#A5608A', 'light'),
|
|
42
|
-
transport_airport: contrastColor('#8A62C3', 'light'),
|
|
43
|
-
transport_plane: contrastColor('#318181', 'light'),
|
|
44
|
-
transport_other: contrastColor('#717171', 'light'),
|
|
45
|
-
},
|
|
46
|
-
content: {
|
|
47
|
-
subtle_primary: contrastColor('#E7E8E9', 'dark'),
|
|
48
|
-
},
|
|
49
|
-
status: {
|
|
50
|
-
valid: {
|
|
51
|
-
main: contrastColor('#7FDABB', 'dark'),
|
|
52
|
-
},
|
|
53
|
-
info: {
|
|
54
|
-
main: contrastColor('#99CDDA', 'dark'),
|
|
55
|
-
},
|
|
56
|
-
warning: {
|
|
57
|
-
main: contrastColor('#FCBA63', 'dark'),
|
|
58
|
-
},
|
|
59
|
-
error: {
|
|
60
|
-
main: contrastColor('#A61419', 'light'),
|
|
61
|
-
},
|
|
62
|
-
},
|
|
63
|
-
text: {
|
|
64
|
-
colors: {
|
|
65
|
-
primary: colors.text.dark,
|
|
66
|
-
secondary: (0, hex_to_rgba_1.default)(colors.text.dark, 0.7),
|
|
67
|
-
disabled: (0, hex_to_rgba_1.default)(colors.text.dark, 0.52),
|
|
68
|
-
},
|
|
69
|
-
},
|
|
70
|
-
border: {
|
|
71
|
-
primary: '#E7E8E9',
|
|
72
|
-
secondary: colors.text.dark,
|
|
73
|
-
focus: '#007C92',
|
|
74
|
-
radius: sizes_1.borderRadius,
|
|
75
|
-
width: sizes_1.borderWidth,
|
|
76
|
-
},
|
|
77
|
-
icon: {
|
|
78
|
-
size: sizes_1.iconSizes,
|
|
79
|
-
},
|
|
80
|
-
},
|
|
81
|
-
dark: {
|
|
82
|
-
spacings: sizes_1.spacings,
|
|
83
|
-
colors: {
|
|
84
|
-
background_0: contrastColor('#046073', 'light'),
|
|
85
|
-
background_1: contrastColor('#00303D', 'light'),
|
|
86
|
-
background_2: contrastColor('#00232C', 'light'),
|
|
87
|
-
background_3: contrastColor('#002B38', 'light'),
|
|
88
|
-
background_accent: contrastColor('#00232C', 'light'),
|
|
89
|
-
primary_1: contrastColor('#80C0D1', 'dark'),
|
|
90
|
-
primary_2: contrastColor('#0181A2', 'light'),
|
|
91
|
-
primary_3: contrastColor('#99CDDA', 'dark'),
|
|
92
|
-
primary_destructive: contrastColor('#D51920', 'light'),
|
|
93
|
-
secondary_1: contrastColor('#D2DDDF', 'dark'),
|
|
94
|
-
secondary_2: contrastColor('#386169', 'light'),
|
|
95
|
-
secondary_3: contrastColor('#436B73', 'light'),
|
|
96
|
-
secondary_4: contrastColor('#264B54', 'light'),
|
|
97
|
-
transport_city: contrastColor('#80C0D1'),
|
|
98
|
-
transport_region: contrastColor('#98A56D'),
|
|
99
|
-
transport_boat: contrastColor('#5DA0E3'),
|
|
100
|
-
transport_train: contrastColor('#C090AD'),
|
|
101
|
-
transport_airport: contrastColor('#AD91D5'),
|
|
102
|
-
transport_plane: contrastColor('#6FA7A7'),
|
|
103
|
-
transport_other: contrastColor('#9C9C9C'),
|
|
104
|
-
},
|
|
105
|
-
content: {
|
|
106
|
-
subtle_primary: contrastColor('#1B1C1D', 'dark'),
|
|
107
|
-
},
|
|
108
|
-
status: {
|
|
109
|
-
valid: {
|
|
110
|
-
main: contrastColor('#7FDABB', 'dark'),
|
|
111
|
-
},
|
|
112
|
-
info: {
|
|
113
|
-
main: contrastColor('#99CDDA', 'dark'),
|
|
114
|
-
},
|
|
115
|
-
warning: {
|
|
116
|
-
main: contrastColor('#FCBA63', 'dark'),
|
|
117
|
-
},
|
|
118
|
-
error: {
|
|
119
|
-
main: contrastColor('#BE161D', 'light'),
|
|
120
|
-
},
|
|
121
|
-
},
|
|
122
|
-
text: {
|
|
123
|
-
colors: {
|
|
124
|
-
primary: colors.text.light,
|
|
125
|
-
secondary: (0, hex_to_rgba_1.default)(colors.text.light, 0.6),
|
|
126
|
-
disabled: (0, hex_to_rgba_1.default)(colors.text.light, 0.2),
|
|
127
|
-
},
|
|
128
|
-
},
|
|
129
|
-
border: {
|
|
130
|
-
primary: '#2C353B',
|
|
131
|
-
secondary: colors.text.light,
|
|
132
|
-
focus: '#71D6E0',
|
|
133
|
-
radius: sizes_1.borderRadius,
|
|
134
|
-
width: sizes_1.borderWidth,
|
|
135
|
-
},
|
|
136
|
-
icon: {
|
|
137
|
-
size: sizes_1.iconSizes,
|
|
138
|
-
},
|
|
139
|
-
},
|
|
140
|
-
};
|
|
141
|
-
exports.default = themes;
|
|
142
|
-
//# sourceMappingURL=theme.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"theme.js","sourceRoot":"","sources":["../../../src/themes/nfk-theme/theme.ts"],"names":[],"mappings":";;;;;AACA,qCAA2E;AAC3E,4DAAoC;AAEpC,IAAM,MAAM,GAAG;IACb,KAAK,EAAE,SAAS;IAChB,KAAK,EAAE,SAAS;IAChB,IAAI,EAAE;QACJ,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,SAAS;KAChB;CACF,CAAC;AAEF,IAAM,aAAa,GAAG,UACpB,eAAsC,EACtC,aAAqC;IADrC,gCAAA,EAAA,kBAA0B,MAAM,CAAC,KAAK;IACtC,8BAAA,EAAA,sBAAqC;IAErC,OAAO,EAAC,eAAe,iBAAA,EAAE,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,EAAE,aAAa,eAAA,EAAC,CAAC;AAC7E,CAAC,CAAC;AAEF,IAAM,MAAM,GAAW;IACrB,KAAK,EAAE;QACL,QAAQ,EAAE,gBAAQ;QAClB,MAAM,EAAE;YACN,YAAY,EAAE,aAAa,CAAC,SAAS,EAAE,MAAM,CAAC;YAC9C,YAAY,EAAE,aAAa,CAAC,SAAS,EAAE,MAAM,CAAC;YAC9C,YAAY,EAAE,aAAa,CAAC,SAAS,EAAE,MAAM,CAAC;YAC9C,YAAY,EAAE,aAAa,CAAC,SAAS,EAAE,MAAM,CAAC;YAC9C,iBAAiB,EAAE,aAAa,CAAC,SAAS,EAAE,OAAO,CAAC;YACpD,SAAS,EAAE,aAAa,CAAC,SAAS,EAAE,MAAM,CAAC;YAC3C,SAAS,EAAE,aAAa,CAAC,SAAS,EAAE,OAAO,CAAC;YAC5C,SAAS,EAAE,aAAa,CAAC,SAAS,EAAE,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