@entur/tokens 3.12.0 → 3.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/data.css ADDED
@@ -0,0 +1,41 @@
1
+ @import '~@entur/tokens/dist/semantic.css';
2
+ /* DO NOT CHANGE!*/
3
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
4
+ [data-color-mode='light'],
5
+ :root {
6
+ --contrast-azure: #64b2fb;
7
+ --contrast-blue: #6c6eb7;
8
+ --contrast-coral: #ff5959;
9
+ --contrast-jungle: #0fc2b3;
10
+ --contrast-lavender: #aeb7e2;
11
+ --contrast-lilac: #ea8bea;
12
+ --contrast-peach: #ffbf9e;
13
+ --contrast-spring: #7bc00b;
14
+ --standard-azure: #2f98fa;
15
+ --standard-blue: #181c56;
16
+ --standard-coral: #ff5959;
17
+ --standard-jungle: #0ea2a8;
18
+ --standard-lavender: #8692ca;
19
+ --standard-lilac: #8e57e3;
20
+ --standard-peach: #ca825b;
21
+ --standard-spring: #57a257;
22
+ }
23
+
24
+ [data-color-mode='dark'] {
25
+ --contrast-azure: #669bcc;
26
+ --contrast-blue: #aeb7e2;
27
+ --contrast-coral: #ff9494;
28
+ --contrast-jungle: #349d94;
29
+ --contrast-lavender: #7c8ad0;
30
+ --contrast-lilac: #c982c9;
31
+ --contrast-peach: #d6855c;
32
+ --contrast-spring: #8cb24c;
33
+ --standard-azure: #669bcc;
34
+ --standard-blue: #aeb7e2;
35
+ --standard-coral: #ff9494;
36
+ --standard-jungle: #349d94;
37
+ --standard-lavender: #7c8ad0;
38
+ --standard-lilac: #c982c9;
39
+ --standard-peach: #d6855c;
40
+ --standard-spring: #8cb24c;
41
+ }
package/dist/data.d.ts ADDED
@@ -0,0 +1,46 @@
1
+ export declare const data: {
2
+ light: {
3
+ contrast: {
4
+ azure: string;
5
+ blue: string;
6
+ coral: string;
7
+ jungle: string;
8
+ lavender: string;
9
+ lilac: string;
10
+ peach: string;
11
+ spring: string;
12
+ };
13
+ standard: {
14
+ azure: string;
15
+ blue: string;
16
+ coral: string;
17
+ jungle: string;
18
+ lavender: string;
19
+ lilac: string;
20
+ peach: string;
21
+ spring: string;
22
+ };
23
+ };
24
+ dark: {
25
+ contrast: {
26
+ azure: string;
27
+ blue: string;
28
+ coral: string;
29
+ jungle: string;
30
+ lavender: string;
31
+ lilac: string;
32
+ peach: string;
33
+ spring: string;
34
+ };
35
+ standard: {
36
+ azure: string;
37
+ blue: string;
38
+ coral: string;
39
+ jungle: string;
40
+ lavender: string;
41
+ lilac: string;
42
+ peach: string;
43
+ spring: string;
44
+ };
45
+ };
46
+ };
package/dist/data.less ADDED
@@ -0,0 +1,41 @@
1
+ @import '~@entur/tokens/dist/semantic.css';
2
+ /* DO NOT CHANGE!*/
3
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
4
+ [data-color-mode='light'],
5
+ :root {
6
+ @contrast-azure: #64b2fb;
7
+ @contrast-blue: #6c6eb7;
8
+ @contrast-coral: #ff5959;
9
+ @contrast-jungle: #0fc2b3;
10
+ @contrast-lavender: #aeb7e2;
11
+ @contrast-lilac: #ea8bea;
12
+ @contrast-peach: #ffbf9e;
13
+ @contrast-spring: #7bc00b;
14
+ @standard-azure: #2f98fa;
15
+ @standard-blue: #181c56;
16
+ @standard-coral: #ff5959;
17
+ @standard-jungle: #0ea2a8;
18
+ @standard-lavender: #8692ca;
19
+ @standard-lilac: #8e57e3;
20
+ @standard-peach: #ca825b;
21
+ @standard-spring: #57a257;
22
+ }
23
+
24
+ [data-color-mode='dark'] {
25
+ @contrast-azure: #669bcc;
26
+ @contrast-blue: #aeb7e2;
27
+ @contrast-coral: #ff9494;
28
+ @contrast-jungle: #349d94;
29
+ @contrast-lavender: #7c8ad0;
30
+ @contrast-lilac: #c982c9;
31
+ @contrast-peach: #d6855c;
32
+ @contrast-spring: #8cb24c;
33
+ @standard-azure: #669bcc;
34
+ @standard-blue: #aeb7e2;
35
+ @standard-coral: #ff9494;
36
+ @standard-jungle: #349d94;
37
+ @standard-lavender: #7c8ad0;
38
+ @standard-lilac: #c982c9;
39
+ @standard-peach: #d6855c;
40
+ @standard-spring: #8cb24c;
41
+ }
package/dist/data.scss ADDED
@@ -0,0 +1,41 @@
1
+ @use '~@entur/tokens/dist/semantic.css';
2
+ /* DO NOT CHANGE!*/
3
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
4
+ [data-color-mode='light'],
5
+ :root {
6
+ $contrast-azure: #64b2fb;
7
+ $contrast-blue: #6c6eb7;
8
+ $contrast-coral: #ff5959;
9
+ $contrast-jungle: #0fc2b3;
10
+ $contrast-lavender: #aeb7e2;
11
+ $contrast-lilac: #ea8bea;
12
+ $contrast-peach: #ffbf9e;
13
+ $contrast-spring: #7bc00b;
14
+ $standard-azure: #2f98fa;
15
+ $standard-blue: #181c56;
16
+ $standard-coral: #ff5959;
17
+ $standard-jungle: #0ea2a8;
18
+ $standard-lavender: #8692ca;
19
+ $standard-lilac: #8e57e3;
20
+ $standard-peach: #ca825b;
21
+ $standard-spring: #57a257;
22
+ }
23
+
24
+ [data-color-mode='dark'] {
25
+ $contrast-azure: #669bcc;
26
+ $contrast-blue: #aeb7e2;
27
+ $contrast-coral: #ff9494;
28
+ $contrast-jungle: #349d94;
29
+ $contrast-lavender: #7c8ad0;
30
+ $contrast-lilac: #c982c9;
31
+ $contrast-peach: #d6855c;
32
+ $contrast-spring: #8cb24c;
33
+ $standard-azure: #669bcc;
34
+ $standard-blue: #aeb7e2;
35
+ $standard-coral: #ff9494;
36
+ $standard-jungle: #349d94;
37
+ $standard-lavender: #7c8ad0;
38
+ $standard-lilac: #c982c9;
39
+ $standard-peach: #d6855c;
40
+ $standard-spring: #8cb24c;
41
+ }
package/dist/index.d.ts CHANGED
@@ -1,276 +1,7 @@
1
- export declare const colors: {
2
- brand: {
3
- blue: string;
4
- lavender: string;
5
- white: string;
6
- coral: string;
7
- peach: string;
8
- };
9
- blues: {
10
- blue10: string;
11
- blue20: string;
12
- blue30: string;
13
- blue40: string;
14
- blue45: string;
15
- blue50: string;
16
- blue60: string;
17
- blue70: string;
18
- blue80: string;
19
- blue90: string;
20
- };
21
- greys: {
22
- grey: string;
23
- grey10: string;
24
- grey20: string;
25
- grey30: string;
26
- grey40: string;
27
- grey45: string;
28
- grey50: string;
29
- grey60: string;
30
- grey70: string;
31
- grey80: string;
32
- grey90: string;
33
- };
34
- validation: {
35
- sky: string;
36
- skyContrast: string;
37
- skyTint: string;
38
- lava: string;
39
- lavaContrast: string;
40
- lavaTint: string;
41
- mint: string;
42
- mintContrast: string;
43
- mintTint: string;
44
- canary: string;
45
- canaryContrast: string;
46
- canaryTint: string;
47
- };
48
- misc: {
49
- focus: string;
50
- black: string;
51
- };
52
- transport: {
53
- default: {
54
- metro: string;
55
- bus: string;
56
- plane: string;
57
- helicopter: string;
58
- tram: string;
59
- funicular: string;
60
- cableway: string;
61
- taxi: string;
62
- bicycle: string;
63
- walk: string;
64
- train: string;
65
- ferry: string;
66
- carferry: string;
67
- mobility: string;
68
- };
69
- contrast: {
70
- metro: string;
71
- bus: string;
72
- plane: string;
73
- helicopter: string;
74
- tram: string;
75
- funicular: string;
76
- cableway: string;
77
- taxi: string;
78
- bicycle: string;
79
- walk: string;
80
- train: string;
81
- ferry: string;
82
- carferry: string;
83
- mobility: string;
84
- };
85
- };
86
- data: {
87
- default: {
88
- blue: string;
89
- coral: string;
90
- jungle: string;
91
- azure: string;
92
- lavender: string;
93
- peach: string;
94
- spring: string;
95
- lilac: string;
96
- };
97
- contrast: {
98
- blue: string;
99
- coral: string;
100
- jungle: string;
101
- azure: string;
102
- lavender: string;
103
- peach: string;
104
- spring: string;
105
- lilac: string;
106
- };
107
- };
108
- };
109
- export declare const space: {
110
- none: number;
111
- default: number;
112
- extraSmall2: number;
113
- extraSmall: number;
114
- small: number;
115
- medium: number;
116
- large: number;
117
- extraLarge: number;
118
- extraLarge2: number;
119
- extraLarge3: number;
120
- extraLarge4: number;
121
- extraLarge5: number;
122
- extraLarge6: number;
123
- extraLarge7: number;
124
- extraLarge8: number;
125
- extraLarge9: number;
126
- rem: {
127
- none: number;
128
- default: number;
129
- extraSmall2: number;
130
- extraSmall: number;
131
- small: number;
132
- medium: number;
133
- large: number;
134
- extraLarge: number;
135
- extraLarge2: number;
136
- extraLarge3: number;
137
- extraLarge4: number;
138
- extraLarge5: number;
139
- extraLarge6: number;
140
- extraLarge7: number;
141
- extraLarge8: number;
142
- extraLarge9: number;
143
- };
144
- };
145
- export declare const fontWeights: {
146
- body: string;
147
- heading: string;
148
- };
149
- export declare const fontSizes: {
150
- extraSmall: number;
151
- small: number;
152
- medium: number;
153
- large: number;
154
- extraLarge: number;
155
- extraLarge2: number;
156
- extraLarge3: number;
157
- extraLarge4: number;
158
- extraLarge5: number;
159
- rem: {
160
- extraSmall: number;
161
- small: number;
162
- medium: number;
163
- large: number;
164
- extraLarge: number;
165
- extraLarge2: number;
166
- extraLarge3: number;
167
- extraLarge4: number;
168
- extraLarge5: number;
169
- };
170
- };
171
- export declare const lineHeights: {
172
- extraSmall: number;
173
- small: number;
174
- medium: number;
175
- large: number;
176
- extraLarge: number;
177
- extraLarge2: number;
178
- extraLarge3: number;
179
- extraLarge4: number;
180
- extraLarge5: number;
181
- extraLarge6: number;
182
- extraLarge7: number;
183
- rem: {
184
- extraSmall: number;
185
- small: number;
186
- medium: number;
187
- large: number;
188
- extraLarge: number;
189
- extraLarge2: number;
190
- extraLarge3: number;
191
- extraLarge4: number;
192
- extraLarge5: number;
193
- extraLarge6: number;
194
- extraLarge7: number;
195
- };
196
- };
197
- export declare const breakpoints: {
198
- large: number;
199
- extraLarge: number;
200
- rem: {
201
- large: number;
202
- extraLarge: number;
203
- };
204
- };
205
- export declare const borderWidths: {
206
- default: number;
207
- small: number;
208
- medium: number;
209
- large: number;
210
- rem: {
211
- default: number;
212
- small: number;
213
- medium: number;
214
- large: number;
215
- };
216
- };
217
- export declare const borderRadiuses: {
218
- default: number;
219
- small: number;
220
- medium: number;
221
- large: number;
222
- rem: {
223
- default: number;
224
- small: number;
225
- medium: number;
226
- large: number;
227
- };
228
- };
229
- export declare const shadows: {
230
- focus: string;
231
- focusContrast: string;
232
- cardShadow: string;
233
- cardShadowHover: string;
234
- cardShadowContrast: string;
235
- cardShadowHoverContrast: string;
236
- boxShadow: string;
237
- boxShadowContrast: string;
238
- };
239
- export declare const zIndexes: {
240
- behind: number;
241
- default: number;
242
- sticky: number;
243
- popover: number;
244
- overlay: number;
245
- modal: number;
246
- toast: number;
247
- };
248
- export declare const timings: {
249
- fast: string;
250
- medium: string;
251
- slow: string;
252
- };
253
- export declare const outlines: {
254
- focus: string;
255
- focusContrast: string;
256
- };
257
- export declare const outlineOffsets: {
258
- focus: number;
259
- rem: {
260
- focus: number;
261
- };
262
- };
263
- type colorTokens = {
264
- light: {
265
- colors: Record<string, string>;
266
- };
267
- dark: {
268
- colors: Record<string, string>;
269
- };
270
- };
271
- /**
272
- * THESE COLOUR ARE A PRE-RELEASE OF THE NEW COLOUR
273
- * VARIABLES AND SEMANTIC TOKENS
274
- */
275
- export declare const componentColors: colorTokens;
276
- export {};
1
+ export * from './primitive';
2
+ export * from './semantic';
3
+ export * from './base';
4
+ export * from './data';
5
+ export * from './transport';
6
+ export * from './componentColors';
7
+ export * from './legacy-tokens';
@@ -0,0 +1,262 @@
1
+ export declare const colors: {
2
+ brand: {
3
+ blue: string;
4
+ lavender: string;
5
+ white: string;
6
+ coral: string;
7
+ peach: string;
8
+ };
9
+ blues: {
10
+ blue10: string;
11
+ blue20: string;
12
+ blue30: string;
13
+ blue40: string;
14
+ blue45: string;
15
+ blue50: string;
16
+ blue60: string;
17
+ blue70: string;
18
+ blue80: string;
19
+ blue90: string;
20
+ };
21
+ greys: {
22
+ grey: string;
23
+ grey10: string;
24
+ grey20: string;
25
+ grey30: string;
26
+ grey40: string;
27
+ grey45: string;
28
+ grey50: string;
29
+ grey60: string;
30
+ grey70: string;
31
+ grey80: string;
32
+ grey90: string;
33
+ };
34
+ validation: {
35
+ sky: string;
36
+ skyContrast: string;
37
+ skyTint: string;
38
+ lava: string;
39
+ lavaContrast: string;
40
+ lavaTint: string;
41
+ mint: string;
42
+ mintContrast: string;
43
+ mintTint: string;
44
+ canary: string;
45
+ canaryContrast: string;
46
+ canaryTint: string;
47
+ };
48
+ misc: {
49
+ focus: string;
50
+ black: string;
51
+ };
52
+ transport: {
53
+ default: {
54
+ metro: string;
55
+ bus: string;
56
+ plane: string;
57
+ helicopter: string;
58
+ tram: string;
59
+ funicular: string;
60
+ cableway: string;
61
+ taxi: string;
62
+ bicycle: string;
63
+ walk: string;
64
+ train: string;
65
+ ferry: string;
66
+ carferry: string;
67
+ mobility: string;
68
+ };
69
+ contrast: {
70
+ metro: string;
71
+ bus: string;
72
+ plane: string;
73
+ helicopter: string;
74
+ tram: string;
75
+ funicular: string;
76
+ cableway: string;
77
+ taxi: string;
78
+ bicycle: string;
79
+ walk: string;
80
+ train: string;
81
+ ferry: string;
82
+ carferry: string;
83
+ mobility: string;
84
+ };
85
+ };
86
+ data: {
87
+ default: {
88
+ blue: string;
89
+ coral: string;
90
+ jungle: string;
91
+ azure: string;
92
+ lavender: string;
93
+ peach: string;
94
+ spring: string;
95
+ lilac: string;
96
+ };
97
+ contrast: {
98
+ blue: string;
99
+ coral: string;
100
+ jungle: string;
101
+ azure: string;
102
+ lavender: string;
103
+ peach: string;
104
+ spring: string;
105
+ lilac: string;
106
+ };
107
+ };
108
+ };
109
+ export declare const space: {
110
+ none: number;
111
+ default: number;
112
+ extraSmall2: number;
113
+ extraSmall: number;
114
+ small: number;
115
+ medium: number;
116
+ large: number;
117
+ extraLarge: number;
118
+ extraLarge2: number;
119
+ extraLarge3: number;
120
+ extraLarge4: number;
121
+ extraLarge5: number;
122
+ extraLarge6: number;
123
+ extraLarge7: number;
124
+ extraLarge8: number;
125
+ extraLarge9: number;
126
+ rem: {
127
+ none: number;
128
+ default: number;
129
+ extraSmall2: number;
130
+ extraSmall: number;
131
+ small: number;
132
+ medium: number;
133
+ large: number;
134
+ extraLarge: number;
135
+ extraLarge2: number;
136
+ extraLarge3: number;
137
+ extraLarge4: number;
138
+ extraLarge5: number;
139
+ extraLarge6: number;
140
+ extraLarge7: number;
141
+ extraLarge8: number;
142
+ extraLarge9: number;
143
+ };
144
+ };
145
+ export declare const fontWeights: {
146
+ body: string;
147
+ heading: string;
148
+ };
149
+ export declare const fontSizes: {
150
+ extraSmall: number;
151
+ small: number;
152
+ medium: number;
153
+ large: number;
154
+ extraLarge: number;
155
+ extraLarge2: number;
156
+ extraLarge3: number;
157
+ extraLarge4: number;
158
+ extraLarge5: number;
159
+ rem: {
160
+ extraSmall: number;
161
+ small: number;
162
+ medium: number;
163
+ large: number;
164
+ extraLarge: number;
165
+ extraLarge2: number;
166
+ extraLarge3: number;
167
+ extraLarge4: number;
168
+ extraLarge5: number;
169
+ };
170
+ };
171
+ export declare const lineHeights: {
172
+ extraSmall: number;
173
+ small: number;
174
+ medium: number;
175
+ large: number;
176
+ extraLarge: number;
177
+ extraLarge2: number;
178
+ extraLarge3: number;
179
+ extraLarge4: number;
180
+ extraLarge5: number;
181
+ extraLarge6: number;
182
+ extraLarge7: number;
183
+ rem: {
184
+ extraSmall: number;
185
+ small: number;
186
+ medium: number;
187
+ large: number;
188
+ extraLarge: number;
189
+ extraLarge2: number;
190
+ extraLarge3: number;
191
+ extraLarge4: number;
192
+ extraLarge5: number;
193
+ extraLarge6: number;
194
+ extraLarge7: number;
195
+ };
196
+ };
197
+ export declare const breakpoints: {
198
+ large: number;
199
+ extraLarge: number;
200
+ rem: {
201
+ large: number;
202
+ extraLarge: number;
203
+ };
204
+ };
205
+ export declare const borderWidths: {
206
+ default: number;
207
+ small: number;
208
+ medium: number;
209
+ large: number;
210
+ rem: {
211
+ default: number;
212
+ small: number;
213
+ medium: number;
214
+ large: number;
215
+ };
216
+ };
217
+ export declare const borderRadiuses: {
218
+ default: number;
219
+ small: number;
220
+ medium: number;
221
+ large: number;
222
+ rem: {
223
+ default: number;
224
+ small: number;
225
+ medium: number;
226
+ large: number;
227
+ };
228
+ };
229
+ export declare const shadows: {
230
+ focus: string;
231
+ focusContrast: string;
232
+ cardShadow: string;
233
+ cardShadowHover: string;
234
+ cardShadowContrast: string;
235
+ cardShadowHoverContrast: string;
236
+ boxShadow: string;
237
+ boxShadowContrast: string;
238
+ };
239
+ export declare const zIndexes: {
240
+ behind: number;
241
+ default: number;
242
+ sticky: number;
243
+ popover: number;
244
+ overlay: number;
245
+ modal: number;
246
+ toast: number;
247
+ };
248
+ export declare const timings: {
249
+ fast: string;
250
+ medium: string;
251
+ slow: string;
252
+ };
253
+ export declare const outlines: {
254
+ focus: string;
255
+ focusContrast: string;
256
+ };
257
+ export declare const outlineOffsets: {
258
+ focus: number;
259
+ rem: {
260
+ focus: number;
261
+ };
262
+ };