@entur/tokens 3.13.2 → 3.13.4
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/README.md +2 -2
- package/dist/base.css +5 -1
- package/dist/base.scss +129 -125
- package/dist/buildVariables.d.ts +35 -0
- package/dist/componentColors.d.ts +0 -16
- package/dist/data.css +1 -1
- package/dist/data.scss +33 -33
- package/dist/index.d.ts +1 -0
- package/dist/primitive.css +1 -0
- package/dist/primitive.less +1 -0
- package/dist/primitive.scss +1 -0
- package/dist/semantic.css +4 -1
- package/dist/semantic.less +4 -1
- package/dist/semantic.scss +4 -1
- package/dist/tokens.cjs.development.js +3146 -2931
- 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 +3144 -2932
- package/dist/tokens.esm.js.map +1 -1
- package/dist/transport.css +1 -0
- package/dist/transport.less +1 -0
- package/dist/transport.scss +1 -0
- package/package.json +5 -5
- package/dist/base.less +0 -133
- package/dist/data.less +0 -41
package/dist/transport.css
CHANGED
package/dist/transport.less
CHANGED
package/dist/transport.scss
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/tokens",
|
|
3
|
-
"version": "3.13.
|
|
3
|
+
"version": "3.13.4",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/tokens.esm.js",
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
"access": "public"
|
|
18
18
|
},
|
|
19
19
|
"scripts": {
|
|
20
|
-
"build": "yarn build:js
|
|
20
|
+
"build": "yarn build:js && (yarn build:stylesheets & yarn build:legacy-tokens) && yarn cleanup-temp-files",
|
|
21
21
|
"build:legacy-tokens": "ts-node -O '{\"module\": \"commonjs\"}' bin/build-legacy-tokens.ts",
|
|
22
|
-
"build:js
|
|
23
|
-
"build:
|
|
22
|
+
"build:js": "(ts-node -O '{\"module\": \"commonjs\"}' bin/build-js-objects.ts) && dts build",
|
|
23
|
+
"build:stylesheets": "ts-node -O '{\"module\": \"commonjs\"}' bin/build-stylesheets.ts",
|
|
24
24
|
"cleanup-temp-files": "ts-node -e \"['src/primitive.ts', 'src/semantic.ts', 'src/base.ts', 'src/data.ts', 'src/transport.ts', 'src/componentColors.ts'].forEach(file => require('fs-extra').removeSync(file)); \""
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"hex-rgb": "^4.3.0"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "af2884729bb414d54d6cf9e9a28b2b6f7c74af74"
|
|
39
39
|
}
|
package/dist/base.less
DELETED
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
@import '~@entur/tokens/dist/semantic.less';
|
|
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
|
-
@basecolors-frame-contrast: @fill-background-contrast-light;
|
|
7
|
-
@basecolors-frame-contrastalt: @fill-background-contrast-lightalt;
|
|
8
|
-
@basecolors-frame-default: @fill-background-standard-light;
|
|
9
|
-
@basecolors-frame-elevated: @fill-background-standard-light;
|
|
10
|
-
@basecolors-frame-elevatedalt: @fill-background-tint-light;
|
|
11
|
-
@basecolors-frame-subdued: @fill-background-subdued-light;
|
|
12
|
-
@basecolors-frame-tint: @fill-background-tint-light;
|
|
13
|
-
@basecolors-shape-accent: @shape-accent;
|
|
14
|
-
@basecolors-shape-bicycle-contrast: @contrast-bicycle;
|
|
15
|
-
@basecolors-shape-bicycle-default: @standard-bicycle;
|
|
16
|
-
@basecolors-shape-bus-contrast: @contrast-bus;
|
|
17
|
-
@basecolors-shape-bus-default: @standard-bus;
|
|
18
|
-
@basecolors-shape-cableway-contrast: @contrast-cableway;
|
|
19
|
-
@basecolors-shape-cableway-default: @standard-cableway;
|
|
20
|
-
@basecolors-shape-disabled: @shape-neutral;
|
|
21
|
-
@basecolors-shape-disabledalt: @shape-neutralalt;
|
|
22
|
-
@basecolors-shape-ferry-contrast: @contrast-ferry;
|
|
23
|
-
@basecolors-shape-ferry-default: @standard-ferry;
|
|
24
|
-
@basecolors-shape-funicular-contrast: @contrast-funicular;
|
|
25
|
-
@basecolors-shape-funicular-default: @standard-funicular;
|
|
26
|
-
@basecolors-shape-helicopter-contrast: @contrast-helicopter;
|
|
27
|
-
@basecolors-shape-helicopter-default: @standard-helicopter;
|
|
28
|
-
@basecolors-shape-highlight: @stroke-highlight;
|
|
29
|
-
@basecolors-shape-light: @shape-light;
|
|
30
|
-
@basecolors-shape-mask: @shape-light;
|
|
31
|
-
@basecolors-shape-maskalt: @shape-light;
|
|
32
|
-
@basecolors-shape-metro-contrast: @contrast-metro;
|
|
33
|
-
@basecolors-shape-metro-default: @standard-metro;
|
|
34
|
-
@basecolors-shape-mobility-contrast: @contrast-mobility;
|
|
35
|
-
@basecolors-shape-mobility-default: @standard-mobility;
|
|
36
|
-
@basecolors-shape-plane-contrast: @contrast-plane;
|
|
37
|
-
@basecolors-shape-plane-default: @standard-plane;
|
|
38
|
-
@basecolors-shape-subdued: @shape-subdued;
|
|
39
|
-
@basecolors-shape-subduedalt: @shape-subduedalt;
|
|
40
|
-
@basecolors-shape-taxi-contrast: @contrast-taxi;
|
|
41
|
-
@basecolors-shape-taxi-default: @standard-taxi;
|
|
42
|
-
@basecolors-shape-train-contrast: @contrast-train;
|
|
43
|
-
@basecolors-shape-train-default: @standard-train;
|
|
44
|
-
@basecolors-shape-tram-contrast: @contrast-tram;
|
|
45
|
-
@basecolors-shape-tram-default: @standard-tram;
|
|
46
|
-
@basecolors-shape-walk-contrast: @contrast-walk;
|
|
47
|
-
@basecolors-shape-walk-default: @standard-walk;
|
|
48
|
-
@basecolors-shape-airportlinkbus-contrast: @contrast-airportlinkbus;
|
|
49
|
-
@basecolors-shape-airportlinkbus-default: @standard-airportlinkbus;
|
|
50
|
-
@basecolors-shape-airportlinkrail-contrast: @contrast-airportlinkrail;
|
|
51
|
-
@basecolors-shape-airportlinkrail-default: @standard-airportlinkrail;
|
|
52
|
-
@basecolors-stroke-contrast: @stroke-contrast;
|
|
53
|
-
@basecolors-stroke-default: @stroke-accent;
|
|
54
|
-
@basecolors-stroke-disabled: @stroke-neutralalt;
|
|
55
|
-
@basecolors-stroke-focus-contrast: @stroke-contrast;
|
|
56
|
-
@basecolors-stroke-focus-standard: @stroke-accent;
|
|
57
|
-
@basecolors-stroke-highlight: @stroke-highlight;
|
|
58
|
-
@basecolors-stroke-light: @stroke-light;
|
|
59
|
-
@basecolors-stroke-subdued: @stroke-subdued;
|
|
60
|
-
@basecolors-stroke-subduedalt: @stroke-neutral;
|
|
61
|
-
@basecolors-text-accent: @text-accent;
|
|
62
|
-
@basecolors-text-disabled: @text-neutral;
|
|
63
|
-
@basecolors-text-disabledalt: @text-neutralalt;
|
|
64
|
-
@basecolors-text-highlight: @stroke-highlight;
|
|
65
|
-
@basecolors-text-light: @text-light;
|
|
66
|
-
@basecolors-text-subdued: @text-subdued;
|
|
67
|
-
@basecolors-text-subduedalt: @text-subduedalt;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
[data-color-mode='dark'] {
|
|
71
|
-
@basecolors-frame-contrast: @fill-background-contrast-dark;
|
|
72
|
-
@basecolors-frame-contrastalt: @fill-background-tint-dark;
|
|
73
|
-
@basecolors-frame-default: @fill-background-standard-dark;
|
|
74
|
-
@basecolors-frame-elevated: @fill-background-overlay-transparent;
|
|
75
|
-
@basecolors-frame-elevatedalt: @fill-background-overlay-solidalt;
|
|
76
|
-
@basecolors-frame-subdued: @fill-background-subdued-dark;
|
|
77
|
-
@basecolors-frame-tint: @fill-background-tint-dark;
|
|
78
|
-
@basecolors-shape-accent: @shape-lightalt;
|
|
79
|
-
@basecolors-shape-bicycle-contrast: @dark-bicycle;
|
|
80
|
-
@basecolors-shape-bicycle-default: @dark-bicycle;
|
|
81
|
-
@basecolors-shape-bus-contrast: @dark-bus;
|
|
82
|
-
@basecolors-shape-bus-default: @dark-bus;
|
|
83
|
-
@basecolors-shape-cableway-contrast: @dark-cableway;
|
|
84
|
-
@basecolors-shape-cableway-default: @dark-cableway;
|
|
85
|
-
@basecolors-shape-disabled: @shape-neutralalt;
|
|
86
|
-
@basecolors-shape-disabledalt: @shape-darkalt;
|
|
87
|
-
@basecolors-shape-ferry-contrast: @dark-ferry;
|
|
88
|
-
@basecolors-shape-ferry-default: @dark-ferry;
|
|
89
|
-
@basecolors-shape-funicular-contrast: @dark-funicular;
|
|
90
|
-
@basecolors-shape-funicular-default: @dark-funicular;
|
|
91
|
-
@basecolors-shape-helicopter-contrast: @dark-helicopter;
|
|
92
|
-
@basecolors-shape-helicopter-default: @dark-helicopter;
|
|
93
|
-
@basecolors-shape-highlight: @stroke-highlightalt;
|
|
94
|
-
@basecolors-shape-light: @shape-lightalt;
|
|
95
|
-
@basecolors-shape-mask: @fill-background-subdued-dark;
|
|
96
|
-
@basecolors-shape-maskalt: @fill-background-overlay-solid;
|
|
97
|
-
@basecolors-shape-metro-contrast: @dark-metro;
|
|
98
|
-
@basecolors-shape-metro-default: @dark-metro;
|
|
99
|
-
@basecolors-shape-mobility-contrast: @dark-mobility;
|
|
100
|
-
@basecolors-shape-mobility-default: @dark-mobility;
|
|
101
|
-
@basecolors-shape-plane-contrast: @dark-plane;
|
|
102
|
-
@basecolors-shape-plane-default: @dark-plane;
|
|
103
|
-
@basecolors-shape-subdued: @shape-darkalt;
|
|
104
|
-
@basecolors-shape-subduedalt: @shape-darkalt;
|
|
105
|
-
@basecolors-shape-taxi-contrast: @dark-taxi;
|
|
106
|
-
@basecolors-shape-taxi-default: @dark-taxi;
|
|
107
|
-
@basecolors-shape-train-contrast: @dark-train;
|
|
108
|
-
@basecolors-shape-train-default: @dark-train;
|
|
109
|
-
@basecolors-shape-tram-contrast: @dark-tram;
|
|
110
|
-
@basecolors-shape-tram-default: @dark-tram;
|
|
111
|
-
@basecolors-shape-walk-contrast: @dark-walk;
|
|
112
|
-
@basecolors-shape-walk-default: @dark-walk;
|
|
113
|
-
@basecolors-shape-airportlinkbus-contrast: @dark-airportlinkbus;
|
|
114
|
-
@basecolors-shape-airportlinkbus-default: @dark-airportlinkbus;
|
|
115
|
-
@basecolors-shape-airportlinkrail-contrast: @dark-airportlinkrail;
|
|
116
|
-
@basecolors-shape-airportlinkrail-default: @dark-airportlinkrail;
|
|
117
|
-
@basecolors-stroke-contrast: @stroke-contrast;
|
|
118
|
-
@basecolors-stroke-default: @stroke-dark;
|
|
119
|
-
@basecolors-stroke-disabled: @stroke-neutral;
|
|
120
|
-
@basecolors-stroke-focus-contrast: @stroke-contrast;
|
|
121
|
-
@basecolors-stroke-focus-standard: @stroke-contrast;
|
|
122
|
-
@basecolors-stroke-highlight: @stroke-highlightalt;
|
|
123
|
-
@basecolors-stroke-light: @stroke-dark;
|
|
124
|
-
@basecolors-stroke-subdued: @stroke-darkalt;
|
|
125
|
-
@basecolors-stroke-subduedalt: @stroke-darkalt;
|
|
126
|
-
@basecolors-text-accent: @text-lightalt;
|
|
127
|
-
@basecolors-text-disabled: @text-neutralalt;
|
|
128
|
-
@basecolors-text-disabledalt: @text-neutralalt;
|
|
129
|
-
@basecolors-text-highlight: @stroke-highlightalt;
|
|
130
|
-
@basecolors-text-light: @text-lightalt;
|
|
131
|
-
@basecolors-text-subdued: @text-darkalt;
|
|
132
|
-
@basecolors-text-subduedalt: @text-darkalt;
|
|
133
|
-
}
|
package/dist/data.less
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
@import '~@entur/tokens/dist/semantic.less';
|
|
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
|
-
}
|