@entur/tokens 3.15.1 → 3.15.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.
@@ -130,6 +130,7 @@ var primitive = {
130
130
  "transparent": {
131
131
  "blueAlpha10": "#9ea0bd1a",
132
132
  "blueAlpha40": "#54568c66",
133
+ "canaryAlpha25": "#ffe08240",
133
134
  "canaryAlpha30": "#fff4cd4d",
134
135
  "coralAlpha20": "#ff949433",
135
136
  "ebonyAlpha15": "#e5e5e926",
@@ -137,9 +138,12 @@ var primitive = {
137
138
  "ebonyAlpha25": "#e5e5e940",
138
139
  "ebonyAlpha35": "#e5e5e959",
139
140
  "lavenderAlpha70": "#aeb7e2b2",
141
+ "mintAlpha20": "#5ac39a33",
140
142
  "neutralAlpha10": "#cfd2d41a",
141
143
  "neutralAlpha15": "#cfd2d426",
142
- "peachAlpha70": "#ffbf9eb2"
144
+ "neutralAlpha20": "#26272933",
145
+ "peachAlpha70": "#ffbf9eb2",
146
+ "skyAlpha20": "#2d98d233"
143
147
  },
144
148
  "white": {
145
149
  "alpha0": "#ffffff00",
@@ -210,7 +214,8 @@ var semantic = {
210
214
  "contrast": "#64b3e7",
211
215
  "deep": "#067eb2",
212
216
  "muted": "#e1eff8",
213
- "tint": "#acd7f1"
217
+ "tint": "#acd7f1",
218
+ "transparent": "#2d98d233"
214
219
  },
215
220
  "negative": {
216
221
  "contrast": "#ff5959",
@@ -267,13 +272,15 @@ var semantic = {
267
272
  "deep": "#1a8e60",
268
273
  "muted": "#d0f1e3",
269
274
  "subdued": "#37ab83",
270
- "tint": "#9cd9c2"
275
+ "tint": "#9cd9c2",
276
+ "transparent": "#5ac39a33"
271
277
  },
272
278
  "warning": {
273
279
  "contrast": "#ffe082",
274
280
  "deep": "#ffca28",
275
281
  "muted": "#fff4cd",
276
- "tint": "#ffeeb3"
282
+ "tint": "#ffeeb3",
283
+ "transparent": "#ffe08240"
277
284
  }
278
285
  },
279
286
  "shape": {
@@ -287,6 +294,7 @@ var semantic = {
287
294
  "inactive": "#bcbdd2",
288
295
  "information": "#067eb2",
289
296
  "informationalt": "#64b3e7",
297
+ "informationalt2": "#acd7f1",
290
298
  "light": "#ffffff",
291
299
  "lightalt": "#e5e5e9",
292
300
  "negative": "#d31b1b",
@@ -298,8 +306,10 @@ var semantic = {
298
306
  "subduedalt": "#d9dae8",
299
307
  "success": "#1a8e60",
300
308
  "successalt": "#5ac39a",
309
+ "successalt2": "#9cd9c2",
301
310
  "warning": "#ffca28",
302
- "warningalt": "#ffe082"
311
+ "warningalt": "#ffe082",
312
+ "warningalt2": "#ffeeb3"
303
313
  },
304
314
  "stroke": {
305
315
  "accent": "#181c56",
@@ -312,6 +322,7 @@ var semantic = {
312
322
  "highlight": "#ff5959",
313
323
  "highlightalt": "#ff9494",
314
324
  "information": "#067eb2",
325
+ "informationalt": "#acd7f1",
315
326
  "light": "#ffffff",
316
327
  "lightalt": "#e5e5e9",
317
328
  "negative": "#d31b1b",
@@ -321,9 +332,11 @@ var semantic = {
321
332
  "subdued": "#8284ab",
322
333
  "success": "#1a8e60",
323
334
  "successalt": "#5ac39a",
335
+ "successalt2": "#9cd9c2",
324
336
  "transparent": "#54568c66",
325
337
  "transparentalt": "#aeb7e2b2",
326
- "warning": "#e9b10c"
338
+ "warning": "#e9b10c",
339
+ "warningalt": "#ffeeb3"
327
340
  },
328
341
  "text": {
329
342
  "accent": "#181c56",
@@ -484,7 +497,7 @@ var base = {
484
497
  "highlight": "#ff9494",
485
498
  "light": "#b3b4bd",
486
499
  "subdued": "#81828f",
487
- "subduedalt": "#81828f"
500
+ "subduedalt": "#949699"
488
501
  },
489
502
  "text": {
490
503
  "accent": "#e5e5e9",
@@ -586,8 +599,8 @@ var transport = {
586
599
  },
587
600
  "dark": {
588
601
  "bicycle": "#4db295",
589
- "bus": "#e87a9b",
590
- "busTransparent": "#e87a9b26",
602
+ "bus": "#ef7398",
603
+ "busTransparent": "#ef739826",
591
604
  "cableway": "#b898e5",
592
605
  "cablewayTransparent": "#b898e526",
593
606
  "carferry": "#8ccfe2",
@@ -801,7 +814,7 @@ var componentColors = {
801
814
  "text": "#181c56"
802
815
  },
803
816
  "standard": {
804
- "border": "#ffffff00",
817
+ "border": "#d31b1b",
805
818
  "fill": "#ffcece",
806
819
  "icon": "#d31b1b",
807
820
  "text": "#181c56"
@@ -815,7 +828,7 @@ var componentColors = {
815
828
  "text": "#181c56"
816
829
  },
817
830
  "standard": {
818
- "border": "#ffffff00",
831
+ "border": "#1a8e60",
819
832
  "fill": "#d0f1e3",
820
833
  "icon": "#1a8e60",
821
834
  "text": "#181c56"
@@ -829,7 +842,7 @@ var componentColors = {
829
842
  "text": "#181c56"
830
843
  },
831
844
  "standard": {
832
- "border": "#ffffff00",
845
+ "border": "#e9b10c",
833
846
  "fill": "#fff4cd",
834
847
  "icon": "#181c56",
835
848
  "text": "#181c56"
@@ -1410,10 +1423,12 @@ var componentColors = {
1410
1423
  "border": "#8284ab",
1411
1424
  "fillDefault": "#f2f5f7",
1412
1425
  "fillHover": "#d9dae8",
1426
+ "fillSelected": "#181c56",
1413
1427
  "icon": "#181c56",
1414
1428
  "iconDisabled": "#6e6f73",
1415
1429
  "text": "#181c56",
1416
- "textDisabled": "#6e6f73"
1430
+ "textDisabled": "#6e6f73",
1431
+ "textSelected": "#ffffff"
1417
1432
  },
1418
1433
  "pagination": {
1419
1434
  "contrast": {
@@ -2036,6 +2051,20 @@ var componentColors = {
2036
2051
  "fill": "#ffffff"
2037
2052
  }
2038
2053
  },
2054
+ "logo": {
2055
+ "contrast": {
2056
+ "backgroundApp": "#ffffff",
2057
+ "highlight": "#ff5959",
2058
+ "text": "#ffffff",
2059
+ "textApp": "#181c56"
2060
+ },
2061
+ "standard": {
2062
+ "backgroundApp": "#181c56",
2063
+ "highlight": "#ff5959",
2064
+ "text": "#181c56",
2065
+ "textApp": "#ffffff"
2066
+ }
2067
+ },
2039
2068
  "npmtag": {
2040
2069
  "divide": "#949699",
2041
2070
  "text": "#6e6f73"
@@ -2180,58 +2209,58 @@ var componentColors = {
2180
2209
  "alertbox": {
2181
2210
  "information": {
2182
2211
  "contrast": {
2183
- "border": "#ffffff00",
2184
- "fill": "#e1eff8",
2185
- "icon": "#067eb2",
2186
- "text": "#08091c"
2212
+ "border": "#acd7f1",
2213
+ "fill": "#2d98d233",
2214
+ "icon": "#acd7f1",
2215
+ "text": "#e5e5e9"
2187
2216
  },
2188
2217
  "standard": {
2189
- "border": "#ffffff00",
2190
- "fill": "#e1eff8",
2191
- "icon": "#067eb2",
2192
- "text": "#08091c"
2218
+ "border": "#acd7f1",
2219
+ "fill": "#2d98d233",
2220
+ "icon": "#acd7f1",
2221
+ "text": "#e5e5e9"
2193
2222
  }
2194
2223
  },
2195
2224
  "negative": {
2196
2225
  "contrast": {
2197
- "border": "#ffffff00",
2198
- "fill": "#ffcece",
2199
- "icon": "#d31b1b",
2200
- "text": "#08091c"
2226
+ "border": "#ff9494",
2227
+ "fill": "#ff949433",
2228
+ "icon": "#ff9494",
2229
+ "text": "#e5e5e9"
2201
2230
  },
2202
2231
  "standard": {
2203
- "border": "#ffffff00",
2204
- "fill": "#ffcece",
2205
- "icon": "#d31b1b",
2206
- "text": "#08091c"
2232
+ "border": "#ff9494",
2233
+ "fill": "#ff949433",
2234
+ "icon": "#ff9494",
2235
+ "text": "#e5e5e9"
2207
2236
  }
2208
2237
  },
2209
2238
  "success": {
2210
2239
  "contrast": {
2211
- "border": "#ffffff00",
2212
- "fill": "#d0f1e3",
2213
- "icon": "#1a8e60",
2214
- "text": "#08091c"
2240
+ "border": "#9cd9c2",
2241
+ "fill": "#5ac39a33",
2242
+ "icon": "#9cd9c2",
2243
+ "text": "#e5e5e9"
2215
2244
  },
2216
2245
  "standard": {
2217
- "border": "#ffffff00",
2218
- "fill": "#d0f1e3",
2219
- "icon": "#1a8e60",
2220
- "text": "#08091c"
2246
+ "border": "#9cd9c2",
2247
+ "fill": "#5ac39a33",
2248
+ "icon": "#9cd9c2",
2249
+ "text": "#e5e5e9"
2221
2250
  }
2222
2251
  },
2223
2252
  "warning": {
2224
2253
  "contrast": {
2225
- "border": "#ffffff00",
2226
- "fill": "#fff4cd",
2227
- "icon": "#08091c",
2228
- "text": "#08091c"
2254
+ "border": "#ffeeb3",
2255
+ "fill": "#ffe08240",
2256
+ "icon": "#ffeeb3",
2257
+ "text": "#e5e5e9"
2229
2258
  },
2230
2259
  "standard": {
2231
- "border": "#ffffff00",
2232
- "fill": "#fff4cd",
2233
- "icon": "#08091c",
2234
- "text": "#08091c"
2260
+ "border": "#ffeeb3",
2261
+ "fill": "#ffe08240",
2262
+ "icon": "#ffeeb3",
2263
+ "text": "#e5e5e9"
2235
2264
  }
2236
2265
  }
2237
2266
  },
@@ -2809,10 +2838,12 @@ var componentColors = {
2809
2838
  "border": "#ffffff00",
2810
2839
  "fillDefault": "#464755",
2811
2840
  "fillHover": "#626493",
2841
+ "fillSelected": "#8794d4",
2812
2842
  "icon": "#e5e5e9",
2813
2843
  "iconDisabled": "#949699",
2814
2844
  "text": "#e5e5e9",
2815
- "textDisabled": "#949699"
2845
+ "textDisabled": "#949699",
2846
+ "textSelected": "#181c56"
2816
2847
  },
2817
2848
  "pagination": {
2818
2849
  "contrast": {
@@ -3058,7 +3089,7 @@ var componentColors = {
3058
3089
  "airportlinkrail": "#f2b8e5",
3059
3090
  "bicycle": "#4db295",
3060
3091
  "bulletBorder": "#08091c",
3061
- "bus": "#e87a9b",
3092
+ "bus": "#ef7398",
3062
3093
  "cableway": "#b898e5",
3063
3094
  "carferry": "#8ccfe2",
3064
3095
  "citybike": "#4db295",
@@ -3078,7 +3109,7 @@ var componentColors = {
3078
3109
  "airportlinkrail": "#f2b8e5",
3079
3110
  "bicycle": "#4db295",
3080
3111
  "bulletBorder": "#08091c",
3081
- "bus": "#e87a9b",
3112
+ "bus": "#ef7398",
3082
3113
  "cableway": "#b898e5",
3083
3114
  "carferry": "#8ccfe2",
3084
3115
  "citybike": "#4db295",
@@ -3099,7 +3130,7 @@ var componentColors = {
3099
3130
  "backgroundfalse": "#e5e5e959",
3100
3131
  "backgroundtrueAir": "#f2b8e5",
3101
3132
  "backgroundtrueBicycle": "#4db295",
3102
- "backgroundtrueBus": "#e87a9b",
3133
+ "backgroundtrueBus": "#ef7398",
3103
3134
  "backgroundtrueCableway": "#b898e5",
3104
3135
  "backgroundtrueCarferry": "#8ccfe2",
3105
3136
  "backgroundtrueCitybike": "#4db295",
@@ -3119,7 +3150,7 @@ var componentColors = {
3119
3150
  "backgroundtrueAirportlinkrail": "#f2b8e5",
3120
3151
  "iconfalse": "#b3b4bd",
3121
3152
  "icontrueBicycle": "#4db295",
3122
- "icontrueBus": "#e87a9b",
3153
+ "icontrueBus": "#ef7398",
3123
3154
  "icontrueCableway": "#b898e5",
3124
3155
  "icontrueCarferry": "#8ccfe2",
3125
3156
  "icontrueCitybike": "#4db295",
@@ -3143,7 +3174,7 @@ var componentColors = {
3143
3174
  "backgroundfalse": "#e5e5e959",
3144
3175
  "backgroundtrueAir": "#f2b8e5",
3145
3176
  "backgroundtrueBicycle": "#4db295",
3146
- "backgroundtrueBus": "#e87a9b",
3177
+ "backgroundtrueBus": "#ef7398",
3147
3178
  "backgroundtrueCableway": "#b898e5",
3148
3179
  "backgroundtrueCarferry": "#8ccfe2",
3149
3180
  "backgroundtrueCitybike": "#4db295",
@@ -3163,7 +3194,7 @@ var componentColors = {
3163
3194
  "backgroundtrueAirportlinkrail": "#f2b8e5",
3164
3195
  "iconfalse": "#b3b4bd",
3165
3196
  "icontrueBicycle": "#00db9b",
3166
- "icontrueBus": "#e87a9b",
3197
+ "icontrueBus": "#ef7398",
3167
3198
  "icontrueCableway": "#b898e5",
3168
3199
  "icontrueCarferry": "#8ccfe2",
3169
3200
  "icontrueCitybike": "#00db9b",
@@ -3190,7 +3221,7 @@ var componentColors = {
3190
3221
  "travelTag": {
3191
3222
  "contrast": {
3192
3223
  "icon": "#08091c",
3193
- "iconBusCancled": "#e87a9b",
3224
+ "iconBusCancled": "#ef7398",
3194
3225
  "iconCabllewayCancled": "#b898e5",
3195
3226
  "iconCarferryCancled": "#8ccfe2",
3196
3227
  "iconFerryCancled": "#8ccfe2",
@@ -3207,8 +3238,8 @@ var componentColors = {
3207
3238
  "iconborderValidation": "#08091c",
3208
3239
  "tagfillAir": "#f2b8e5",
3209
3240
  "tagfillBicycle": "#4db295",
3210
- "tagfillBus": "#e87a9b",
3211
- "tagfillBusCancled": "#e87a9b26",
3241
+ "tagfillBus": "#ef7398",
3242
+ "tagfillBusCancled": "#ef739826",
3212
3243
  "tagfillCableway": "#b898e5",
3213
3244
  "tagfillCablewayCancled": "#b898e526",
3214
3245
  "tagfillCarferry": "#8ccfe2",
@@ -3244,7 +3275,7 @@ var componentColors = {
3244
3275
  "textCancled": "#b6b8ba",
3245
3276
  "textLabel": "#e5e5e9",
3246
3277
  "textLine": "#08091c",
3247
- "textLineBusCancled": "#e87a9b",
3278
+ "textLineBusCancled": "#ef7398",
3248
3279
  "textLineCablewayCancled": "#b898e5",
3249
3280
  "textLineCarferryCancled": "#8ccfe2",
3250
3281
  "textLineFerryCancled": "#8ccfe2",
@@ -3262,7 +3293,7 @@ var componentColors = {
3262
3293
  },
3263
3294
  "standard": {
3264
3295
  "icon": "#08091c",
3265
- "iconBusCancled": "#e87a9b",
3296
+ "iconBusCancled": "#ef7398",
3266
3297
  "iconCarferryCancled": "#8ccfe2",
3267
3298
  "iconFerryCancled": "#8ccfe2",
3268
3299
  "iconFunicularCancled": "#b898e5",
@@ -3280,8 +3311,8 @@ var componentColors = {
3280
3311
  "tagfillAir": "#f2b8e5",
3281
3312
  "tagfillAirCancled": "#f2b8e526",
3282
3313
  "tagfillBicycle": "#4db295",
3283
- "tagfillBus": "#e87a9b",
3284
- "tagfillBusCancled": "#e87a9b26",
3314
+ "tagfillBus": "#ef7398",
3315
+ "tagfillBusCancled": "#ef739826",
3285
3316
  "tagfillCableway": "#b898e5",
3286
3317
  "tagfillCablewayCancled": "#b482fb26",
3287
3318
  "tagfillCarferry": "#8ccfe2",
@@ -3316,7 +3347,7 @@ var componentColors = {
3316
3347
  "textCancled": "#b6b8ba",
3317
3348
  "textLabel": "#e5e5e9",
3318
3349
  "textLine": "#08091c",
3319
- "textLineBusCancled": "#e87a9b",
3350
+ "textLineBusCancled": "#ef7398",
3320
3351
  "textLineCablewayCancled": "#b898e5",
3321
3352
  "textLineCarferryCancled": "#8ccfe2",
3322
3353
  "textLineFerryCancled": "#8ccfe2",
@@ -3435,6 +3466,20 @@ var componentColors = {
3435
3466
  "fill": "#08091c"
3436
3467
  }
3437
3468
  },
3469
+ "logo": {
3470
+ "contrast": {
3471
+ "backgroundApp": "#e5e5e926",
3472
+ "highlight": "#ff5959",
3473
+ "text": "#ffffff",
3474
+ "textApp": "#ffffff"
3475
+ },
3476
+ "standard": {
3477
+ "backgroundApp": "#e5e5e926",
3478
+ "highlight": "#ff5959",
3479
+ "text": "#ffffff",
3480
+ "textApp": "#ffffff"
3481
+ }
3482
+ },
3438
3483
  "npmtag": {
3439
3484
  "divide": "#e5e5e9",
3440
3485
  "text": "#e5e5e9"
@@ -3850,11 +3895,11 @@ var outlineOffsets = {
3850
3895
  var SUPPORTED_COLOR_MODES = ['light', 'dark'];
3851
3896
  function createColorSet(fileData) {
3852
3897
  var colorsUnformated = JSON.parse(fileData);
3853
- var colorsFormatedAndMappedToModes = colorsUnformated.reduce(function (allComponentColors, colorMode) {
3898
+ var colorsFormatedAndMappedToModes = colorsUnformated[0].values.reduce(function (allComponentColors, colorMode) {
3854
3899
  var colorsFormatedForMode = colorMode.color.map(function (color) {
3855
3900
  var colorNameInKebabCase = toKebabCase(color.name);
3856
3901
  var varNameInKebabCase = toKebabCase(color["var"]);
3857
- var hexValue = color.color;
3902
+ var hexValue = color.value;
3858
3903
  var colorModeName = colorMode.mode.name.toLowerCase();
3859
3904
  var usesAlias = varNameInKebabCase !== '';
3860
3905
  return {