@nswds/tokens 3.0.1 → 3.2.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.
Files changed (77) hide show
  1. package/dist/css/breakpoints/global.css +7 -0
  2. package/dist/css/colors/semantic/hex.css +76 -76
  3. package/dist/css/colors/semantic/hsl.css +76 -76
  4. package/dist/css/colors/semantic/oklch.css +76 -76
  5. package/dist/css/colors/semantic/rgb.css +76 -76
  6. package/dist/css/colors/themes/masterbrand/hex.css +57 -57
  7. package/dist/css/colors/themes/masterbrand/hsl.css +57 -57
  8. package/dist/css/colors/themes/masterbrand/oklch.css +57 -57
  9. package/dist/css/colors/themes/masterbrand/rgb.css +57 -57
  10. package/dist/css/radius/global.css +7 -0
  11. package/dist/css/space/global.css +14 -0
  12. package/dist/css/typography/global.css +32 -0
  13. package/dist/index.cjs +999 -31
  14. package/dist/index.cjs.map +1 -1
  15. package/dist/index.d.cts +417 -0
  16. package/dist/index.d.ts +417 -0
  17. package/dist/index.js +999 -31
  18. package/dist/index.js.map +1 -1
  19. package/dist/js/breakpoints/global.js +7 -0
  20. package/dist/js/radius/global.js +7 -0
  21. package/dist/js/space/global.js +14 -0
  22. package/dist/js/typography/global.js +42 -0
  23. package/dist/json/breakpoints/global.json +9 -0
  24. package/dist/json/radius/global.json +9 -0
  25. package/dist/json/space/global.json +16 -0
  26. package/dist/json/typography/global.json +42 -0
  27. package/dist/less/breakpoints/global.less +5 -0
  28. package/dist/less/colors/semantic/hex.less +76 -76
  29. package/dist/less/colors/semantic/hsl.less +76 -76
  30. package/dist/less/colors/semantic/oklch.less +76 -76
  31. package/dist/less/colors/semantic/rgb.less +76 -76
  32. package/dist/less/colors/themes/masterbrand/hex.less +57 -57
  33. package/dist/less/colors/themes/masterbrand/hsl.less +57 -57
  34. package/dist/less/colors/themes/masterbrand/oklch.less +57 -57
  35. package/dist/less/colors/themes/masterbrand/rgb.less +57 -57
  36. package/dist/less/radius/global.less +5 -0
  37. package/dist/less/space/global.less +12 -0
  38. package/dist/less/typography/global.less +30 -0
  39. package/dist/scss/breakpoints/global.scss +5 -0
  40. package/dist/scss/colors/semantic/hex.scss +76 -76
  41. package/dist/scss/colors/semantic/hsl.scss +76 -76
  42. package/dist/scss/colors/semantic/oklch.scss +76 -76
  43. package/dist/scss/colors/semantic/rgb.scss +76 -76
  44. package/dist/scss/colors/themes/masterbrand/hex.scss +57 -57
  45. package/dist/scss/colors/themes/masterbrand/hsl.scss +57 -57
  46. package/dist/scss/colors/themes/masterbrand/oklch.scss +57 -57
  47. package/dist/scss/colors/themes/masterbrand/rgb.scss +57 -57
  48. package/dist/scss/radius/global.scss +5 -0
  49. package/dist/scss/space/global.scss +12 -0
  50. package/dist/scss/typography/global.scss +30 -0
  51. package/dist/tailwind/breakpoints/global.css +7 -0
  52. package/dist/tailwind/radius/global.css +7 -0
  53. package/dist/tailwind/space/global.css +14 -0
  54. package/dist/tailwind/typography/global.css +32 -0
  55. package/dist/tokens/breakpoints.base.json +44 -0
  56. package/dist/tokens/global/breakpoints/canonical.json +44 -0
  57. package/dist/tokens/global/radius/canonical.json +44 -0
  58. package/dist/tokens/global/space/canonical.json +100 -0
  59. package/dist/tokens/global/typography/canonical.json +240 -0
  60. package/dist/tokens/radius.base.json +44 -0
  61. package/dist/tokens/semantic/color/canonical.json +76 -0
  62. package/dist/tokens/semantic/color/hex.json +76 -0
  63. package/dist/tokens/semantic/color/hsl.json +76 -0
  64. package/dist/tokens/semantic/color/oklch.json +76 -0
  65. package/dist/tokens/semantic/color/rgb.json +76 -0
  66. package/dist/tokens/space.base.json +100 -0
  67. package/dist/tokens/themes/color/masterbrand/canonical.json +57 -0
  68. package/dist/tokens/themes/color/masterbrand/hex.json +57 -0
  69. package/dist/tokens/themes/color/masterbrand/hsl.json +57 -0
  70. package/dist/tokens/themes/color/masterbrand/oklch.json +57 -0
  71. package/dist/tokens/themes/color/masterbrand/rgb.json +57 -0
  72. package/dist/tokens/typography.base.json +240 -0
  73. package/dist/ts/breakpoints/global.ts +7 -0
  74. package/dist/ts/radius/global.ts +7 -0
  75. package/dist/ts/space/global.ts +14 -0
  76. package/dist/ts/typography/global.ts +42 -0
  77. package/package.json +1 -1
