@entur/tokens 3.13.4 → 3.14.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.
@@ -1546,17 +1546,19 @@ var componentColors = {
1546
1546
  },
1547
1547
  "table": {
1548
1548
  "contrast": {
1549
- "fill": "#ffffff00",
1550
- "fillHover": "#393d79",
1551
- "fillNegative": "#ff949433",
1549
+ "cellFill": "#ffffff00",
1550
+ "cellFillHover": "#393d79",
1551
+ "cellFillNegative": "#ff949433",
1552
+ "headerFill": "#181c56",
1552
1553
  "icon": "#ffffff",
1553
1554
  "stroke": "#8284ab",
1554
1555
  "text": "#ffffff"
1555
1556
  },
1556
1557
  "standard": {
1557
- "fill": "#ffffff00",
1558
- "fillHover": "#f2f5f7",
1558
+ "cellFill": "#ffffff00",
1559
+ "cellFillHover": "#f2f5f7",
1559
1560
  "fillNegative": "#ffcece",
1561
+ "headerFill": "#ffffff",
1560
1562
  "icon": "#181c56",
1561
1563
  "stroke": "#e3e6e8",
1562
1564
  "text": "#181c56"
@@ -1975,6 +1977,69 @@ var componentColors = {
1975
1977
  }
1976
1978
  }
1977
1979
  }
1980
+ },
1981
+ "designentur": {
1982
+ "basecard": {
1983
+ "contrast": {
1984
+ "border": "#ffffff00",
1985
+ "fill": "#181c56",
1986
+ "fillTint": "#393d79",
1987
+ "text": "#ffffff"
1988
+ },
1989
+ "default": {
1990
+ "border": "#e5e5e9",
1991
+ "fill": "#f2f5f7",
1992
+ "fillTint": "#f6f6f9",
1993
+ "text": "#181c56"
1994
+ }
1995
+ },
1996
+ "dodontcard": {
1997
+ "border": "#e3e6e8",
1998
+ "fill": "#f6f6f9",
1999
+ "statuslineSuccess": "#1a8e60",
2000
+ "statuslineWarning": "#ffca28",
2001
+ "text": "#181c56"
2002
+ },
2003
+ "footer": {
2004
+ "contrast": {
2005
+ "divider": "#e5e5e9",
2006
+ "fill": "#181c56",
2007
+ "text": "#ffffff",
2008
+ "textSubdued": "#d9dae8"
2009
+ },
2010
+ "default": {
2011
+ "divider": "#e5e5e9",
2012
+ "fill": "#f2f5f7",
2013
+ "text": "#181c56",
2014
+ "textSubdued": "#626493"
2015
+ }
2016
+ },
2017
+ "header": {
2018
+ "contrast": {
2019
+ "divider": "#ffffff00",
2020
+ "fill": "#181c56"
2021
+ },
2022
+ "default": {
2023
+ "divider": "#e3e6e8",
2024
+ "fill": "#ffffff"
2025
+ }
2026
+ },
2027
+ "npmtag": {
2028
+ "divide": "#949699",
2029
+ "text": "#6e6f73"
2030
+ },
2031
+ "playground": {
2032
+ "background": "#f6f6f9",
2033
+ "border": "#e3e6e8",
2034
+ "panel": "#ffffff",
2035
+ "text": "#181c56"
2036
+ },
2037
+ "typographycard": {
2038
+ "border": "#e3e6e8",
2039
+ "fill": "#ffffff",
2040
+ "text": "#181c56",
2041
+ "textSubdued": "#626493"
2042
+ }
1978
2043
  }
1979
2044
  },
