@entur/tokens 3.13.5 → 3.15.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/buildVariables.d.ts +8 -7
- package/dist/componentColors.d.ts +156 -10
- package/dist/data.scss +32 -32
- package/dist/tokens.cjs.development.js +164 -14
- package/dist/tokens.cjs.development.js.map +1 -1
- package/dist/tokens.cjs.production.min.js +1 -1
- package/dist/tokens.cjs.production.min.js.map +1 -1
- package/dist/tokens.esm.js +164 -14
- package/dist/tokens.esm.js.map +1 -1
- package/package.json +2 -2
package/dist/tokens.esm.js
CHANGED
|
@@ -1342,6 +1342,14 @@ var componentColors = {
|
|
|
1342
1342
|
"text": "#181c56"
|
|
1343
1343
|
}
|
|
1344
1344
|
},
|
|
1345
|
+
"spinner": {
|
|
1346
|
+
"contrast": {
|
|
1347
|
+
"fill": "#ffffff"
|
|
1348
|
+
},
|
|
1349
|
+
"standard": {
|
|
1350
|
+
"fill": "#181c56"
|
|
1351
|
+
}
|
|
1352
|
+
},
|
|
1345
1353
|
"skeleton": {
|
|
1346
1354
|
"contrast": {
|
|
1347
1355
|
"fill": "#292b6a",
|
|
@@ -1546,17 +1554,19 @@ var componentColors = {
|
|
|
1546
1554
|
},
|
|
1547
1555
|
"table": {
|
|
1548
1556
|
"contrast": {
|
|
1549
|
-
"
|
|
1550
|
-
"
|
|
1551
|
-
"
|
|
1557
|
+
"cellFill": "#ffffff00",
|
|
1558
|
+
"cellFillHover": "#393d79",
|
|
1559
|
+
"cellFillNegative": "#ff949433",
|
|
1560
|
+
"headerFill": "#181c56",
|
|
1552
1561
|
"icon": "#ffffff",
|
|
1553
1562
|
"stroke": "#8284ab",
|
|
1554
1563
|
"text": "#ffffff"
|
|
1555
1564
|
},
|
|
1556
1565
|
"standard": {
|
|
1557
|
-
"
|
|
1558
|
-
"
|
|
1566
|
+
"cellFill": "#ffffff00",
|
|
1567
|
+
"cellFillHover": "#f2f5f7",
|
|
1559
1568
|
"fillNegative": "#ffcece",
|
|
1569
|
+
"headerFill": "#ffffff",
|
|
1560
1570
|
"icon": "#181c56",
|
|
1561
1571
|
"stroke": "#e3e6e8",
|
|
1562
1572
|
"text": "#181c56"
|
|
@@ -1975,6 +1985,69 @@ var componentColors = {
|
|
|
1975
1985
|
}
|
|
1976
1986
|
}
|
|
1977
1987
|
}
|
|
1988
|
+
},
|
|
1989
|
+
"designentur": {
|
|
1990
|
+
"basecard": {
|
|
1991
|
+
"contrast": {
|
|
1992
|
+
"border": "#ffffff00",
|
|
1993
|
+
"fill": "#181c56",
|
|
1994
|
+
"fillTint": "#393d79",
|
|
1995
|
+
"text": "#ffffff"
|
|
1996
|
+
},
|
|
1997
|
+
"default": {
|
|
1998
|
+
"border": "#e5e5e9",
|
|
1999
|
+
"fill": "#f2f5f7",
|
|
2000
|
+
"fillTint": "#f6f6f9",
|
|
2001
|
+
"text": "#181c56"
|
|
2002
|
+
}
|
|
2003
|
+
},
|
|
2004
|
+
"dodontcard": {
|
|
2005
|
+
"border": "#e3e6e8",
|
|
2006
|
+
"fill": "#f6f6f9",
|
|
2007
|
+
"statuslineSuccess": "#1a8e60",
|
|
2008
|
+
"statuslineWarning": "#ffca28",
|
|
2009
|
+
"text": "#181c56"
|
|
2010
|
+
},
|
|
2011
|
+
"footer": {
|
|
2012
|
+
"contrast": {
|
|
2013
|
+
"divider": "#e5e5e9",
|
|
2014
|
+
"fill": "#181c56",
|
|
2015
|
+
"text": "#ffffff",
|
|
2016
|
+
"textSubdued": "#d9dae8"
|
|
2017
|
+
},
|
|
2018
|
+
"default": {
|
|
2019
|
+
"divider": "#e5e5e9",
|
|
2020
|
+
"fill": "#f2f5f7",
|
|
2021
|
+
"text": "#181c56",
|
|
2022
|
+
"textSubdued": "#626493"
|
|
2023
|
+
}
|
|
2024
|
+
},
|
|
2025
|
+
"header": {
|
|
2026
|
+
"contrast": {
|
|
2027
|
+
"divider": "#ffffff00",
|
|
2028
|
+
"fill": "#181c56"
|
|
2029
|
+
},
|
|
2030
|
+
"default": {
|
|
2031
|
+
"divider": "#e3e6e8",
|
|
2032
|
+
"fill": "#ffffff"
|
|
2033
|
+
}
|
|
2034
|
+
},
|
|
2035
|
+
"npmtag": {
|
|
2036
|
+
"divide": "#949699",
|
|
2037
|
+
"text": "#6e6f73"
|
|
2038
|
+
},
|
|
2039
|
+
"playground": {
|
|
2040
|
+
"background": "#f6f6f9",
|
|
2041
|
+
"border": "#e3e6e8",
|
|
2042
|
+
"panel": "#ffffff",
|
|
2043
|
+
"text": "#181c56"
|
|
2044
|
+
},
|
|
2045
|
+
"typographycard": {
|
|
2046
|
+
"border": "#e3e6e8",
|
|
2047
|
+
"fill": "#ffffff",
|
|
2048
|
+
"text": "#181c56",
|
|
2049
|
+
"textSubdued": "#626493"
|
|
2050
|
+
}
|
|
1978
2051
|
}
|
|
1979
2052
|
},
|
|
1980
2053
|
"dark": {
|
|
@@ -2668,6 +2741,14 @@ var componentColors = {
|
|
|
2668
2741
|
"text": "#e5e5e9"
|
|
2669
2742
|
}
|
|
2670
2743
|
},
|
|
2744
|
+
"spinner": {
|
|
2745
|
+
"contrast": {
|
|
2746
|
+
"fill": "#e5e5e9"
|
|
2747
|
+
},
|
|
2748
|
+
"standard": {
|
|
2749
|
+
"fill": "#e5e5e9"
|
|
2750
|
+
}
|
|
2751
|
+
},
|
|
2671
2752
|
"skeleton": {
|
|
2672
2753
|
"contrast": {
|
|
2673
2754
|
"fill": "#2d2e3e",
|
|
@@ -2872,17 +2953,19 @@ var componentColors = {
|
|
|
2872
2953
|
},
|
|
2873
2954
|
"table": {
|
|
2874
2955
|
"contrast": {
|
|
2875
|
-
"
|
|
2876
|
-
"
|
|
2877
|
-
"
|
|
2956
|
+
"cellFill": "#ffffff00",
|
|
2957
|
+
"cellFillHover": "#e5e5e926",
|
|
2958
|
+
"cellFillNegative": "#ff949433",
|
|
2959
|
+
"headerFill": "#08091c",
|
|
2878
2960
|
"icon": "#e5e5e9",
|
|
2879
2961
|
"stroke": "#81828f",
|
|
2880
2962
|
"text": "#e5e5e9"
|
|
2881
2963
|
},
|
|
2882
2964
|
"standard": {
|
|
2883
|
-
"
|
|
2884
|
-
"
|
|
2965
|
+
"cellFill": "#ffffff00",
|
|
2966
|
+
"cellFillHover": "#e5e5e926",
|
|
2885
2967
|
"fillNegative": "#ff949433",
|
|
2968
|
+
"headerFill": "#08091c",
|
|
2886
2969
|
"icon": "#e5e5e9",
|
|
2887
2970
|
"stroke": "#81828f",
|
|
2888
2971
|
"text": "#e5e5e9"
|
|
@@ -3301,6 +3384,69 @@ var componentColors = {
|
|
|
3301
3384
|
}
|
|
3302
3385
|
}
|
|
3303
3386
|
}
|
|
3387
|
+
},
|
|
3388
|
+
"designentur": {
|
|
3389
|
+
"basecard": {
|
|
3390
|
+
"contrast": {
|
|
3391
|
+
"border": "#81828f",
|
|
3392
|
+
"fill": "#e5e5e926",
|
|
3393
|
+
"fillTint": "#e5e5e940",
|
|
3394
|
+
"text": "#e5e5e9"
|
|
3395
|
+
},
|
|
3396
|
+
"default": {
|
|
3397
|
+
"border": "#81828f",
|
|
3398
|
+
"fill": "#e5e5e926",
|
|
3399
|
+
"fillTint": "#e5e5e940",
|
|
3400
|
+
"text": "#e5e5e9"
|
|
3401
|
+
}
|
|
3402
|
+
},
|
|
3403
|
+
"dodontcard": {
|
|
3404
|
+
"border": "#81828f",
|
|
3405
|
+
"fill": "#e5e5e926",
|
|
3406
|
+
"statuslineSuccess": "#9cd9c2",
|
|
3407
|
+
"statuslineWarning": "#ffeeb3",
|
|
3408
|
+
"text": "#e5e5e9"
|
|
3409
|
+
},
|
|
3410
|
+
"footer": {
|
|
3411
|
+
"contrast": {
|
|
3412
|
+
"divider": "#81828f",
|
|
3413
|
+
"fill": "#2d2e3e",
|
|
3414
|
+
"text": "#e5e5e9",
|
|
3415
|
+
"textSubdued": "#b3b4bd"
|
|
3416
|
+
},
|
|
3417
|
+
"default": {
|
|
3418
|
+
"divider": "#81828f",
|
|
3419
|
+
"fill": "#2d2e3e",
|
|
3420
|
+
"text": "#e5e5e9",
|
|
3421
|
+
"textSubdued": "#b3b4bd"
|
|
3422
|
+
}
|
|
3423
|
+
},
|
|
3424
|
+
"header": {
|
|
3425
|
+
"contrast": {
|
|
3426
|
+
"divider": "#81828f",
|
|
3427
|
+
"fill": "#08091c"
|
|
3428
|
+
},
|
|
3429
|
+
"default": {
|
|
3430
|
+
"divider": "#81828f",
|
|
3431
|
+
"fill": "#08091c"
|
|
3432
|
+
}
|
|
3433
|
+
},
|
|
3434
|
+
"npmtag": {
|
|
3435
|
+
"divide": "#e5e5e9",
|
|
3436
|
+
"text": "#e5e5e9"
|
|
3437
|
+
},
|
|
3438
|
+
"playground": {
|
|
3439
|
+
"background": "#141527",
|
|
3440
|
+
"border": "#b3b4bd",
|
|
3441
|
+
"panel": "#e5e5e926",
|
|
3442
|
+
"text": "#e5e5e9"
|
|
3443
|
+
},
|
|
3444
|
+
"typographycard": {
|
|
3445
|
+
"border": "#b3b4bd",
|
|
3446
|
+
"fill": "#e5e5e926",
|
|
3447
|
+
"text": "#e5e5e9",
|
|
3448
|
+
"textSubdued": "#b3b4bd"
|
|
3449
|
+
}
|
|
3304
3450
|
}
|
|
3305
3451
|
}
|
|
3306
3452
|
};
|
|
@@ -3622,7 +3768,7 @@ function createColorSet(fileData) {
|
|
|
3622
3768
|
scss: {
|
|
3623
3769
|
key: "$" + colorNameInKebabCase,
|
|
3624
3770
|
value: usesAlias ? "$" + varNameInKebabCase : hexValue,
|
|
3625
|
-
sanitizedValue: "#{$" + varNameInKebabCase + "}"
|
|
3771
|
+
sanitizedValue: usesAlias ? "#{$" + varNameInKebabCase + "}" : hexValue
|
|
3626
3772
|
},
|
|
3627
3773
|
less: {
|
|
3628
3774
|
key: "@" + colorNameInKebabCase,
|
|
@@ -3648,7 +3794,7 @@ function createColorsOutputString(_ref) {
|
|
|
3648
3794
|
withColorMode = _ref.withColorMode,
|
|
3649
3795
|
importFileNames = _ref.importFileNames;
|
|
3650
3796
|
var needsRoot = keyType === 'css';
|
|
3651
|
-
var needsImport = colorSet.
|
|
3797
|
+
var needsImport = colorSet.some(function (color) {
|
|
3652
3798
|
return color.usesAlias;
|
|
3653
3799
|
});
|
|
3654
3800
|
if (withColorMode) {
|
|
@@ -3720,7 +3866,10 @@ function createColorsFileData(_ref3) {
|
|
|
3720
3866
|
keyType = _ref3.keyType,
|
|
3721
3867
|
valueType = _ref3.valueType,
|
|
3722
3868
|
name = _ref3.name,
|
|
3723
|
-
outputToPackages = _ref3.outputToPackages
|
|
3869
|
+
outputToPackages = _ref3.outputToPackages,
|
|
3870
|
+
_ref3$withColorMode = _ref3.withColorMode,
|
|
3871
|
+
withColorMode = _ref3$withColorMode === void 0 ? false : _ref3$withColorMode,
|
|
3872
|
+
importFileNames = _ref3.importFileNames;
|
|
3724
3873
|
var outputString = '';
|
|
3725
3874
|
if (outputToPackages) {
|
|
3726
3875
|
var outputData = [];
|
|
@@ -3789,7 +3938,8 @@ function createColorsFileData(_ref3) {
|
|
|
3789
3938
|
colorSet: colorSet,
|
|
3790
3939
|
keyType: keyType,
|
|
3791
3940
|
valueType: valueType,
|
|
3792
|
-
withColorMode:
|
|
3941
|
+
withColorMode: withColorMode,
|
|
3942
|
+
importFileNames: importFileNames
|
|
3793
3943
|
});
|
|
3794
3944
|
}
|
|
3795
3945
|
return [{
|