@amsterdam/design-system-tokens 0.1.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/LICENSE.md ADDED
@@ -0,0 +1,7 @@
1
+ # License
2
+
3
+ Copyright (c) {year} {author}. All rights reserved.
4
+
5
+ The open source license does NOT apply to files in this directory.
6
+
7
+ These are properietary assets to {author}.
package/README.md ADDED
@@ -0,0 +1,3 @@
1
+ <!-- @license CC0-1.0 -->
2
+
3
+ # TODO: write readme
@@ -0,0 +1,21 @@
1
+
2
+ // Do not edit directly
3
+ // Generated on Fri, 10 Feb 2023 13:17:22 GMT
4
+
5
+ $amsterdam-focus-outline-offset: 2px;
6
+ $amsterdam-color-neutral-grey4: #323232;
7
+ $amsterdam-color-neutral-grey3: #767676;
8
+ $amsterdam-color-neutral-grey2: #B4B4B4;
9
+ $amsterdam-color-neutral-grey1: #E6E6E6;
10
+ $amsterdam-color-magenta: #E50082;
11
+ $amsterdam-color-purple: #A00078;
12
+ $amsterdam-color-blue: #009DEC;
13
+ $amsterdam-color-dark-green: #00A03C;
14
+ $amsterdam-color-green: #BED200;
15
+ $amsterdam-color-yellow: #FFE600;
16
+ $amsterdam-color-orange: #FF9100;
17
+ $amsterdam-color-dark-blue: #00387A;
18
+ $amsterdam-color-primary-red: #EC0000;
19
+ $amsterdam-color-primary-blue: #004699;
20
+ $amsterdam-color-primary-white: #ffffff;
21
+ $amsterdam-color-primary-black: #000000;
package/dist/index.css ADDED
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Fri, 10 Feb 2023 13:17:22 GMT
4
+ */
5
+
6
+ .amsterdam-theme {
7
+ --amsterdam-focus-outline-offset: 2px;
8
+ --amsterdam-color-neutral-grey4: #323232;
9
+ --amsterdam-color-neutral-grey3: #767676;
10
+ --amsterdam-color-neutral-grey2: #B4B4B4;
11
+ --amsterdam-color-neutral-grey1: #E6E6E6;
12
+ --amsterdam-color-magenta: #E50082;
13
+ --amsterdam-color-purple: #A00078;
14
+ --amsterdam-color-blue: #009DEC;
15
+ --amsterdam-color-dark-green: #00A03C;
16
+ --amsterdam-color-green: #BED200;
17
+ --amsterdam-color-yellow: #FFE600;
18
+ --amsterdam-color-orange: #FF9100;
19
+ --amsterdam-color-dark-blue: #00387A;
20
+ --amsterdam-color-primary-red: #EC0000;
21
+ --amsterdam-color-primary-blue: #004699;
22
+ --amsterdam-color-primary-white: #ffffff;
23
+ --amsterdam-color-primary-black: #000000;
24
+ }
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Fri, 10 Feb 2023 13:17:22 GMT
4
+ */
5
+
6
+ export const amsterdamColorPrimaryBlack : string;
7
+ export const amsterdamColorPrimaryWhite : string;
8
+ export const amsterdamColorPrimaryBlue : string;
9
+ export const amsterdamColorPrimaryRed : string;
10
+ export const amsterdamColorDarkBlue : string;
11
+ export const amsterdamColorOrange : string;
12
+ export const amsterdamColorYellow : string;
13
+ export const amsterdamColorGreen : string;
14
+ export const amsterdamColorDarkGreen : string;
15
+ export const amsterdamColorBlue : string;
16
+ export const amsterdamColorPurple : string;
17
+ export const amsterdamColorMagenta : string;
18
+ export const amsterdamColorNeutralGrey1 : string;
19
+ export const amsterdamColorNeutralGrey2 : string;
20
+ export const amsterdamColorNeutralGrey3 : string;
21
+ export const amsterdamColorNeutralGrey4 : string;
22
+ export const amsterdamFocusOutlineOffset : string;
package/dist/index.js ADDED
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Fri, 10 Feb 2023 13:17:22 GMT
4
+ */
5
+
6
+ export const amsterdamColorPrimaryBlack = "#000000";
7
+ export const amsterdamColorPrimaryWhite = "#ffffff";
8
+ export const amsterdamColorPrimaryBlue = "#004699";
9
+ export const amsterdamColorPrimaryRed = "#EC0000";
10
+ export const amsterdamColorDarkBlue = "#00387A";
11
+ export const amsterdamColorOrange = "#FF9100";
12
+ export const amsterdamColorYellow = "#FFE600";
13
+ export const amsterdamColorGreen = "#BED200";
14
+ export const amsterdamColorDarkGreen = "#00A03C";
15
+ export const amsterdamColorBlue = "#009DEC";
16
+ export const amsterdamColorPurple = "#A00078";
17
+ export const amsterdamColorMagenta = "#E50082";
18
+ export const amsterdamColorNeutralGrey1 = "#E6E6E6";
19
+ export const amsterdamColorNeutralGrey2 = "#B4B4B4";
20
+ export const amsterdamColorNeutralGrey3 = "#767676";
21
+ export const amsterdamColorNeutralGrey4 = "#323232";
22
+ export const amsterdamFocusOutlineOffset = "2px";
@@ -0,0 +1,19 @@
1
+ {
2
+ "amsterdamColorPrimaryBlack": "#000000",
3
+ "amsterdamColorPrimaryWhite": "#ffffff",
4
+ "amsterdamColorPrimaryBlue": "#004699",
5
+ "amsterdamColorPrimaryRed": "#EC0000",
6
+ "amsterdamColorDarkBlue": "#00387A",
7
+ "amsterdamColorOrange": "#FF9100",
8
+ "amsterdamColorYellow": "#FFE600",
9
+ "amsterdamColorGreen": "#BED200",
10
+ "amsterdamColorDarkGreen": "#00A03C",
11
+ "amsterdamColorBlue": "#009DEC",
12
+ "amsterdamColorPurple": "#A00078",
13
+ "amsterdamColorMagenta": "#E50082",
14
+ "amsterdamColorNeutralGrey1": "#E6E6E6",
15
+ "amsterdamColorNeutralGrey2": "#B4B4B4",
16
+ "amsterdamColorNeutralGrey3": "#767676",
17
+ "amsterdamColorNeutralGrey4": "#323232",
18
+ "amsterdamFocusOutlineOffset": "2px"
19
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "amsterdam": {
3
+ "color": {
4
+ "primary-black": "#000000",
5
+ "primary-white": "#ffffff",
6
+ "primary-blue": "#004699",
7
+ "primary-red": "#EC0000",
8
+ "dark-blue": "#00387A",
9
+ "orange": "#FF9100",
10
+ "yellow": "#FFE600",
11
+ "green": "#BED200",
12
+ "dark-green": "#00A03C",
13
+ "blue": "#009DEC",
14
+ "purple": "#A00078",
15
+ "magenta": "#E50082",
16
+ "neutral-grey1": "#E6E6E6",
17
+ "neutral-grey2": "#B4B4B4",
18
+ "neutral-grey3": "#767676",
19
+ "neutral-grey4": "#323232"
20
+ },
21
+ "focus": {
22
+ "outline-offset": "2px"
23
+ }
24
+ }
25
+ }
package/dist/root.css ADDED
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Fri, 10 Feb 2023 13:17:22 GMT
4
+ */
5
+
6
+ :root {
7
+ --amsterdam-focus-outline-offset: 2px;
8
+ --amsterdam-color-neutral-grey4: #323232;
9
+ --amsterdam-color-neutral-grey3: #767676;
10
+ --amsterdam-color-neutral-grey2: #B4B4B4;
11
+ --amsterdam-color-neutral-grey1: #E6E6E6;
12
+ --amsterdam-color-magenta: #E50082;
13
+ --amsterdam-color-purple: #A00078;
14
+ --amsterdam-color-blue: #009DEC;
15
+ --amsterdam-color-dark-green: #00A03C;
16
+ --amsterdam-color-green: #BED200;
17
+ --amsterdam-color-yellow: #FFE600;
18
+ --amsterdam-color-orange: #FF9100;
19
+ --amsterdam-color-dark-blue: #00387A;
20
+ --amsterdam-color-primary-red: #EC0000;
21
+ --amsterdam-color-primary-blue: #004699;
22
+ --amsterdam-color-primary-white: #ffffff;
23
+ --amsterdam-color-primary-black: #000000;
24
+ }
@@ -0,0 +1,48 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Fri, 10 Feb 2023 13:17:22 GMT
4
+ */
5
+
6
+ export default tokens;
7
+
8
+ declare interface DesignToken {
9
+ value: any;
10
+ name?: string;
11
+ comment?: string;
12
+ themeable?: boolean;
13
+ attributes?: {
14
+ category?: string;
15
+ type?: string;
16
+ item?: string;
17
+ subitem?: string;
18
+ state?: string;
19
+ [key: string]: any;
20
+ };
21
+ [key: string]: any;
22
+ }
23
+
24
+ declare const tokens: {
25
+ "amsterdam": {
26
+ "color": {
27
+ "primary-black": DesignToken,
28
+ "primary-white": DesignToken,
29
+ "primary-blue": DesignToken,
30
+ "primary-red": DesignToken,
31
+ "dark-blue": DesignToken,
32
+ "orange": DesignToken,
33
+ "yellow": DesignToken,
34
+ "green": DesignToken,
35
+ "dark-green": DesignToken,
36
+ "blue": DesignToken,
37
+ "purple": DesignToken,
38
+ "magenta": DesignToken,
39
+ "neutral-grey1": DesignToken,
40
+ "neutral-grey2": DesignToken,
41
+ "neutral-grey3": DesignToken,
42
+ "neutral-grey4": DesignToken
43
+ },
44
+ "focus": {
45
+ "outline-offset": DesignToken
46
+ }
47
+ }
48
+ }
package/dist/tokens.js ADDED
@@ -0,0 +1,336 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Fri, 10 Feb 2023 13:17:22 GMT
4
+ */
5
+
6
+ module.exports = {
7
+ "amsterdam": {
8
+ "color": {
9
+ "primary-black": {
10
+ "value": "#000000",
11
+ "filePath": "./src/brand/amsterdam/color.tokens.json",
12
+ "isSource": true,
13
+ "original": {
14
+ "value": "#000000"
15
+ },
16
+ "name": "amsterdamColorPrimaryBlack",
17
+ "attributes": {
18
+ "category": "amsterdam",
19
+ "type": "color",
20
+ "item": "primary-black"
21
+ },
22
+ "path": [
23
+ "amsterdam",
24
+ "color",
25
+ "primary-black"
26
+ ]
27
+ },
28
+ "primary-white": {
29
+ "value": "#ffffff",
30
+ "filePath": "./src/brand/amsterdam/color.tokens.json",
31
+ "isSource": true,
32
+ "original": {
33
+ "value": "#ffffff"
34
+ },
35
+ "name": "amsterdamColorPrimaryWhite",
36
+ "attributes": {
37
+ "category": "amsterdam",
38
+ "type": "color",
39
+ "item": "primary-white"
40
+ },
41
+ "path": [
42
+ "amsterdam",
43
+ "color",
44
+ "primary-white"
45
+ ]
46
+ },
47
+ "primary-blue": {
48
+ "value": "#004699",
49
+ "filePath": "./src/brand/amsterdam/color.tokens.json",
50
+ "isSource": true,
51
+ "original": {
52
+ "value": "#004699"
53
+ },
54
+ "name": "amsterdamColorPrimaryBlue",
55
+ "attributes": {
56
+ "category": "amsterdam",
57
+ "type": "color",
58
+ "item": "primary-blue"
59
+ },
60
+ "path": [
61
+ "amsterdam",
62
+ "color",
63
+ "primary-blue"
64
+ ]
65
+ },
66
+ "primary-red": {
67
+ "value": "#EC0000",
68
+ "filePath": "./src/brand/amsterdam/color.tokens.json",
69
+ "isSource": true,
70
+ "original": {
71
+ "value": "#EC0000"
72
+ },
73
+ "name": "amsterdamColorPrimaryRed",
74
+ "attributes": {
75
+ "category": "amsterdam",
76
+ "type": "color",
77
+ "item": "primary-red"
78
+ },
79
+ "path": [
80
+ "amsterdam",
81
+ "color",
82
+ "primary-red"
83
+ ]
84
+ },
85
+ "dark-blue": {
86
+ "value": "#00387A",
87
+ "filePath": "./src/brand/amsterdam/color.tokens.json",
88
+ "isSource": true,
89
+ "original": {
90
+ "value": "#00387A"
91
+ },
92
+ "name": "amsterdamColorDarkBlue",
93
+ "attributes": {
94
+ "category": "amsterdam",
95
+ "type": "color",
96
+ "item": "dark-blue"
97
+ },
98
+ "path": [
99
+ "amsterdam",
100
+ "color",
101
+ "dark-blue"
102
+ ]
103
+ },
104
+ "orange": {
105
+ "value": "#FF9100",
106
+ "filePath": "./src/brand/amsterdam/color.tokens.json",
107
+ "isSource": true,
108
+ "original": {
109
+ "value": "#FF9100"
110
+ },
111
+ "name": "amsterdamColorOrange",
112
+ "attributes": {
113
+ "category": "amsterdam",
114
+ "type": "color",
115
+ "item": "orange"
116
+ },
117
+ "path": [
118
+ "amsterdam",
119
+ "color",
120
+ "orange"
121
+ ]
122
+ },
123
+ "yellow": {
124
+ "value": "#FFE600",
125
+ "filePath": "./src/brand/amsterdam/color.tokens.json",
126
+ "isSource": true,
127
+ "original": {
128
+ "value": "#FFE600"
129
+ },
130
+ "name": "amsterdamColorYellow",
131
+ "attributes": {
132
+ "category": "amsterdam",
133
+ "type": "color",
134
+ "item": "yellow"
135
+ },
136
+ "path": [
137
+ "amsterdam",
138
+ "color",
139
+ "yellow"
140
+ ]
141
+ },
142
+ "green": {
143
+ "value": "#BED200",
144
+ "filePath": "./src/brand/amsterdam/color.tokens.json",
145
+ "isSource": true,
146
+ "original": {
147
+ "value": "#BED200"
148
+ },
149
+ "name": "amsterdamColorGreen",
150
+ "attributes": {
151
+ "category": "amsterdam",
152
+ "type": "color",
153
+ "item": "green"
154
+ },
155
+ "path": [
156
+ "amsterdam",
157
+ "color",
158
+ "green"
159
+ ]
160
+ },
161
+ "dark-green": {
162
+ "value": "#00A03C",
163
+ "filePath": "./src/brand/amsterdam/color.tokens.json",
164
+ "isSource": true,
165
+ "original": {
166
+ "value": "#00A03C"
167
+ },
168
+ "name": "amsterdamColorDarkGreen",
169
+ "attributes": {
170
+ "category": "amsterdam",
171
+ "type": "color",
172
+ "item": "dark-green"
173
+ },
174
+ "path": [
175
+ "amsterdam",
176
+ "color",
177
+ "dark-green"
178
+ ]
179
+ },
180
+ "blue": {
181
+ "value": "#009DEC",
182
+ "filePath": "./src/brand/amsterdam/color.tokens.json",
183
+ "isSource": true,
184
+ "original": {
185
+ "value": "#009DEC"
186
+ },
187
+ "name": "amsterdamColorBlue",
188
+ "attributes": {
189
+ "category": "amsterdam",
190
+ "type": "color",
191
+ "item": "blue"
192
+ },
193
+ "path": [
194
+ "amsterdam",
195
+ "color",
196
+ "blue"
197
+ ]
198
+ },
199
+ "purple": {
200
+ "value": "#A00078",
201
+ "filePath": "./src/brand/amsterdam/color.tokens.json",
202
+ "isSource": true,
203
+ "original": {
204
+ "value": "#A00078"
205
+ },
206
+ "name": "amsterdamColorPurple",
207
+ "attributes": {
208
+ "category": "amsterdam",
209
+ "type": "color",
210
+ "item": "purple"
211
+ },
212
+ "path": [
213
+ "amsterdam",
214
+ "color",
215
+ "purple"
216
+ ]
217
+ },
218
+ "magenta": {
219
+ "value": "#E50082",
220
+ "filePath": "./src/brand/amsterdam/color.tokens.json",
221
+ "isSource": true,
222
+ "original": {
223
+ "value": "#E50082"
224
+ },
225
+ "name": "amsterdamColorMagenta",
226
+ "attributes": {
227
+ "category": "amsterdam",
228
+ "type": "color",
229
+ "item": "magenta"
230
+ },
231
+ "path": [
232
+ "amsterdam",
233
+ "color",
234
+ "magenta"
235
+ ]
236
+ },
237
+ "neutral-grey1": {
238
+ "value": "#E6E6E6",
239
+ "filePath": "./src/brand/amsterdam/color.tokens.json",
240
+ "isSource": true,
241
+ "original": {
242
+ "value": "#E6E6E6"
243
+ },
244
+ "name": "amsterdamColorNeutralGrey1",
245
+ "attributes": {
246
+ "category": "amsterdam",
247
+ "type": "color",
248
+ "item": "neutral-grey1"
249
+ },
250
+ "path": [
251
+ "amsterdam",
252
+ "color",
253
+ "neutral-grey1"
254
+ ]
255
+ },
256
+ "neutral-grey2": {
257
+ "value": "#B4B4B4",
258
+ "filePath": "./src/brand/amsterdam/color.tokens.json",
259
+ "isSource": true,
260
+ "original": {
261
+ "value": "#B4B4B4"
262
+ },
263
+ "name": "amsterdamColorNeutralGrey2",
264
+ "attributes": {
265
+ "category": "amsterdam",
266
+ "type": "color",
267
+ "item": "neutral-grey2"
268
+ },
269
+ "path": [
270
+ "amsterdam",
271
+ "color",
272
+ "neutral-grey2"
273
+ ]
274
+ },
275
+ "neutral-grey3": {
276
+ "value": "#767676",
277
+ "filePath": "./src/brand/amsterdam/color.tokens.json",
278
+ "isSource": true,
279
+ "original": {
280
+ "value": "#767676"
281
+ },
282
+ "name": "amsterdamColorNeutralGrey3",
283
+ "attributes": {
284
+ "category": "amsterdam",
285
+ "type": "color",
286
+ "item": "neutral-grey3"
287
+ },
288
+ "path": [
289
+ "amsterdam",
290
+ "color",
291
+ "neutral-grey3"
292
+ ]
293
+ },
294
+ "neutral-grey4": {
295
+ "value": "#323232",
296
+ "filePath": "./src/brand/amsterdam/color.tokens.json",
297
+ "isSource": true,
298
+ "original": {
299
+ "value": "#323232"
300
+ },
301
+ "name": "amsterdamColorNeutralGrey4",
302
+ "attributes": {
303
+ "category": "amsterdam",
304
+ "type": "color",
305
+ "item": "neutral-grey4"
306
+ },
307
+ "path": [
308
+ "amsterdam",
309
+ "color",
310
+ "neutral-grey4"
311
+ ]
312
+ }
313
+ },
314
+ "focus": {
315
+ "outline-offset": {
316
+ "value": "2px",
317
+ "filePath": "./src/common/amsterdam/focus.tokens.json",
318
+ "isSource": true,
319
+ "original": {
320
+ "value": "2px"
321
+ },
322
+ "name": "amsterdamFocusOutlineOffset",
323
+ "attributes": {
324
+ "category": "amsterdam",
325
+ "type": "focus",
326
+ "item": "outline-offset"
327
+ },
328
+ "path": [
329
+ "amsterdam",
330
+ "focus",
331
+ "outline-offset"
332
+ ]
333
+ }
334
+ }
335
+ }
336
+ };
@@ -0,0 +1,21 @@
1
+
2
+ // Do not edit directly
3
+ // Generated on Fri, 10 Feb 2023 13:17:22 GMT
4
+
5
+ @amsterdam-focus-outline-offset: 2px;
6
+ @amsterdam-color-neutral-grey4: #323232;
7
+ @amsterdam-color-neutral-grey3: #767676;
8
+ @amsterdam-color-neutral-grey2: #B4B4B4;
9
+ @amsterdam-color-neutral-grey1: #E6E6E6;
10
+ @amsterdam-color-magenta: #E50082;
11
+ @amsterdam-color-purple: #A00078;
12
+ @amsterdam-color-blue: #009DEC;
13
+ @amsterdam-color-dark-green: #00A03C;
14
+ @amsterdam-color-green: #BED200;
15
+ @amsterdam-color-yellow: #FFE600;
16
+ @amsterdam-color-orange: #FF9100;
17
+ @amsterdam-color-dark-blue: #00387A;
18
+ @amsterdam-color-primary-red: #EC0000;
19
+ @amsterdam-color-primary-blue: #004699;
20
+ @amsterdam-color-primary-white: #ffffff;
21
+ @amsterdam-color-primary-black: #000000;
package/package.json ADDED
@@ -0,0 +1,33 @@
1
+ {
2
+ "version": "0.1.0",
3
+ "author": "Community for NL Design System",
4
+ "description": "Design tokens for components for the City of Amsterdam based on the NL Design System architecture",
5
+ "license": "EUPL-1.2",
6
+ "name": "@amsterdam/design-system-tokens",
7
+ "keywords": [
8
+ "nl-design-system"
9
+ ],
10
+ "private": false,
11
+ "publishConfig": {
12
+ "access": "public"
13
+ },
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "https://github.com/Amsterdam/design-system.git",
17
+ "directory": "packages/tokens"
18
+ },
19
+ "scripts": {
20
+ "clean": "rimraf dist/",
21
+ "prebuild": "npm run clean",
22
+ "build": "npm-run-all build:**",
23
+ "build:style-dictionary": "style-dictionary build --config ./style-dictionary.config.json",
24
+ "watch": "npm-run-all watch:**",
25
+ "watch:style-dictionary": "chokidar --follow-symlinks --initial --command 'npm run build' 'src/**/*.tokens.json'"
26
+ },
27
+ "devDependencies": {
28
+ "chokidar-cli": "3.0.0",
29
+ "npm-run-all": "4.1.5",
30
+ "style-dictionary": "3.7.2"
31
+ },
32
+ "gitHead": "048043a5fe15bdba7d7665d8531705169a01ab50"
33
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "amsterdam": {
3
+ "color": {
4
+ "primary-black": { "value": "#000000" },
5
+ "primary-white": { "value": "#ffffff" },
6
+ "primary-blue": { "value": "#004699" },
7
+ "primary-red": { "value": "#EC0000" },
8
+ "dark-blue": { "value": "#00387A" },
9
+ "orange": { "value": "#FF9100" },
10
+ "yellow": { "value": "#FFE600" },
11
+ "green": { "value": "#BED200" },
12
+ "dark-green": { "value": "#00A03C" },
13
+ "blue": { "value": "#009DEC" },
14
+ "purple": { "value": "#A00078" },
15
+ "magenta": { "value": "#E50082" },
16
+ "neutral-grey1": { "value": "#E6E6E6" },
17
+ "neutral-grey2": { "value": "#B4B4B4" },
18
+ "neutral-grey3": { "value": "#767676" },
19
+ "neutral-grey4": { "value": "#323232" }
20
+ }
21
+ }
22
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "amsterdam": {
3
+ "focus": {
4
+ "outline-offset": { "value": "2px" }
5
+ }
6
+ }
7
+ }
@@ -0,0 +1,101 @@
1
+ {
2
+ "source": ["./src/**/tokens.json", "./src/**/*.tokens.json"],
3
+ "platforms": {
4
+ "js": {
5
+ "transforms": ["attribute/cti", "name/cti/camel", "color/hsl-4"],
6
+ "buildPath": "dist/",
7
+ "files": [
8
+ {
9
+ "destination": "index.js",
10
+ "format": "javascript/es6"
11
+ },
12
+ {
13
+ "format": "javascript/module",
14
+ "destination": "tokens.js"
15
+ }
16
+ ]
17
+ },
18
+ "json": {
19
+ "transforms": ["attribute/cti", "name/cti/camel", "color/hsl-4"],
20
+ "buildPath": "dist/",
21
+ "files": [
22
+ {
23
+ "destination": "index.tokens.json",
24
+ "format": "json/nested"
25
+ },
26
+ {
27
+ "destination": "index.json",
28
+ "format": "json/flat"
29
+ }
30
+ ]
31
+ },
32
+ "css": {
33
+ "transforms": ["attribute/cti", "name/cti/kebab", "color/hsl-4"],
34
+ "buildPath": "dist/",
35
+ "files": [
36
+ {
37
+ "destination": "root.css",
38
+ "format": "css/variables",
39
+ "options": {
40
+ "outputReferences": true
41
+ }
42
+ }
43
+ ]
44
+ },
45
+ "css-theme": {
46
+ "transforms": ["attribute/cti", "name/cti/kebab", "color/hsl-4"],
47
+ "buildPath": "dist/",
48
+ "files": [
49
+ {
50
+ "destination": "index.css",
51
+ "format": "css/variables",
52
+ "options": {
53
+ "selector": ".amsterdam-theme",
54
+ "outputReferences": true
55
+ }
56
+ }
57
+ ]
58
+ },
59
+ "scss": {
60
+ "transforms": ["attribute/cti", "name/cti/kebab", "color/hsl-4"],
61
+ "buildPath": "dist/",
62
+ "files": [
63
+ {
64
+ "destination": "_variables.scss",
65
+ "format": "scss/variables",
66
+ "options": {
67
+ "outputReferences": true
68
+ }
69
+ }
70
+ ]
71
+ },
72
+ "typescript": {
73
+ "transforms": ["attribute/cti", "name/cti/camel", "color/hsl-4"],
74
+ "transformGroup": "js",
75
+ "buildPath": "dist/",
76
+ "files": [
77
+ {
78
+ "format": "typescript/es6-declarations",
79
+ "destination": "index.d.ts"
80
+ },
81
+ {
82
+ "format": "typescript/module-declarations",
83
+ "destination": "tokens.d.ts"
84
+ }
85
+ ]
86
+ },
87
+ "less": {
88
+ "transforms": ["attribute/cti", "name/cti/kebab", "color/hsl-4"],
89
+ "buildPath": "dist/",
90
+ "files": [
91
+ {
92
+ "destination": "variables.less",
93
+ "format": "less/variables",
94
+ "options": {
95
+ "outputReferences": true
96
+ }
97
+ }
98
+ ]
99
+ }
100
+ }
101
+ }