@entur/tokens 3.13.5 → 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.
- package/dist/buildVariables.d.ts +8 -7
- package/dist/componentColors.d.ts +140 -10
- package/dist/data.scss +32 -32
- package/dist/tokens.cjs.development.js +148 -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 +148 -14
- package/dist/tokens.esm.js.map +1 -1
- package/package.json +2 -2
package/dist/buildVariables.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
type
|
|
1
|
+
export type VariableSet = {
|
|
2
2
|
css: KeyValueSet;
|
|
3
3
|
scss: KeyValueSet;
|
|
4
4
|
less: KeyValueSet;
|
|
@@ -11,22 +11,23 @@ type KeyValueSet = {
|
|
|
11
11
|
value: string;
|
|
12
12
|
sanitizedValue?: string;
|
|
13
13
|
};
|
|
14
|
-
type ColorFileData = {
|
|
14
|
+
export type ColorFileData = {
|
|
15
15
|
outputString: string;
|
|
16
16
|
outputFileName: string;
|
|
17
17
|
packageName?: string;
|
|
18
18
|
};
|
|
19
|
-
export declare function createColorSet(fileData: string):
|
|
20
|
-
export declare function createColorsFileData({ colorSet, keyType, valueType, name, outputToPackages, }: {
|
|
21
|
-
colorSet:
|
|
19
|
+
export declare function createColorSet(fileData: string): VariableSet[];
|
|
20
|
+
export declare function createColorsFileData({ colorSet, keyType, valueType, name, outputToPackages, withColorMode, importFileNames, }: {
|
|
21
|
+
colorSet: VariableSet[];
|
|
22
22
|
keyType: 'css' | 'scss' | 'less';
|
|
23
23
|
valueType: 'css' | 'scss' | 'less';
|
|
24
24
|
name: string;
|
|
25
25
|
outputToPackages?: string[];
|
|
26
|
-
|
|
26
|
+
withColorMode?: boolean;
|
|
27
|
+
importFileNames?: string[];
|
|
27
28
|
}): ColorFileData[];
|
|
28
29
|
export declare function createJSColorFileData({ variables, name, }: {
|
|
29
|
-
variables:
|
|
30
|
+
variables: VariableSet[];
|
|
30
31
|
name: string;
|
|
31
32
|
}): {
|
|
32
33
|
outputString: string;
|
|
@@ -894,17 +894,19 @@ export declare const componentColors: {
|
|
|
894
894
|
};
|
|
895
895
|
table: {
|
|
896
896
|
contrast: {
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
897
|
+
cellFill: string;
|
|
898
|
+
cellFillHover: string;
|
|
899
|
+
cellFillNegative: string;
|
|
900
|
+
headerFill: string;
|
|
900
901
|
icon: string;
|
|
901
902
|
stroke: string;
|
|
902
903
|
text: string;
|
|
903
904
|
};
|
|
904
905
|
standard: {
|
|
905
|
-
|
|
906
|
-
|
|
906
|
+
cellFill: string;
|
|
907
|
+
cellFillHover: string;
|
|
907
908
|
fillNegative: string;
|
|
909
|
+
headerFill: string;
|
|
908
910
|
icon: string;
|
|
909
911
|
stroke: string;
|
|
910
912
|
text: string;
|
|
@@ -1324,6 +1326,69 @@ export declare const componentColors: {
|
|
|
1324
1326
|
};
|
|
1325
1327
|
};
|
|
1326
1328
|
};
|
|
1329
|
+
designentur: {
|
|
1330
|
+
basecard: {
|
|
1331
|
+
contrast: {
|
|
1332
|
+
border: string;
|
|
1333
|
+
fill: string;
|
|
1334
|
+
fillTint: string;
|
|
1335
|
+
text: string;
|
|
1336
|
+
};
|
|
1337
|
+
default: {
|
|
1338
|
+
border: string;
|
|
1339
|
+
fill: string;
|
|
1340
|
+
fillTint: string;
|
|
1341
|
+
text: string;
|
|
1342
|
+
};
|
|
1343
|
+
};
|
|
1344
|
+
dodontcard: {
|
|
1345
|
+
border: string;
|
|
1346
|
+
fill: string;
|
|
1347
|
+
statuslineSuccess: string;
|
|
1348
|
+
statuslineWarning: string;
|
|
1349
|
+
text: string;
|
|
1350
|
+
};
|
|
1351
|
+
footer: {
|
|
1352
|
+
contrast: {
|
|
1353
|
+
divider: string;
|
|
1354
|
+
fill: string;
|
|
1355
|
+
text: string;
|
|
1356
|
+
textSubdued: string;
|
|
1357
|
+
};
|
|
1358
|
+
default: {
|
|
1359
|
+
divider: string;
|
|
1360
|
+
fill: string;
|
|
1361
|
+
text: string;
|
|
1362
|
+
textSubdued: string;
|
|
1363
|
+
};
|
|
1364
|
+
};
|
|
1365
|
+
header: {
|
|
1366
|
+
contrast: {
|
|
1367
|
+
divider: string;
|
|
1368
|
+
fill: string;
|
|
1369
|
+
};
|
|
1370
|
+
default: {
|
|
1371
|
+
divider: string;
|
|
1372
|
+
fill: string;
|
|
1373
|
+
};
|
|
1374
|
+
};
|
|
1375
|
+
npmtag: {
|
|
1376
|
+
divide: string;
|
|
1377
|
+
text: string;
|
|
1378
|
+
};
|
|
1379
|
+
playground: {
|
|
1380
|
+
background: string;
|
|
1381
|
+
border: string;
|
|
1382
|
+
panel: string;
|
|
1383
|
+
text: string;
|
|
1384
|
+
};
|
|
1385
|
+
typographycard: {
|
|
1386
|
+
border: string;
|
|
1387
|
+
fill: string;
|
|
1388
|
+
text: string;
|
|
1389
|
+
textSubdued: string;
|
|
1390
|
+
};
|
|
1391
|
+
};
|
|
1327
1392
|
};
|
|
1328
1393
|
dark: {
|
|
1329
1394
|
components: {
|
|
@@ -2220,17 +2285,19 @@ export declare const componentColors: {
|
|
|
2220
2285
|
};
|
|
2221
2286
|
table: {
|
|
2222
2287
|
contrast: {
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2288
|
+
cellFill: string;
|
|
2289
|
+
cellFillHover: string;
|
|
2290
|
+
cellFillNegative: string;
|
|
2291
|
+
headerFill: string;
|
|
2226
2292
|
icon: string;
|
|
2227
2293
|
stroke: string;
|
|
2228
2294
|
text: string;
|
|
2229
2295
|
};
|
|
2230
2296
|
standard: {
|
|
2231
|
-
|
|
2232
|
-
|
|
2297
|
+
cellFill: string;
|
|
2298
|
+
cellFillHover: string;
|
|
2233
2299
|
fillNegative: string;
|
|
2300
|
+
headerFill: string;
|
|
2234
2301
|
icon: string;
|
|
2235
2302
|
stroke: string;
|
|
2236
2303
|
text: string;
|
|
@@ -2650,5 +2717,68 @@ export declare const componentColors: {
|
|
|
2650
2717
|
};
|
|
2651
2718
|
};
|
|
2652
2719
|
};
|
|
2720
|
+
designentur: {
|
|
2721
|
+
basecard: {
|
|
2722
|
+
contrast: {
|
|
2723
|
+
border: string;
|
|
2724
|
+
fill: string;
|
|
2725
|
+
fillTint: string;
|
|
2726
|
+
text: string;
|
|
2727
|
+
};
|
|
2728
|
+
default: {
|
|
2729
|
+
border: string;
|
|
2730
|
+
fill: string;
|
|
2731
|
+
fillTint: string;
|
|
2732
|
+
text: string;
|
|
2733
|
+
};
|
|
2734
|
+
};
|
|
2735
|
+
dodontcard: {
|
|
2736
|
+
border: string;
|
|
2737
|
+
fill: string;
|
|
2738
|
+
statuslineSuccess: string;
|
|
2739
|
+
statuslineWarning: string;
|
|
2740
|
+
text: string;
|
|
2741
|
+
};
|
|
2742
|
+
footer: {
|
|
2743
|
+
contrast: {
|
|
2744
|
+
divider: string;
|
|
2745
|
+
fill: string;
|
|
2746
|
+
text: string;
|
|
2747
|
+
textSubdued: string;
|
|
2748
|
+
};
|
|
2749
|
+
default: {
|
|
2750
|
+
divider: string;
|
|
2751
|
+
fill: string;
|
|
2752
|
+
text: string;
|
|
2753
|
+
textSubdued: string;
|
|
2754
|
+
};
|
|
2755
|
+
};
|
|
2756
|
+
header: {
|
|
2757
|
+
contrast: {
|
|
2758
|
+
divider: string;
|
|
2759
|
+
fill: string;
|
|
2760
|
+
};
|
|
2761
|
+
default: {
|
|
2762
|
+
divider: string;
|
|
2763
|
+
fill: string;
|
|
2764
|
+
};
|
|
2765
|
+
};
|
|
2766
|
+
npmtag: {
|
|
2767
|
+
divide: string;
|
|
2768
|
+
text: string;
|
|
2769
|
+
};
|
|
2770
|
+
playground: {
|
|
2771
|
+
background: string;
|
|
2772
|
+
border: string;
|
|
2773
|
+
panel: string;
|
|
2774
|
+
text: string;
|
|
2775
|
+
};
|
|
2776
|
+
typographycard: {
|
|
2777
|
+
border: string;
|
|
2778
|
+
fill: string;
|
|
2779
|
+
text: string;
|
|
2780
|
+
textSubdued: string;
|
|
2781
|
+
};
|
|
2782
|
+
};
|
|
2653
2783
|
};
|
|
2654
2784
|
};
|
package/dist/data.scss
CHANGED
|
@@ -3,39 +3,39 @@
|
|
|
3
3
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
4
4
|
[data-color-mode='light'],
|
|
5
5
|
:root {
|
|
6
|
-
--contrast-azure: #
|
|
7
|
-
--contrast-blue: #
|
|
8
|
-
--contrast-coral: #
|
|
9
|
-
--contrast-jungle: #
|
|
10
|
-
--contrast-lavender: #
|
|
11
|
-
--contrast-lilac: #
|
|
12
|
-
--contrast-peach: #
|
|
13
|
-
--contrast-spring: #
|
|
14
|
-
--standard-azure: #
|
|
15
|
-
--standard-blue: #
|
|
16
|
-
--standard-coral: #
|
|
17
|
-
--standard-jungle: #
|
|
18
|
-
--standard-lavender: #
|
|
19
|
-
--standard-lilac: #
|
|
20
|
-
--standard-peach: #
|
|
21
|
-
--standard-spring: #
|
|
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
22
|
}
|
|
23
23
|
|
|
24
24
|
[data-color-mode='dark'] {
|
|
25
|
-
--contrast-azure: #
|
|
26
|
-
--contrast-blue: #
|
|
27
|
-
--contrast-coral: #
|
|
28
|
-
--contrast-jungle: #
|
|
29
|
-
--contrast-lavender: #
|
|
30
|
-
--contrast-lilac: #
|
|
31
|
-
--contrast-peach: #
|
|
32
|
-
--contrast-spring: #
|
|
33
|
-
--standard-azure: #
|
|
34
|
-
--standard-blue: #
|
|
35
|
-
--standard-coral: #
|
|
36
|
-
--standard-jungle: #
|
|
37
|
-
--standard-lavender: #
|
|
38
|
-
--standard-lilac: #
|
|
39
|
-
--standard-peach: #
|
|
40
|
-
--standard-spring: #
|
|
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
41
|
}
|
|
@@ -1550,17 +1550,19 @@ var componentColors = {
|
|
|
1550
1550
|
},
|
|
1551
1551
|
"table": {
|
|
1552
1552
|
"contrast": {
|
|
1553
|
-
"
|
|
1554
|
-
"
|
|
1555
|
-
"
|
|
1553
|
+
"cellFill": "#ffffff00",
|
|
1554
|
+
"cellFillHover": "#393d79",
|
|
1555
|
+
"cellFillNegative": "#ff949433",
|
|
1556
|
+
"headerFill": "#181c56",
|
|
1556
1557
|
"icon": "#ffffff",
|
|
1557
1558
|
"stroke": "#8284ab",
|
|
1558
1559
|
"text": "#ffffff"
|
|
1559
1560
|
},
|
|
1560
1561
|
"standard": {
|
|
1561
|
-
"
|
|
1562
|
-
"
|
|
1562
|
+
"cellFill": "#ffffff00",
|
|
1563
|
+
"cellFillHover": "#f2f5f7",
|
|
1563
1564
|
"fillNegative": "#ffcece",
|
|
1565
|
+
"headerFill": "#ffffff",
|
|
1564
1566
|
"icon": "#181c56",
|
|
1565
1567
|
"stroke": "#e3e6e8",
|
|
1566
1568
|
"text": "#181c56"
|
|
@@ -1979,6 +1981,69 @@ var componentColors = {
|
|
|
1979
1981
|
}
|
|
1980
1982
|
}
|
|
1981
1983
|
}
|
|
1984
|
+
},
|
|
1985
|
+
"designentur": {
|
|
1986
|
+
"basecard": {
|
|
1987
|
+
"contrast": {
|
|
1988
|
+
"border": "#ffffff00",
|
|
1989
|
+
"fill": "#181c56",
|
|
1990
|
+
"fillTint": "#393d79",
|
|
1991
|
+
"text": "#ffffff"
|
|
1992
|
+
},
|
|
1993
|
+
"default": {
|
|
1994
|
+
"border": "#e5e5e9",
|
|
1995
|
+
"fill": "#f2f5f7",
|
|
1996
|
+
"fillTint": "#f6f6f9",
|
|
1997
|
+
"text": "#181c56"
|
|
1998
|
+
}
|
|
1999
|
+
},
|
|
2000
|
+
"dodontcard": {
|
|
2001
|
+
"border": "#e3e6e8",
|
|
2002
|
+
"fill": "#f6f6f9",
|
|
2003
|
+
"statuslineSuccess": "#1a8e60",
|
|
2004
|
+
"statuslineWarning": "#ffca28",
|
|
2005
|
+
"text": "#181c56"
|
|
2006
|
+
},
|
|
2007
|
+
"footer": {
|
|
2008
|
+
"contrast": {
|
|
2009
|
+
"divider": "#e5e5e9",
|
|
2010
|
+
"fill": "#181c56",
|
|
2011
|
+
"text": "#ffffff",
|
|
2012
|
+
"textSubdued": "#d9dae8"
|
|
2013
|
+
},
|
|
2014
|
+
"default": {
|
|
2015
|
+
"divider": "#e5e5e9",
|
|
2016
|
+
"fill": "#f2f5f7",
|
|
2017
|
+
"text": "#181c56",
|
|
2018
|
+
"textSubdued": "#626493"
|
|
2019
|
+
}
|
|
2020
|
+
},
|
|
2021
|
+
"header": {
|
|
2022
|
+
"contrast": {
|
|
2023
|
+
"divider": "#ffffff00",
|
|
2024
|
+
"fill": "#181c56"
|
|
2025
|
+
},
|
|
2026
|
+
"default": {
|
|
2027
|
+
"divider": "#e3e6e8",
|
|
2028
|
+
"fill": "#ffffff"
|
|
2029
|
+
}
|
|
2030
|
+
},
|
|
2031
|
+
"npmtag": {
|
|
2032
|
+
"divide": "#949699",
|
|
2033
|
+
"text": "#6e6f73"
|
|
2034
|
+
},
|
|
2035
|
+
"playground": {
|
|
2036
|
+
"background": "#f6f6f9",
|
|
2037
|
+
"border": "#e3e6e8",
|
|
2038
|
+
"panel": "#ffffff",
|
|
2039
|
+
"text": "#181c56"
|
|
2040
|
+
},
|
|
2041
|
+
"typographycard": {
|
|
2042
|
+
"border": "#e3e6e8",
|
|
2043
|
+
"fill": "#ffffff",
|
|
2044
|
+
"text": "#181c56",
|
|
2045
|
+
"textSubdued": "#626493"
|
|
2046
|
+
}
|
|
1982
2047
|
}
|
|
1983
2048
|
},
|
|
1984
2049
|
"dark": {
|
|
@@ -2876,17 +2941,19 @@ var componentColors = {
|
|
|
2876
2941
|
},
|
|
2877
2942
|
"table": {
|
|
2878
2943
|
"contrast": {
|
|
2879
|
-
"
|
|
2880
|
-
"
|
|
2881
|
-
"
|
|
2944
|
+
"cellFill": "#ffffff00",
|
|
2945
|
+
"cellFillHover": "#e5e5e926",
|
|
2946
|
+
"cellFillNegative": "#ff949433",
|
|
2947
|
+
"headerFill": "#08091c",
|
|
2882
2948
|
"icon": "#e5e5e9",
|
|
2883
2949
|
"stroke": "#81828f",
|
|
2884
2950
|
"text": "#e5e5e9"
|
|
2885
2951
|
},
|
|
2886
2952
|
"standard": {
|
|
2887
|
-
"
|
|
2888
|
-
"
|
|
2953
|
+
"cellFill": "#ffffff00",
|
|
2954
|
+
"cellFillHover": "#e5e5e926",
|
|
2889
2955
|
"fillNegative": "#ff949433",
|
|
2956
|
+
"headerFill": "#08091c",
|
|
2890
2957
|
"icon": "#e5e5e9",
|
|
2891
2958
|
"stroke": "#81828f",
|
|
2892
2959
|
"text": "#e5e5e9"
|
|
@@ -3305,6 +3372,69 @@ var componentColors = {
|
|
|
3305
3372
|
}
|
|
3306
3373
|
}
|
|
3307
3374
|
}
|
|
3375
|
+
},
|
|
3376
|
+
"designentur": {
|
|
3377
|
+
"basecard": {
|
|
3378
|
+
"contrast": {
|
|
3379
|
+
"border": "#81828f",
|
|
3380
|
+
"fill": "#e5e5e926",
|
|
3381
|
+
"fillTint": "#e5e5e940",
|
|
3382
|
+
"text": "#e5e5e9"
|
|
3383
|
+
},
|
|
3384
|
+
"default": {
|
|
3385
|
+
"border": "#81828f",
|
|
3386
|
+
"fill": "#e5e5e926",
|
|
3387
|
+
"fillTint": "#e5e5e940",
|
|
3388
|
+
"text": "#e5e5e9"
|
|
3389
|
+
}
|
|
3390
|
+
},
|
|
3391
|
+
"dodontcard": {
|
|
3392
|
+
"border": "#81828f",
|
|
3393
|
+
"fill": "#e5e5e926",
|
|
3394
|
+
"statuslineSuccess": "#9cd9c2",
|
|
3395
|
+
"statuslineWarning": "#ffeeb3",
|
|
3396
|
+
"text": "#e5e5e9"
|
|
3397
|
+
},
|
|
3398
|
+
"footer": {
|
|
3399
|
+
"contrast": {
|
|
3400
|
+
"divider": "#81828f",
|
|
3401
|
+
"fill": "#2d2e3e",
|
|
3402
|
+
"text": "#e5e5e9",
|
|
3403
|
+
"textSubdued": "#b3b4bd"
|
|
3404
|
+
},
|
|
3405
|
+
"default": {
|
|
3406
|
+
"divider": "#81828f",
|
|
3407
|
+
"fill": "#2d2e3e",
|
|
3408
|
+
"text": "#e5e5e9",
|
|
3409
|
+
"textSubdued": "#b3b4bd"
|
|
3410
|
+
}
|
|
3411
|
+
},
|
|
3412
|
+
"header": {
|
|
3413
|
+
"contrast": {
|
|
3414
|
+
"divider": "#81828f",
|
|
3415
|
+
"fill": "#08091c"
|
|
3416
|
+
},
|
|
3417
|
+
"default": {
|
|
3418
|
+
"divider": "#81828f",
|
|
3419
|
+
"fill": "#08091c"
|
|
3420
|
+
}
|
|
3421
|
+
},
|
|
3422
|
+
"npmtag": {
|
|
3423
|
+
"divide": "#e5e5e9",
|
|
3424
|
+
"text": "#e5e5e9"
|
|
3425
|
+
},
|
|
3426
|
+
"playground": {
|
|
3427
|
+
"background": "#141527",
|
|
3428
|
+
"border": "#b3b4bd",
|
|
3429
|
+
"panel": "#e5e5e926",
|
|
3430
|
+
"text": "#e5e5e9"
|
|
3431
|
+
},
|
|
3432
|
+
"typographycard": {
|
|
3433
|
+
"border": "#b3b4bd",
|
|
3434
|
+
"fill": "#e5e5e926",
|
|
3435
|
+
"text": "#e5e5e9",
|
|
3436
|
+
"textSubdued": "#b3b4bd"
|
|
3437
|
+
}
|
|
3308
3438
|
}
|
|
3309
3439
|
}
|
|
3310
3440
|
};
|
|
@@ -3626,7 +3756,7 @@ function createColorSet(fileData) {
|
|
|
3626
3756
|
scss: {
|
|
3627
3757
|
key: "$" + colorNameInKebabCase,
|
|
3628
3758
|
value: usesAlias ? "$" + varNameInKebabCase : hexValue,
|
|
3629
|
-
sanitizedValue: "#{$" + varNameInKebabCase + "}"
|
|
3759
|
+
sanitizedValue: usesAlias ? "#{$" + varNameInKebabCase + "}" : hexValue
|
|
3630
3760
|
},
|
|
3631
3761
|
less: {
|
|
3632
3762
|
key: "@" + colorNameInKebabCase,
|
|
@@ -3652,7 +3782,7 @@ function createColorsOutputString(_ref) {
|
|
|
3652
3782
|
withColorMode = _ref.withColorMode,
|
|
3653
3783
|
importFileNames = _ref.importFileNames;
|
|
3654
3784
|
var needsRoot = keyType === 'css';
|
|
3655
|
-
var needsImport = colorSet.
|
|
3785
|
+
var needsImport = colorSet.some(function (color) {
|
|
3656
3786
|
return color.usesAlias;
|
|
3657
3787
|
});
|
|
3658
3788
|
if (withColorMode) {
|
|
@@ -3724,7 +3854,10 @@ function createColorsFileData(_ref3) {
|
|
|
3724
3854
|
keyType = _ref3.keyType,
|
|
3725
3855
|
valueType = _ref3.valueType,
|
|
3726
3856
|
name = _ref3.name,
|
|
3727
|
-
outputToPackages = _ref3.outputToPackages
|
|
3857
|
+
outputToPackages = _ref3.outputToPackages,
|
|
3858
|
+
_ref3$withColorMode = _ref3.withColorMode,
|
|
3859
|
+
withColorMode = _ref3$withColorMode === void 0 ? false : _ref3$withColorMode,
|
|
3860
|
+
importFileNames = _ref3.importFileNames;
|
|
3728
3861
|
var outputString = '';
|
|
3729
3862
|
if (outputToPackages) {
|
|
3730
3863
|
var outputData = [];
|
|
@@ -3793,7 +3926,8 @@ function createColorsFileData(_ref3) {
|
|
|
3793
3926
|
colorSet: colorSet,
|
|
3794
3927
|
keyType: keyType,
|
|
3795
3928
|
valueType: valueType,
|
|
3796
|
-
withColorMode:
|
|
3929
|
+
withColorMode: withColorMode,
|
|
3930
|
+
importFileNames: importFileNames
|
|
3797
3931
|
});
|
|
3798
3932
|
}
|
|
3799
3933
|
return [{
|