@@ -2,312 +2,388 @@
2
2
  "success": {
3
3
  "50": {
4
4
  "$type": "color",
5
+ "$description": "Success state — positive outcomes, confirmations, and completed actions. Step 50: lightest tints for subtle backgrounds and surfaces.",
5
6
  "$value": "#eff9ed"
6
7
  },
7
8
  "100": {
8
9
  "$type": "color",
10
+ "$description": "Success state — positive outcomes, confirmations, and completed actions. Step 100: lightest tints for subtle backgrounds and surfaces.",
9
11
  "$value": "#e0f3de"
10
12
  },
11
13
  "150": {
12
14
  "$type": "color",
15
+ "$description": "Success state — positive outcomes, confirmations, and completed actions. Step 150: lightest tints for subtle backgrounds and surfaces.",
13
16
  "$value": "#d2eccf"
14
17
  },
15
18
  "200": {
16
19
  "$type": "color",
20
+ "$description": "Success state — positive outcomes, confirmations, and completed actions. Step 200: lightest tints for subtle backgrounds and surfaces.",
17
21
  "$value": "#c4e5c0"
18
22
  },
19
23
  "250": {
20
24
  "$type": "color",
25
+ "$description": "Success state — positive outcomes, confirmations, and completed actions. Step 250: lightest tints for subtle backgrounds and surfaces.",
21
26
  "$value": "#aad6a5"
22
27
  },
23
28
  "300": {
24
29
  "$type": "color",
30
+ "$description": "Success state — positive outcomes, confirmations, and completed actions. Step 300: light tints.",
25
31
  "$value": "#8fc78a"
26
32
  },
27
33
  "350": {
28
34
  "$type": "color",
35
+ "$description": "Success state — positive outcomes, confirmations, and completed actions. Step 350: light tints.",
29
36
  "$value": "#74b76f"
30
37
  },
31
38
  "400": {
32
39
  "$type": "color",
40
+ "$description": "Success state — positive outcomes, confirmations, and completed actions. Step 400: light tints.",
33
41
  "$value": "#58a854"
34
42
  },
35
43
  "450": {
36
44
  "$type": "color",
45
+ "$description": "Success state — positive outcomes, confirmations, and completed actions. Step 450: light tints.",
37
46
  "$value": "#49a146"
38
47
  },
39
48
  "500": {
40
49
  "$type": "color",
50
+ "$description": "Success state — positive outcomes, confirmations, and completed actions. Step 500: base colour.",
41
51
  "$value": "#399936"
42
52
  },
43
53
  "550": {
44
54
  "$type": "color",
55
+ "$description": "Success state — positive outcomes, confirmations, and completed actions. Step 550: shades for borders and icons.",
45
56
  "$value": "#259224"
46
57
  },
47
58
  "600": {
48
59
  "$type": "color",
60
+ "$description": "Success state — positive outcomes, confirmations, and completed actions. Step 600: shades for borders and icons.",
49
61
  "$value": "#008a07"
50
62
  },
51
63
  "650": {
52
64
  "$type": "color",
65
+ "$description": "Success state — positive outcomes, confirmations, and completed actions. Step 650: shades for borders and icons.",
53
66
  "$value": "#007204"
54
67
  },
55
68
  "700": {
56
69
  "$type": "color",
70
+ "$description": "Success state — positive outcomes, confirmations, and completed actions. Step 700: shades for borders and icons.",
57
71
  "$value": "#005a02"
58
72
  },
59
73
  "750": {
60
74
  "$type": "color",
75
+ "$description": "Success state — positive outcomes, confirmations, and completed actions. Step 750: darkest shades for text and high emphasis.",
61
76
  "$value": "#004401"
62
77
  },
63
78
  "800": {
64
79
  "$type": "color",
80
+ "$description": "Success state — positive outcomes, confirmations, and completed actions. Step 800: darkest shades for text and high emphasis.",
65
81
  "$value": "#002f00"
66
82
  },
67
83
  "850": {
68
84
  "$type": "color",
85
+ "$description": "Success state — positive outcomes, confirmations, and completed actions. Step 850: darkest shades for text and high emphasis.",
69
86
  "$value": "#002200"
70
87
  },
71
88
  "900": {
72
89
  "$type": "color",
90
+ "$description": "Success state — positive outcomes, confirmations, and completed actions. Step 900: darkest shades for text and high emphasis.",
73
91
  "$value": "#001600"
74
92
  },
75
93
  "950": {
76
94
  "$type": "color",
95
+ "$description": "Success state — positive outcomes, confirmations, and completed actions. Step 950: darkest shades for text and high emphasis.",
77
96
  "$value": "#000b00"
78
97
  }
79
98
  },