1980
2045
  "dark": {
@@ -2872,17 +2937,19 @@ var componentColors = {
2872
2937
  },
2873
2938
  "table": {
2874
2939
  "contrast": {
2875
- "fill": "#ffffff00",
2876
- "fillHover": "#e5e5e926",
2877
- "fillNegative": "#ff949433",
2940
+ "cellFill": "#ffffff00",
2941
+ "cellFillHover": "#e5e5e926",
2942
+ "cellFillNegative": "#ff949433",
2943
+ "headerFill": "#08091c",
2878
2944
  "icon": "#e5e5e9",
2879
2945
  "stroke": "#81828f",
2880
2946
  "text": "#e5e5e9"
2881
2947
  },
2882
2948
  "standard": {
2883
- "fill": "#ffffff00",
2884
- "fillHover": "#e5e5e926",
2949
+ "cellFill": "#ffffff00",
2950
+ "cellFillHover": "#e5e5e926",
2885
2951
  "fillNegative": "#ff949433",
2952
+ "headerFill": "#08091c",
2886
2953
  "icon": "#e5e5e9",
2887
2954
  "stroke": "#81828f",
2888
2955
  "text": "#e5e5e9"
@@ -3301,6 +3368,69 @@ var componentColors = {
3301
3368
  }
3302
3369
  }
3303
3370
  }
3371
+ },
3372
+ "designentur": {
3373
+ "basecard": {
3374
+ "contrast": {
3375
+ "border": "#81828f",
3376
+ "fill": "#e5e5e926",
3377
+ "fillTint": "#e5e5e940",
3378
+ "text": "#e5e5e9"
3379
+ },
3380
+ "default": {
3381
+ "border": "#81828f",
3382
+ "fill": "#e5e5e926",
3383
+ "fillTint": "#e5e5e940",
3384
+ "text": "#e5e5e9"
3385
+ }
3386
+ },
3387
+ "dodontcard": {
3388
+ "border": "#81828f",
3389
+ "fill": "#e5e5e926",
3390
+ "statuslineSuccess": "#9cd9c2",
3391
+ "statuslineWarning": "#ffeeb3",
3392
+ "text": "#e5e5e9"
3393
+ },
3394
+ "footer": {
3395
+ "contrast": {
3396
+ "divider": "#81828f",
3397
+ "fill": "#2d2e3e",
3398
+ "text": "#e5e5e9",
3399
+ "textSubdued": "#b3b4bd"
3400
+ },
3401
+ "default": {
3402
+ "divider": "#81828f",
3403
+ "fill": "#2d2e3e",
3404
+ "text": "#e5e5e9",
3405
+ "textSubdued": "#b3b4bd"
3406
+ }
3407
+ },
3408
+ "header": {
3409
+ "contrast": {
3410
+ "divider": "#81828f",
3411
+ "fill": "#08091c"
3412
+ },
3413
+ "default": {
3414
+ "divider": "#81828f",
3415
+ "fill": "#08091c"
3416
+ }
3417
+ },
3418
+ "npmtag": {
3419
+ "divide": "#e5e5e9",
3420
+ "text": "#e5e5e9"
3421
+ },
3422
+ "playground": {
3423
+ "background": "#141527",
3424
+ "border": "#b3b4bd",
3425
+ "panel": "#e5e5e926",
3426
+ "text": "#e5e5e9"
3427
+ },
3428
+ "typographycard": {
3429
+ "border": "#b3b4bd",
3430
+ "fill": "#e5e5e926",
3431
+ "text": "#e5e5e9",
3432
+ "textSubdued": "#b3b4bd"
3433
+ }
3304
3434
  }
3305
3435
  }
3306
3436
  };
@@ -3622,7 +3752,7 @@ function createColorSet(fileData) {
3622
3752
  scss: {
3623
3753
  key: "$" + colorNameInKebabCase,
3624
3754
  value: usesAlias ? "$" + varNameInKebabCase : hexValue,
3625
- sanitizedValue: "#{$" + varNameInKebabCase + "}"
3755
+ sanitizedValue: usesAlias ? "#{$" + varNameInKebabCase + "}" : hexValue
3626
3756
  },
3627
3757
  less: {
3628
3758
  key: "@" + colorNameInKebabCase,
@@ -3648,7 +3778,7 @@ function createColorsOutputString(_ref) {
3648
3778
  withColorMode = _ref.withColorMode,
3649
3779
  importFileNames = _ref.importFileNames;
3650
3780
  var needsRoot = keyType === 'css';
3651
- var needsImport = colorSet.every(function (color) {
3781
+ var needsImport = colorSet.some(function (color) {
3652
3782
  return color.usesAlias;
3653
3783
  });
3654
3784
  if (withColorMode) {
@@ -3720,7 +3850,10 @@ function createColorsFileData(_ref3) {
3720
3850
  keyType = _ref3.keyType,
3721
3851
  valueType = _ref3.valueType,
3722
3852
  name = _ref3.name,
3723
- outputToPackages = _ref3.outputToPackages;
3853
+ outputToPackages = _ref3.outputToPackages,
3854
+ _ref3$withColorMode = _ref3.withColorMode,
3855
+ withColorMode = _ref3$withColorMode === void 0 ? false : _ref3$withColorMode,
3856
+ importFileNames = _ref3.importFileNames;
3724
3857
  var outputString = '';
3725
3858
  if (outputToPackages) {
3726
3859
  var outputData = [];
@@ -3789,7 +3922,8 @@ function createColorsFileData(_ref3) {
3789
3922
  colorSet: colorSet,
3790
3923
  keyType: keyType,
3791
3924
  valueType: valueType,
3792
- withColorMode: false
3925
+ withColorMode: withColorMode,
3926
+ importFileNames: importFileNames
3793
3927
  });
3794
3928
  }
3795
3929
  return [{