@aurodesignsystem/design-tokens 4.1.1 → 4.3.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/CHANGELOG.md +15 -0
- package/README.md +17 -0
- package/dist/tokens/CSSCustomProperties.css +244 -95
- package/dist/tokens/CSSSizeCustomProperties.css +1 -1
- package/dist/tokens/JSData--color.js +241 -1
- package/dist/tokens/JSObject--allTokens.js +241 -1
- package/dist/tokens/JSObject--deprecated.js +1 -1
- package/dist/tokens/JSVariables--color.js +9 -1
- package/dist/tokens/SCSSVariableMap.scss +1 -1
- package/dist/tokens/SCSSVariables.scss +150 -95
- package/dist/tokens/SCSSVariablesMapFlat.scss +12 -2
- package/dist/tokens/SassCustomProperties.scss +244 -95
- package/dist/tokens/SassSizeCustomProperties.scss +1 -1
- package/dist/tokens/darkmode/CSSCustomProperties.css +11 -5
- package/dist/tokens/darkmode/JSDataColor.js +1 -1
- package/dist/tokens/darkmode/JSObject--allDarkTokens.js +1 -1
- package/dist/tokens/darkmode/JSVariablesColor.js +1 -1
- package/dist/tokens/darkmode/SCSSVariables.scss +7 -5
- package/dist/tokens/darkmode/SCSSVariablesMapFlat.scss +1 -1
- package/dist/tokens/darkmode/SassCustomProperties.scss +11 -5
- package/package.json +2 -2
- package/src/color/background.json +10 -0
- package/src/color/base.json +14 -0
- package/src/color/border.json +7 -0
- package/src/color/ui.json +30 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Semantic Release Automated Changelog
|
|
2
2
|
|
|
3
|
+
# [4.3.0](https://github.com/AlaskaAirlines/AuroDesignTokens/compare/v4.2.0...v4.3.0) (2023-12-29)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **tokens:** add requested design tokens [#137](https://github.com/AlaskaAirlines/AuroDesignTokens/issues/137) ([8c832d3](https://github.com/AlaskaAirlines/AuroDesignTokens/commit/8c832d3d1b0cf6fa4b844fbea4c711ee9a0b58db))
|
|
9
|
+
|
|
10
|
+
# [4.2.0](https://github.com/AlaskaAirlines/AuroDesignTokens/compare/v4.1.1...v4.2.0) (2023-11-07)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* **base:** add new white tokens with different opacities ([b5a11d6](https://github.com/AlaskaAirlines/AuroDesignTokens/commit/b5a11d68a0c73b825d181f01172ecc62d3d71eec))
|
|
16
|
+
* **gradient:** add new gradient token for white backgrounds [#135](https://github.com/AlaskaAirlines/AuroDesignTokens/issues/135) ([f6e99a4](https://github.com/AlaskaAirlines/AuroDesignTokens/commit/f6e99a4f4806b83175e31e3c8d0f16cc33b85b7e))
|
|
17
|
+
|
|
3
18
|
## [4.1.1](https://github.com/AlaskaAirlines/AuroDesignTokens/compare/v4.1.0...v4.1.1) (2023-09-15)
|
|
4
19
|
|
|
5
20
|
|
package/README.md
CHANGED
|
@@ -54,6 +54,21 @@ Located in the `./dist/tokens` directory of the [npm](https://www.npmjs.com/pack
|
|
|
54
54
|
| SassSizeCustomProperties | Sass | custom properties | current | filter: size, public |
|
|
55
55
|
|
|
56
56
|
|
|
57
|
+
### Migration from 3.x to 4.x
|
|
58
|
+
|
|
59
|
+
With the release of Auro Design Tokens 4.x a new variable namespace was introduced. The project has removed `--auro` and replaced with `--ds`. This was done to support upcoming theming capabilities.
|
|
60
|
+
|
|
61
|
+
Since not all Auro web components are using the new tokens, simply removing the 3.x version and replacing with the 4.x version will break your UI.
|
|
62
|
+
|
|
63
|
+
To allow for a seamless transition between the two sets of design tokens, we highly recommend the following install supoprt.
|
|
64
|
+
|
|
65
|
+
1. In your app, please install the new `@aurodesignsystem/design-tokens@4.x`, but DO NOT uninstall `@alaskaairux/design-tokens@3.15.5`.
|
|
66
|
+
1. Update to use the new `@aurodesignsystem/webcorestylesheets` which fully supports the new token naming spec.
|
|
67
|
+
1. Please review the [Deprecated tokens list](https://auro.alaskaair.com/getting-started/developers/design-tokens/deprecated) for a matrix of changes. Understand that some tokens have been removed from the project and need to be updated.
|
|
68
|
+
|
|
69
|
+
By allowing your project to support both the legacy and new Auro design tokens, this will ensure a smooth transition until all Auro components have been updated and your project has also updated local SCSS/CSS files with the new references.
|
|
70
|
+
|
|
71
|
+
|
|
57
72
|
### Install with Sass
|
|
58
73
|
|
|
59
74
|
```scss
|
|
@@ -89,3 +104,5 @@ Using the `https://cdn.jsdelivr.net/npm/` CDN, every file in the dist directory
|
|
|
89
104
|
```html
|
|
90
105
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm//@aurodesignsystem/design-tokens@latest/dist/tokens/CSSCustomProperties.css">
|
|
91
106
|
```
|
|
107
|
+
|
|
108
|
+
**NOTE:** Please use caution when using the CDN solution. We are not responsible for the CDN `https://cdn.jsdelivr.net/` [uptime](https://www.isitupdown.com/jsdelivr) and are unable to effectively troubleshoot when there are response issues. It is recommended to use the installed version of Auro Design Tokens when using them in critical UIs.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Fri,
|
|
3
|
+
* Generated on Fri, 29 Dec 2023 19:04:04 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
:root {
|
|
@@ -162,11 +162,20 @@
|
|
|
162
162
|
--ds-color-background-lighter: #f8f8f8;
|
|
163
163
|
--ds-color-background-darker: #01426a;
|
|
164
164
|
--ds-color-background-darkest: #00274a;
|
|
165
|
-
--ds-color-
|
|
166
|
-
|
|
165
|
+
--ds-color-background-gradient-default: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5));
|
|
166
|
+
/**
|
|
167
|
+
*
|
|
168
|
+
* // Base value for token support; should not use in code!
|
|
169
|
+
*/
|
|
170
|
+
--ds-color-base-white: #ffffff;
|
|
171
|
+
--ds-color-base-white-opacity-50: rgba(255, 255, 255, 0.5); /* white @ 50% */
|
|
167
172
|
--ds-color-base-white-opacity-40: rgba(255, 255, 255, 0.4); /* white @ 40% */
|
|
168
|
-
--ds-color-base-
|
|
169
|
-
|
|
173
|
+
--ds-color-base-white-opacity-0: rgba(255, 255, 255, 0); /* white @ 0% */
|
|
174
|
+
/**
|
|
175
|
+
*
|
|
176
|
+
* // Base value for token support; should not use in code!
|
|
177
|
+
*/
|
|
178
|
+
--ds-color-base-black: #000000;
|
|
170
179
|
--ds-color-base-black-opacity-15: rgba(0, 0, 0, 0.15); /* black @ 15% */
|
|
171
180
|
--ds-color-state-error-100: #ff999b;
|
|
172
181
|
--ds-color-state-error-500: #df0b37;
|
|
@@ -176,101 +185,237 @@
|
|
|
176
185
|
--ds-color-border-primary-default: #626b79;
|
|
177
186
|
--ds-color-border-primary-inverse: #9fabbb;
|
|
178
187
|
--ds-color-border-active-default: #0074c8;
|
|
188
|
+
--ds-color-border-active-inverse: #00cff0;
|
|
179
189
|
--ds-color-border-error-default: #df0b37;
|
|
180
190
|
--ds-color-border-disabled-default: #dbdbdb;
|
|
181
191
|
--ds-color-border-focus-default: #222222;
|
|
182
192
|
--ds-color-border-divider-default: rgba(0, 0, 0, 0.15);
|
|
183
193
|
--ds-color-border-divider-inverse: #ffffff;
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
--ds-color-brand-midnight-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
--ds-color-brand-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
--ds-color-brand-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
--ds-color-brand-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
--ds-color-brand-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
--ds-color-brand-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
--ds-color-brand-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
--ds-color-brand-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
--ds-color-brand-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
194
|
+
/**
|
|
195
|
+
*
|
|
196
|
+
* // Please consider descriptive token prior to using brand token
|
|
197
|
+
*/
|
|
198
|
+
--ds-color-brand-midnight-100: #c1daf0;
|
|
199
|
+
/**
|
|
200
|
+
*
|
|
201
|
+
* // Please consider descriptive token prior to using brand token
|
|
202
|
+
*/
|
|
203
|
+
--ds-color-brand-midnight-200: #569ed7;
|
|
204
|
+
/**
|
|
205
|
+
*
|
|
206
|
+
* // Please consider descriptive token prior to using brand token
|
|
207
|
+
*/
|
|
208
|
+
--ds-color-brand-midnight-300: #156fad;
|
|
209
|
+
/**
|
|
210
|
+
*
|
|
211
|
+
* // Please consider descriptive token prior to using brand token
|
|
212
|
+
*/
|
|
213
|
+
--ds-color-brand-midnight-400: #01426a;
|
|
214
|
+
/**
|
|
215
|
+
*
|
|
216
|
+
* // Please consider descriptive token prior to using brand token
|
|
217
|
+
*/
|
|
218
|
+
--ds-color-brand-midnight-500: #00274a;
|
|
219
|
+
/**
|
|
220
|
+
*
|
|
221
|
+
* // Please consider descriptive token prior to using brand token
|
|
222
|
+
*/
|
|
223
|
+
--ds-color-brand-atlas-100: #cde6ff;
|
|
224
|
+
/**
|
|
225
|
+
*
|
|
226
|
+
* // Please consider descriptive token prior to using brand token
|
|
227
|
+
*/
|
|
228
|
+
--ds-color-brand-atlas-200: #6bb7fb;
|
|
229
|
+
/**
|
|
230
|
+
*
|
|
231
|
+
* // Please consider descriptive token prior to using brand token
|
|
232
|
+
*/
|
|
233
|
+
--ds-color-brand-atlas-300: #2492eb;
|
|
234
|
+
/**
|
|
235
|
+
*
|
|
236
|
+
* // Please consider descriptive token prior to using brand token
|
|
237
|
+
*/
|
|
238
|
+
--ds-color-brand-atlas-400: #0074c8;
|
|
239
|
+
/**
|
|
240
|
+
*
|
|
241
|
+
* // Please consider descriptive token prior to using brand token
|
|
242
|
+
*/
|
|
243
|
+
--ds-color-brand-atlas-500: #054687;
|
|
244
|
+
/**
|
|
245
|
+
*
|
|
246
|
+
* // Please consider descriptive token prior to using brand token
|
|
247
|
+
*/
|
|
248
|
+
--ds-color-brand-breeze-100: #c0f7ff;
|
|
249
|
+
/**
|
|
250
|
+
*
|
|
251
|
+
* // Please consider descriptive token prior to using brand token
|
|
252
|
+
*/
|
|
253
|
+
--ds-color-brand-breeze-200: #5de3f7;
|
|
254
|
+
/**
|
|
255
|
+
*
|
|
256
|
+
* // Please consider descriptive token prior to using brand token
|
|
257
|
+
*/
|
|
258
|
+
--ds-color-brand-breeze-300: #00cff0;
|
|
259
|
+
/**
|
|
260
|
+
*
|
|
261
|
+
* // Please consider descriptive token prior to using brand token
|
|
262
|
+
*/
|
|
263
|
+
--ds-color-brand-breeze-400: #099dc5;
|
|
264
|
+
/**
|
|
265
|
+
*
|
|
266
|
+
* // Please consider descriptive token prior to using brand token
|
|
267
|
+
*/
|
|
268
|
+
--ds-color-brand-breeze-500: #0b5575;
|
|
269
|
+
/**
|
|
270
|
+
*
|
|
271
|
+
* // Please consider descriptive token prior to using brand token
|
|
272
|
+
*/
|
|
273
|
+
--ds-color-brand-tropical-100: #e2ffcd;
|
|
274
|
+
/**
|
|
275
|
+
*
|
|
276
|
+
* // Please consider descriptive token prior to using brand token
|
|
277
|
+
*/
|
|
278
|
+
--ds-color-brand-tropical-200: #d0fba6;
|
|
279
|
+
/**
|
|
280
|
+
*
|
|
281
|
+
* // Please consider descriptive token prior to using brand token
|
|
282
|
+
*/
|
|
283
|
+
--ds-color-brand-tropical-300: #c0e585;
|
|
284
|
+
/**
|
|
285
|
+
*
|
|
286
|
+
* // Please consider descriptive token prior to using brand token
|
|
287
|
+
*/
|
|
288
|
+
--ds-color-brand-tropical-400: #91be62;
|
|
289
|
+
/**
|
|
290
|
+
*
|
|
291
|
+
* // Please consider descriptive token prior to using brand token
|
|
292
|
+
*/
|
|
293
|
+
--ds-color-brand-tropical-500: #5e8741;
|
|
294
|
+
/**
|
|
295
|
+
*
|
|
296
|
+
* // Please consider descriptive token prior to using brand token
|
|
297
|
+
*/
|
|
298
|
+
--ds-color-brand-alpine-100: #bcaae6;
|
|
299
|
+
/**
|
|
300
|
+
*
|
|
301
|
+
* // Please consider descriptive token prior to using brand token
|
|
302
|
+
*/
|
|
303
|
+
--ds-color-brand-alpine-200: #9e73ea;
|
|
304
|
+
/**
|
|
305
|
+
*
|
|
306
|
+
* // Please consider descriptive token prior to using brand token
|
|
307
|
+
*/
|
|
308
|
+
--ds-color-brand-alpine-300: #8439ef;
|
|
309
|
+
/**
|
|
310
|
+
*
|
|
311
|
+
* // Please consider descriptive token prior to using brand token
|
|
312
|
+
*/
|
|
313
|
+
--ds-color-brand-alpine-400: #631db8;
|
|
314
|
+
/**
|
|
315
|
+
*
|
|
316
|
+
* // Please consider descriptive token prior to using brand token
|
|
317
|
+
*/
|
|
318
|
+
--ds-color-brand-alpine-500: #39115c;
|
|
319
|
+
/**
|
|
320
|
+
*
|
|
321
|
+
* // Please consider descriptive token prior to using brand token
|
|
322
|
+
*/
|
|
323
|
+
--ds-color-brand-flamingo-100: #ffebee;
|
|
324
|
+
/**
|
|
325
|
+
*
|
|
326
|
+
* // Please consider descriptive token prior to using brand token
|
|
327
|
+
*/
|
|
328
|
+
--ds-color-brand-flamingo-200: #ffc0ca;
|
|
329
|
+
/**
|
|
330
|
+
*
|
|
331
|
+
* // Please consider descriptive token prior to using brand token
|
|
332
|
+
*/
|
|
333
|
+
--ds-color-brand-flamingo-300: #ff94a7;
|
|
334
|
+
/**
|
|
335
|
+
*
|
|
336
|
+
* // Please consider descriptive token prior to using brand token
|
|
337
|
+
*/
|
|
338
|
+
--ds-color-brand-flamingo-400: #f65b7b;
|
|
339
|
+
/**
|
|
340
|
+
*
|
|
341
|
+
* // Please consider descriptive token prior to using brand token
|
|
342
|
+
*/
|
|
343
|
+
--ds-color-brand-flamingo-500: #b82b47;
|
|
344
|
+
/**
|
|
345
|
+
*
|
|
346
|
+
* // Please consider descriptive token prior to using brand token
|
|
347
|
+
*/
|
|
348
|
+
--ds-color-brand-canyon-100: #ffcab6;
|
|
349
|
+
/**
|
|
350
|
+
*
|
|
351
|
+
* // Please consider descriptive token prior to using brand token
|
|
352
|
+
*/
|
|
353
|
+
--ds-color-brand-canyon-200: #f99574;
|
|
354
|
+
/**
|
|
355
|
+
*
|
|
356
|
+
* // Please consider descriptive token prior to using brand token
|
|
357
|
+
*/
|
|
358
|
+
--ds-color-brand-canyon-300: #f26135;
|
|
359
|
+
/**
|
|
360
|
+
*
|
|
361
|
+
* // Please consider descriptive token prior to using brand token
|
|
362
|
+
*/
|
|
363
|
+
--ds-color-brand-canyon-400: #de3e09;
|
|
364
|
+
/**
|
|
365
|
+
*
|
|
366
|
+
* // Please consider descriptive token prior to using brand token
|
|
367
|
+
*/
|
|
368
|
+
--ds-color-brand-canyon-500: #b83302;
|
|
369
|
+
/**
|
|
370
|
+
*
|
|
371
|
+
* // Please consider descriptive token prior to using brand token
|
|
372
|
+
*/
|
|
373
|
+
--ds-color-brand-goldcoast-100: #fff0cd;
|
|
374
|
+
/**
|
|
375
|
+
*
|
|
376
|
+
* // Please consider descriptive token prior to using brand token
|
|
377
|
+
*/
|
|
378
|
+
--ds-color-brand-goldcoast-200: #ffdb67;
|
|
379
|
+
/**
|
|
380
|
+
*
|
|
381
|
+
* // Please consider descriptive token prior to using brand token
|
|
382
|
+
*/
|
|
383
|
+
--ds-color-brand-goldcoast-300: #ffd200;
|
|
384
|
+
/**
|
|
385
|
+
*
|
|
386
|
+
* // Please consider descriptive token prior to using brand token
|
|
387
|
+
*/
|
|
388
|
+
--ds-color-brand-goldcoast-400: #e5ad07;
|
|
389
|
+
/**
|
|
390
|
+
*
|
|
391
|
+
* // Please consider descriptive token prior to using brand token
|
|
392
|
+
*/
|
|
393
|
+
--ds-color-brand-goldcoast-500: #b88624;
|
|
394
|
+
/**
|
|
395
|
+
*
|
|
396
|
+
* // Please consider descriptive token prior to using brand token
|
|
397
|
+
*/
|
|
398
|
+
--ds-color-brand-neutral-100: #f9fbfc;
|
|
399
|
+
/**
|
|
400
|
+
*
|
|
401
|
+
* // Please consider descriptive token prior to using brand token
|
|
402
|
+
*/
|
|
403
|
+
--ds-color-brand-neutral-200: #e2eaef;
|
|
404
|
+
/**
|
|
405
|
+
*
|
|
406
|
+
* // Please consider descriptive token prior to using brand token
|
|
407
|
+
*/
|
|
408
|
+
--ds-color-brand-neutral-300: #cbd8e2;
|
|
409
|
+
/**
|
|
410
|
+
*
|
|
411
|
+
* // Please consider descriptive token prior to using brand token
|
|
412
|
+
*/
|
|
413
|
+
--ds-color-brand-neutral-400: #9fabbb;
|
|
414
|
+
/**
|
|
415
|
+
*
|
|
416
|
+
* // Please consider descriptive token prior to using brand token
|
|
417
|
+
*/
|
|
418
|
+
--ds-color-brand-neutral-500: #626b79;
|
|
274
419
|
--ds-color-brand-gray-100: #f8f8f8;
|
|
275
420
|
--ds-color-brand-gray-200: #dbdbdb;
|
|
276
421
|
--ds-color-brand-gray-300: #b2b2b2;
|
|
@@ -312,6 +457,10 @@
|
|
|
312
457
|
--ds-color-ui-hover-default: #054687;
|
|
313
458
|
--ds-color-ui-hover-inverse: #5de3f7;
|
|
314
459
|
--ds-color-ui-active-default: #054687;
|
|
460
|
+
--ds-color-ui-active-inverse: #5de3f7;
|
|
315
461
|
--ds-color-ui-disabled-default: rgba(0, 116, 200, 0.2);
|
|
462
|
+
--ds-color-ui-bkg-default-default: rgba(0, 0, 0, 0.03);
|
|
463
|
+
--ds-color-ui-bkg-default-inverse: rgba(255, 255, 255, 0.03);
|
|
316
464
|
--ds-color-ui-bkg-hover-default: rgba(0, 0, 0, 0.06);
|
|
465
|
+
--ds-color-ui-bkg-hover-inverse: rgba(255, 255, 255, 0.06);
|
|
317
466
|
}
|