80
99
  "warning": {
81
100
  "50": {
82
101
  "$type": "color",
102
+ "$description": "Warning state — caution and actions that need attention. Step 50: lightest tints for subtle backgrounds and surfaces.",
83
103
  "$value": "#fff3ed"
84
104
  },
85
105
  "100": {
86
106
  "$type": "color",
107
+ "$description": "Warning state — caution and actions that need attention. Step 100: lightest tints for subtle backgrounds and surfaces.",
87
108
  "$value": "#ffe8de"
88
109
  },
89
110
  "150": {
90
111
  "$type": "color",
112
+ "$description": "Warning state — caution and actions that need attention. Step 150: lightest tints for subtle backgrounds and surfaces.",
91
113
  "$value": "#ffddcf"
92
114
  },
93
115
  "200": {
94
116
  "$type": "color",
117
+ "$description": "Warning state — caution and actions that need attention. Step 200: lightest tints for subtle backgrounds and surfaces.",
95
118
  "$value": "#fdd2c0"
96
119
  },
97
120
  "250": {
98
121
  "$type": "color",
122
+ "$description": "Warning state — caution and actions that need attention. Step 250: lightest tints for subtle backgrounds and surfaces.",
99
123
  "$value": "#f6bda5"
100
124
  },
101
125
  "300": {
102
126
  "$type": "color",
127
+ "$description": "Warning state — caution and actions that need attention. Step 300: light tints.",
103
128
  "$value": "#eea88a"
104
129
  },
105
130
  "350": {
106
131
  "$type": "color",
132
+ "$description": "Warning state — caution and actions that need attention. Step 350: light tints.",
107
133
  "$value": "#e6936f"
108
134
  },
109
135
  "400": {
110
136
  "$type": "color",
137
+ "$description": "Warning state — caution and actions that need attention. Step 400: light tints.",
111
138
  "$value": "#dd7d53"
112
139
  },
113
140
  "450": {
114
141
  "$type": "color",
142
+ "$description": "Warning state — caution and actions that need attention. Step 450: light tints.",
115
143
  "$value": "#d87244"
116
144
  },
117
145
  "500": {
118
146
  "$type": "color",
147
+ "$description": "Warning state — caution and actions that need attention. Step 500: base colour.",
119
148
  "$value": "#d36734"
120
149
  },
121
150
  "550": {
122
151
  "$type": "color",
152
+ "$description": "Warning state — caution and actions that need attention. Step 550: shades for borders and icons.",
123
153
  "$value": "#ce5c21"
124
154
  },
125
155
  "600": {
126
156
  "$type": "color",
157
+ "$description": "Warning state — caution and actions that need attention. Step 600: shades for borders and icons.",
127
158
  "$value": "#c95000"
128
159
  },
129
160
  "650": {
130
161
  "$type": "color",
162
+ "$description": "Warning state — caution and actions that need attention. Step 650: shades for borders and icons.",
131
163
  "$value": "#a83f03"
132
164
  },
133
165
  "700": {
134
166
  "$type": "color",
167
+ "$description": "Warning state — caution and actions that need attention. Step 700: shades for borders and icons.",
135
168
  "$value": "#882f03"
136
169
  },
137
170
  "750": {
138
171
  "$type": "color",
172
+ "$description": "Warning state — caution and actions that need attention. Step 750: darkest shades for text and high emphasis.",
139
173
  "$value": "#692001"
140
174
  },
141
175
  "800": {
142
176
  "$type": "color",
177
+ "$description": "Warning state — caution and actions that need attention. Step 800: darkest shades for text and high emphasis.",
143
178
  "$value": "#4b1200"
144
179
  },
145
180
  "850": {
146
181
  "$type": "color",
182
+ "$description": "Warning state — caution and actions that need attention. Step 850: darkest shades for text and high emphasis.",
147
183
  "$value": "#390a00"
148
184
  },
149
185
  "900": {
150
186
  "$type": "color",
187
+ "$description": "Warning state — caution and actions that need attention. Step 900: darkest shades for text and high emphasis.",
151
188
  "$value": "#270400"
152
189
  },
153
190
  "950": {
154
191
  "$type": "color",
192
+ "$description": "Warning state — caution and actions that need attention. Step 950: darkest shades for text and high emphasis.",
155
193
  "$value": "#170100"
156
194
  }
157
195
  },
158
196
  "danger": {
159
197
  "50": {
160
198
  "$type": "color",
199
+ "$description": "Danger state — errors and destructive or critical actions. Step 50: lightest tints for subtle backgrounds and surfaces.",
161
200
  "$value": "#fff0ef"
162
201
  },
163
202
  "100": {
164
203
  "$type": "color",
204
+ "$description": "Danger state — errors and destructive or critical actions. Step 100: lightest tints for subtle backgrounds and surfaces.",
165
205
  "$value": "#ffe2e1"
166
206
  },
167
207
  "150": {
168
208
  "$type": "color",
209
+ "$description": "Danger state — errors and destructive or critical actions. Step 150: lightest tints for subtle backgrounds and surfaces.",
169
210
  "$value": "#ffd4d4"
170
211
  },
171
212
  "200": {
172
213
  "$type": "color",
214
+ "$description": "Danger state — errors and destructive or critical actions. Step 200: lightest tints for subtle backgrounds and surfaces.",
173
215
  "$value": "#fdc6c6"
174
216
  },
175
217
  "250": {
176
218
  "$type": "color",
219
+ "$description": "Danger state — errors and destructive or critical actions. Step 250: lightest tints for subtle backgrounds and surfaces.",
177
220
  "$value": "#f4acad"
178
221
  },
179
222
  "300": {
180
223
  "$type": "color",
224
+ "$description": "Danger state — errors and destructive or critical actions. Step 300: light tints.",
181
225
  "$value": "#ea9294"
182
226
  },
183
227
  "350": {
184
228
  "$type": "color",
229
+ "$description": "Danger state — errors and destructive or critical actions. Step 350: light tints.",
185
230
  "$value": "#df787c"
186
231
  },
187
232
  "400": {
188
233
  "$type": "color",
234
+ "$description": "Danger state — errors and destructive or critical actions. Step 400: light tints.",
189
235
  "$value": "#d35d65"
190
236
  },
191
237
  "450": {
192
238
  "$type": "color",
239
+ "$description": "Danger state — errors and destructive or critical actions. Step 450: light tints.",
193
240
  "$value": "#cd4e59"
194
241
  },
195
242
  "500": {
196
243
  "$type": "color",
244
+ "$description": "Danger state — errors and destructive or critical actions. Step 500: base colour.",
197
245
  "$value": "#c63f4e"
198
246
  },
199
247
  "550": {
200
248
  "$type": "color",
249
+ "$description": "Danger state — errors and destructive or critical actions. Step 550: shades for borders and icons.",
201
250
  "$value": "#bf2c42"
202
251
  },
203
252
  "600": {
204
253
  "$type": "color",
254
+ "$description": "Danger state — errors and destructive or critical actions. Step 600: shades for borders and icons.",
205
255
  "$value": "#b81237"
206
256
  },
207
257
  "650": {
208
258
  "$type": "color",
259
+ "$description": "Danger state — errors and destructive or critical actions. Step 650: shades for borders and icons.",
209
260
  "$value": "#990b2a"
210
261
  },
211
262
  "700": {
212
263
  "$type": "color",
264
+ "$description": "Danger state — errors and destructive or critical actions. Step 700: shades for borders and icons.",
213
265
  "$value": "#7c061f"
214
266
  },
215
267
  "750": {
216
268
  "$type": "color",
269
+ "$description": "Danger state — errors and destructive or critical actions. Step 750: darkest shades for text and high emphasis.",
217
270
  "$value": "#5f0214"
218
271
  },
219
272
  "800": {
220
273
  "$type": "color",
274
+ "$description": "Danger state — errors and destructive or critical actions. Step 800: darkest shades for text and high emphasis.",
221
275
  "$value": "#44000a"
222
276
  },
223
277
  "850": {
224
278
  "$type": "color",
279
+ "$description": "Danger state — errors and destructive or critical actions. Step 850: darkest shades for text and high emphasis.",
225
280
  "$value": "#330005"
226
281
  },
227
282
  "900": {
228
283
  "$type": "color",
284
+ "$description": "Danger state — errors and destructive or critical actions. Step 900: darkest shades for text and high emphasis.",
229
285
  "$value": "#230002"
230
286
  },
231
287
  "950": {
232
288
  "$type": "color",
289
+ "$description": "Danger state — errors and destructive or critical actions. Step 950: darkest shades for text and high emphasis.",
233
290
  "$value": "#140001"
234
291
  }
235
292
  },
236
293
  "info": {
237
294
  "50": {
238
295
  "$type": "color",
296
+ "$description": "Informational state — neutral highlights, tips, and in-progress notices. Step 50: lightest tints for subtle backgrounds and surfaces.",
239
297
  "$value": "#e9eef7"
240
298
  },
241
299
  "100": {
242
300
  "$type": "color",
301
+ "$description": "Informational state — neutral highlights, tips, and in-progress notices. Step 100: lightest tints for subtle backgrounds and surfaces.",
243
302
  "$value": "#d4ddeb"
244
303
  },
245
304
  "150": {
246
305
  "$type": "color",
306
+ "$description": "Informational state — neutral highlights, tips, and in-progress notices. Step 150: lightest tints for subtle backgrounds and surfaces.",
247
307
  "$value": "#c0cce0"
248
308
  },
249
309
  "200": {
250
310
  "$type": "color",
311
+ "$description": "Informational state — neutral highlights, tips, and in-progress notices. Step 200: lightest tints for subtle backgrounds and surfaces.",
251
312
  "$value": "#acbbd5"
252
313
  },
253
314
  "250": {
254
315
  "$type": "color",
316
+ "$description": "Informational state — neutral highlights, tips, and in-progress notices. Step 250: lightest tints for subtle backgrounds and surfaces.",
255
317
  "$value": "#96a9cc"
256
318
  },
257
319
  "300": {
258
320
  "$type": "color",
321
+ "$description": "Informational state — neutral highlights, tips, and in-progress notices. Step 300: light tints.",
259
322
  "$value": "#8098c2"
260
323
  },
261
324
  "350": {
262
325
  "$type": "color",
326
+ "$description": "Informational state — neutral highlights, tips, and in-progress notices. Step 350: light tints.",
263
327
  "$value": "#6b86b8"
264
328
  },
265
329
  "400": {
266
330
  "$type": "color",
331
+ "$description": "Informational state — neutral highlights, tips, and in-progress notices. Step 400: light tints.",
267
332
  "$value": "#5775ae"
268
333
  },
269
334
  "450": {
270
335
  "$type": "color",
336
+ "$description": "Informational state — neutral highlights, tips, and in-progress notices. Step 450: light tints.",
271
337
  "$value": "#4d6ca9"
272
338
  },
273
339
  "500": {
274
340
  "$type": "color",
341
+ "$description": "Informational state — neutral highlights, tips, and in-progress notices. Step 500: base colour.",
275
342
  "$value": "#4264a4"
276
343
  },
277
344
  "550": {
278
345
  "$type": "color",
346
+ "$description": "Informational state — neutral highlights, tips, and in-progress notices. Step 550: shades for borders and icons.",
279
347
  "$value": "#385b9e"
280
348
  },
281
349
  "600": {
282
350
  "$type": "color",
351
+ "$description": "Informational state — neutral highlights, tips, and in-progress notices. Step 600: shades for borders and icons.",
283
352
  "$value": "#2e5299"
284
353
  },
285
354
  "650": {
286
355
  "$type": "color",
356
+ "$description": "Informational state — neutral highlights, tips, and in-progress notices. Step 650: shades for borders and icons.",
287
357
  "$value": "#23427f"
288
358
  },
289
359
  "700": {
290
360
  "$type": "color",
361
+ "$description": "Informational state — neutral highlights, tips, and in-progress notices. Step 700: shades for borders and icons.",
291
362
  "$value": "#193366"
292
363
  },
293
364
  "750": {
294
365
  "$type": "color",
366
+ "$description": "Informational state — neutral highlights, tips, and in-progress notices. Step 750: darkest shades for text and high emphasis.",
295
367
  "$value": "#10254f"
296
368
  },
297
369
  "800": {
298
370
  "$type": "color",
371
+ "$description": "Informational state — neutral highlights, tips, and in-progress notices. Step 800: darkest shades for text and high emphasis.",
299
372
  "$value": "#071738"
300
373
  },
301
374
  "850": {
302
375
  "$type": "color",
376
+ "$description": "Informational state — neutral highlights, tips, and in-progress notices. Step 850: darkest shades for text and high emphasis.",
303
377
  "$value": "#040f2a"
304
378
  },
305
379
  "900": {
306
380
  "$type": "color",
381
+ "$description": "Informational state — neutral highlights, tips, and in-progress notices. Step 900: darkest shades for text and high emphasis.",
307
382
  "$value": "#02071c"
308
383
  },
309
384
  "950": {
310
385
  "$type": "color",
386
+ "$description": "Informational state — neutral highlights, tips, and in-progress notices. Step 950: darkest shades for text and high emphasis.",
311
387
  "$value": "#00030f"
312
388
  }
313
389
  }