@aurodesignsystem/design-tokens 4.1.1 → 4.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.
- package/CHANGELOG.md +8 -0
- package/README.md +17 -0
- package/dist/tokens/CSSCustomProperties.css +239 -95
- package/dist/tokens/CSSSizeCustomProperties.css +1 -1
- package/dist/tokens/JSData--color.js +88 -1
- package/dist/tokens/JSObject--allTokens.js +88 -1
- package/dist/tokens/JSObject--deprecated.js +1 -1
- package/dist/tokens/JSVariables--color.js +4 -1
- package/dist/tokens/SCSSVariableMap.scss +1 -1
- package/dist/tokens/SCSSVariables.scss +145 -95
- package/dist/tokens/SCSSVariablesMapFlat.scss +6 -1
- package/dist/tokens/SassCustomProperties.scss +239 -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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Semantic Release Automated Changelog
|
|
2
2
|
|
|
3
|
+
# [4.2.0](https://github.com/AlaskaAirlines/AuroDesignTokens/compare/v4.1.1...v4.2.0) (2023-11-07)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **base:** add new white tokens with different opacities ([b5a11d6](https://github.com/AlaskaAirlines/AuroDesignTokens/commit/b5a11d68a0c73b825d181f01172ecc62d3d71eec))
|
|
9
|
+
* **gradient:** add new gradient token for white backgrounds [#135](https://github.com/AlaskaAirlines/AuroDesignTokens/issues/135) ([f6e99a4](https://github.com/AlaskaAirlines/AuroDesignTokens/commit/f6e99a4f4806b83175e31e3c8d0f16cc33b85b7e))
|
|
10
|
+
|
|
3
11
|
## [4.1.1](https://github.com/AlaskaAirlines/AuroDesignTokens/compare/v4.1.0...v4.1.1) (2023-09-15)
|
|
4
12
|
|
|
5
13
|
|
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
|
|
3
|
+
* Generated on Tue, 07 Nov 2023 23:11:08 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;
|
|
@@ -181,96 +190,231 @@
|
|
|
181
190
|
--ds-color-border-focus-default: #222222;
|
|
182
191
|
--ds-color-border-divider-default: rgba(0, 0, 0, 0.15);
|
|
183
192
|
--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
|
-
|
|
193
|
+
/**
|
|
194
|
+
*
|
|
195
|
+
* // Please consider descriptive token prior to using brand token
|
|
196
|
+
*/
|
|
197
|
+
--ds-color-brand-midnight-100: #c1daf0;
|
|
198
|
+
/**
|
|
199
|
+
*
|
|
200
|
+
* // Please consider descriptive token prior to using brand token
|
|
201
|
+
*/
|
|
202
|
+
--ds-color-brand-midnight-200: #569ed7;
|
|
203
|
+
/**
|
|
204
|
+
*
|
|
205
|
+
* // Please consider descriptive token prior to using brand token
|
|
206
|
+
*/
|
|
207
|
+
--ds-color-brand-midnight-300: #156fad;
|
|
208
|
+
/**
|
|
209
|
+
*
|
|
210
|
+
* // Please consider descriptive token prior to using brand token
|
|
211
|
+
*/
|
|
212
|
+
--ds-color-brand-midnight-400: #01426a;
|
|
213
|
+
/**
|
|
214
|
+
*
|
|
215
|
+
* // Please consider descriptive token prior to using brand token
|
|
216
|
+
*/
|
|
217
|
+
--ds-color-brand-midnight-500: #00274a;
|
|
218
|
+
/**
|
|
219
|
+
*
|
|
220
|
+
* // Please consider descriptive token prior to using brand token
|
|
221
|
+
*/
|
|
222
|
+
--ds-color-brand-atlas-100: #cde6ff;
|
|
223
|
+
/**
|
|
224
|
+
*
|
|
225
|
+
* // Please consider descriptive token prior to using brand token
|
|
226
|
+
*/
|
|
227
|
+
--ds-color-brand-atlas-200: #6bb7fb;
|
|
228
|
+
/**
|
|
229
|
+
*
|
|
230
|
+
* // Please consider descriptive token prior to using brand token
|
|
231
|
+
*/
|
|
232
|
+
--ds-color-brand-atlas-300: #2492eb;
|
|
233
|
+
/**
|
|
234
|
+
*
|
|
235
|
+
* // Please consider descriptive token prior to using brand token
|
|
236
|
+
*/
|
|
237
|
+
--ds-color-brand-atlas-400: #0074c8;
|
|
238
|
+
/**
|
|
239
|
+
*
|
|
240
|
+
* // Please consider descriptive token prior to using brand token
|
|
241
|
+
*/
|
|
242
|
+
--ds-color-brand-atlas-500: #054687;
|
|
243
|
+
/**
|
|
244
|
+
*
|
|
245
|
+
* // Please consider descriptive token prior to using brand token
|
|
246
|
+
*/
|
|
247
|
+
--ds-color-brand-breeze-100: #c0f7ff;
|
|
248
|
+
/**
|
|
249
|
+
*
|
|
250
|
+
* // Please consider descriptive token prior to using brand token
|
|
251
|
+
*/
|
|
252
|
+
--ds-color-brand-breeze-200: #5de3f7;
|
|
253
|
+
/**
|
|
254
|
+
*
|
|
255
|
+
* // Please consider descriptive token prior to using brand token
|
|
256
|
+
*/
|
|
257
|
+
--ds-color-brand-breeze-300: #00cff0;
|
|
258
|
+
/**
|
|
259
|
+
*
|
|
260
|
+
* // Please consider descriptive token prior to using brand token
|
|
261
|
+
*/
|
|
262
|
+
--ds-color-brand-breeze-400: #099dc5;
|
|
263
|
+
/**
|
|
264
|
+
*
|
|
265
|
+
* // Please consider descriptive token prior to using brand token
|
|
266
|
+
*/
|
|
267
|
+
--ds-color-brand-breeze-500: #0b5575;
|
|
268
|
+
/**
|
|
269
|
+
*
|
|
270
|
+
* // Please consider descriptive token prior to using brand token
|
|
271
|
+
*/
|
|
272
|
+
--ds-color-brand-tropical-100: #e2ffcd;
|
|
273
|
+
/**
|
|
274
|
+
*
|
|
275
|
+
* // Please consider descriptive token prior to using brand token
|
|
276
|
+
*/
|
|
277
|
+
--ds-color-brand-tropical-200: #d0fba6;
|
|
278
|
+
/**
|
|
279
|
+
*
|
|
280
|
+
* // Please consider descriptive token prior to using brand token
|
|
281
|
+
*/
|
|
282
|
+
--ds-color-brand-tropical-300: #c0e585;
|
|
283
|
+
/**
|
|
284
|
+
*
|
|
285
|
+
* // Please consider descriptive token prior to using brand token
|
|
286
|
+
*/
|
|
287
|
+
--ds-color-brand-tropical-400: #91be62;
|
|
288
|
+
/**
|
|
289
|
+
*
|
|
290
|
+
* // Please consider descriptive token prior to using brand token
|
|
291
|
+
*/
|
|
292
|
+
--ds-color-brand-tropical-500: #5e8741;
|
|
293
|
+
/**
|
|
294
|
+
*
|
|
295
|
+
* // Please consider descriptive token prior to using brand token
|
|
296
|
+
*/
|
|
297
|
+
--ds-color-brand-alpine-100: #bcaae6;
|
|
298
|
+
/**
|
|
299
|
+
*
|
|
300
|
+
* // Please consider descriptive token prior to using brand token
|
|
301
|
+
*/
|
|
302
|
+
--ds-color-brand-alpine-200: #9e73ea;
|
|
303
|
+
/**
|
|
304
|
+
*
|
|
305
|
+
* // Please consider descriptive token prior to using brand token
|
|
306
|
+
*/
|
|
307
|
+
--ds-color-brand-alpine-300: #8439ef;
|
|
308
|
+
/**
|
|
309
|
+
*
|
|
310
|
+
* // Please consider descriptive token prior to using brand token
|
|
311
|
+
*/
|
|
312
|
+
--ds-color-brand-alpine-400: #631db8;
|
|
313
|
+
/**
|
|
314
|
+
*
|
|
315
|
+
* // Please consider descriptive token prior to using brand token
|
|
316
|
+
*/
|
|
317
|
+
--ds-color-brand-alpine-500: #39115c;
|
|
318
|
+
/**
|
|
319
|
+
*
|
|
320
|
+
* // Please consider descriptive token prior to using brand token
|
|
321
|
+
*/
|
|
322
|
+
--ds-color-brand-flamingo-100: #ffebee;
|
|
323
|
+
/**
|
|
324
|
+
*
|
|
325
|
+
* // Please consider descriptive token prior to using brand token
|
|
326
|
+
*/
|
|
327
|
+
--ds-color-brand-flamingo-200: #ffc0ca;
|
|
328
|
+
/**
|
|
329
|
+
*
|
|
330
|
+
* // Please consider descriptive token prior to using brand token
|
|
331
|
+
*/
|
|
332
|
+
--ds-color-brand-flamingo-300: #ff94a7;
|
|
333
|
+
/**
|
|
334
|
+
*
|
|
335
|
+
* // Please consider descriptive token prior to using brand token
|
|
336
|
+
*/
|
|
337
|
+
--ds-color-brand-flamingo-400: #f65b7b;
|
|
338
|
+
/**
|
|
339
|
+
*
|
|
340
|
+
* // Please consider descriptive token prior to using brand token
|
|
341
|
+
*/
|
|
342
|
+
--ds-color-brand-flamingo-500: #b82b47;
|
|
343
|
+
/**
|
|
344
|
+
*
|
|
345
|
+
* // Please consider descriptive token prior to using brand token
|
|
346
|
+
*/
|
|
347
|
+
--ds-color-brand-canyon-100: #ffcab6;
|
|
348
|
+
/**
|
|
349
|
+
*
|
|
350
|
+
* // Please consider descriptive token prior to using brand token
|
|
351
|
+
*/
|
|
352
|
+
--ds-color-brand-canyon-200: #f99574;
|
|
353
|
+
/**
|
|
354
|
+
*
|
|
355
|
+
* // Please consider descriptive token prior to using brand token
|
|
356
|
+
*/
|
|
357
|
+
--ds-color-brand-canyon-300: #f26135;
|
|
358
|
+
/**
|
|
359
|
+
*
|
|
360
|
+
* // Please consider descriptive token prior to using brand token
|
|
361
|
+
*/
|
|
362
|
+
--ds-color-brand-canyon-400: #de3e09;
|
|
363
|
+
/**
|
|
364
|
+
*
|
|
365
|
+
* // Please consider descriptive token prior to using brand token
|
|
366
|
+
*/
|
|
367
|
+
--ds-color-brand-canyon-500: #b83302;
|
|
368
|
+
/**
|
|
369
|
+
*
|
|
370
|
+
* // Please consider descriptive token prior to using brand token
|
|
371
|
+
*/
|
|
372
|
+
--ds-color-brand-goldcoast-100: #fff0cd;
|
|
373
|
+
/**
|
|
374
|
+
*
|
|
375
|
+
* // Please consider descriptive token prior to using brand token
|
|
376
|
+
*/
|
|
377
|
+
--ds-color-brand-goldcoast-200: #ffdb67;
|
|
378
|
+
/**
|
|
379
|
+
*
|
|
380
|
+
* // Please consider descriptive token prior to using brand token
|
|
381
|
+
*/
|
|
382
|
+
--ds-color-brand-goldcoast-300: #ffd200;
|
|
383
|
+
/**
|
|
384
|
+
*
|
|
385
|
+
* // Please consider descriptive token prior to using brand token
|
|
386
|
+
*/
|
|
387
|
+
--ds-color-brand-goldcoast-400: #e5ad07;
|
|
388
|
+
/**
|
|
389
|
+
*
|
|
390
|
+
* // Please consider descriptive token prior to using brand token
|
|
391
|
+
*/
|
|
392
|
+
--ds-color-brand-goldcoast-500: #b88624;
|
|
393
|
+
/**
|
|
394
|
+
*
|
|
395
|
+
* // Please consider descriptive token prior to using brand token
|
|
396
|
+
*/
|
|
397
|
+
--ds-color-brand-neutral-100: #f9fbfc;
|
|
398
|
+
/**
|
|
399
|
+
*
|
|
400
|
+
* // Please consider descriptive token prior to using brand token
|
|
401
|
+
*/
|
|
402
|
+
--ds-color-brand-neutral-200: #e2eaef;
|
|
403
|
+
/**
|
|
404
|
+
*
|
|
405
|
+
* // Please consider descriptive token prior to using brand token
|
|
406
|
+
*/
|
|
407
|
+
--ds-color-brand-neutral-300: #cbd8e2;
|
|
408
|
+
/**
|
|
409
|
+
*
|
|
410
|
+
* // Please consider descriptive token prior to using brand token
|
|
411
|
+
*/
|
|
412
|
+
--ds-color-brand-neutral-400: #9fabbb;
|
|
413
|
+
/**
|
|
414
|
+
*
|
|
415
|
+
* // Please consider descriptive token prior to using brand token
|
|
416
|
+
*/
|
|
417
|
+
--ds-color-brand-neutral-500: #626b79;
|
|
274
418
|
--ds-color-brand-gray-100: #f8f8f8;
|
|
275
419
|
--ds-color-brand-gray-200: #dbdbdb;
|
|
276
420
|
--ds-color-brand-gray-300: #b2b2b2;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Tue, 07 Nov 2023 23:11:08 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
module.exports = {
|
|
@@ -354,6 +354,39 @@ module.exports = {
|
|
|
354
354
|
"background",
|
|
355
355
|
"darkest"
|
|
356
356
|
]
|
|
357
|
+
},
|
|
358
|
+
"gradient": {
|
|
359
|
+
"default": {
|
|
360
|
+
"value": "linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5))",
|
|
361
|
+
"public": true,
|
|
362
|
+
"neutral": true,
|
|
363
|
+
"usage": "Used for creating a gradient against all backgrounds",
|
|
364
|
+
"wcag": "n/a",
|
|
365
|
+
"deprecated": false,
|
|
366
|
+
"filePath": "./src/color/background.json",
|
|
367
|
+
"isSource": true,
|
|
368
|
+
"original": {
|
|
369
|
+
"value": "linear-gradient(180deg, {color.base.white-opacity-0}, {color.base.white-opacity-50})",
|
|
370
|
+
"public": true,
|
|
371
|
+
"neutral": true,
|
|
372
|
+
"usage": "Used for creating a gradient against all backgrounds",
|
|
373
|
+
"wcag": "n/a",
|
|
374
|
+
"deprecated": false
|
|
375
|
+
},
|
|
376
|
+
"name": "ds-color-background-gradient-default",
|
|
377
|
+
"attributes": {
|
|
378
|
+
"category": "color",
|
|
379
|
+
"type": "background",
|
|
380
|
+
"item": "gradient",
|
|
381
|
+
"subitem": "default"
|
|
382
|
+
},
|
|
383
|
+
"path": [
|
|
384
|
+
"color",
|
|
385
|
+
"background",
|
|
386
|
+
"gradient",
|
|
387
|
+
"default"
|
|
388
|
+
]
|
|
389
|
+
}
|
|
357
390
|
}
|
|
358
391
|
},
|
|
359
392
|
"base": {
|
|
@@ -382,6 +415,33 @@ module.exports = {
|
|
|
382
415
|
"white"
|
|
383
416
|
]
|
|
384
417
|
},
|
|
418
|
+
"white-opacity-50": {
|
|
419
|
+
"value": "rgba(255, 255, 255, 0.5)",
|
|
420
|
+
"comment": "white @ 50%",
|
|
421
|
+
"public": true,
|
|
422
|
+
"opacity": true,
|
|
423
|
+
"deprecated": false,
|
|
424
|
+
"filePath": "./src/color/base.json",
|
|
425
|
+
"isSource": true,
|
|
426
|
+
"original": {
|
|
427
|
+
"value": "ffffff80",
|
|
428
|
+
"comment": "white @ 50%",
|
|
429
|
+
"public": true,
|
|
430
|
+
"opacity": true,
|
|
431
|
+
"deprecated": false
|
|
432
|
+
},
|
|
433
|
+
"name": "ds-color-base-white-opacity-50",
|
|
434
|
+
"attributes": {
|
|
435
|
+
"category": "color",
|
|
436
|
+
"type": "base",
|
|
437
|
+
"item": "white-opacity-50"
|
|
438
|
+
},
|
|
439
|
+
"path": [
|
|
440
|
+
"color",
|
|
441
|
+
"base",
|
|
442
|
+
"white-opacity-50"
|
|
443
|
+
]
|
|
444
|
+
},
|
|
385
445
|
"white-opacity-40": {
|
|
386
446
|
"value": "rgba(255, 255, 255, 0.4)",
|
|
387
447
|
"comment": "white @ 40%",
|
|
@@ -409,6 +469,33 @@ module.exports = {
|
|
|
409
469
|
"white-opacity-40"
|
|
410
470
|
]
|
|
411
471
|
},
|
|
472
|
+
"white-opacity-0": {
|
|
473
|
+
"value": "rgba(255, 255, 255, 0)",
|
|
474
|
+
"comment": "white @ 0%",
|
|
475
|
+
"public": true,
|
|
476
|
+
"opacity": true,
|
|
477
|
+
"deprecated": false,
|
|
478
|
+
"filePath": "./src/color/base.json",
|
|
479
|
+
"isSource": true,
|
|
480
|
+
"original": {
|
|
481
|
+
"value": "ffffff00",
|
|
482
|
+
"comment": "white @ 0%",
|
|
483
|
+
"public": true,
|
|
484
|
+
"opacity": true,
|
|
485
|
+
"deprecated": false
|
|
486
|
+
},
|
|
487
|
+
"name": "ds-color-base-white-opacity-0",
|
|
488
|
+
"attributes": {
|
|
489
|
+
"category": "color",
|
|
490
|
+
"type": "base",
|
|
491
|
+
"item": "white-opacity-0"
|
|
492
|
+
},
|
|
493
|
+
"path": [
|
|
494
|
+
"color",
|
|
495
|
+
"base",
|
|
496
|
+
"white-opacity-0"
|
|
497
|
+
]
|
|
498
|
+
},
|
|
412
499
|
"black": {
|
|
413
500
|
"value": "#000000",
|
|
414
501
|
"comment": "\n // Base value for token support; should not use in code!",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Tue, 07 Nov 2023 23:11:09 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
module.exports = {
|
|
@@ -4187,6 +4187,39 @@ module.exports = {
|
|
|
4187
4187
|
"background",
|
|
4188
4188
|
"darkest"
|
|
4189
4189
|
]
|
|
4190
|
+
},
|
|
4191
|
+
"gradient": {
|
|
4192
|
+
"default": {
|
|
4193
|
+
"value": "linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5))",
|
|
4194
|
+
"public": true,
|
|
4195
|
+
"neutral": true,
|
|
4196
|
+
"usage": "Used for creating a gradient against all backgrounds",
|
|
4197
|
+
"wcag": "n/a",
|
|
4198
|
+
"deprecated": false,
|
|
4199
|
+
"filePath": "./src/color/background.json",
|
|
4200
|
+
"isSource": true,
|
|
4201
|
+
"original": {
|
|
4202
|
+
"value": "linear-gradient(180deg, {color.base.white-opacity-0}, {color.base.white-opacity-50})",
|
|
4203
|
+
"public": true,
|
|
4204
|
+
"neutral": true,
|
|
4205
|
+
"usage": "Used for creating a gradient against all backgrounds",
|
|
4206
|
+
"wcag": "n/a",
|
|
4207
|
+
"deprecated": false
|
|
4208
|
+
},
|
|
4209
|
+
"name": "ds-color-background-gradient-default",
|
|
4210
|
+
"attributes": {
|
|
4211
|
+
"category": "color",
|
|
4212
|
+
"type": "background",
|
|
4213
|
+
"item": "gradient",
|
|
4214
|
+
"subitem": "default"
|
|
4215
|
+
},
|
|
4216
|
+
"path": [
|
|
4217
|
+
"color",
|
|
4218
|
+
"background",
|
|
4219
|
+
"gradient",
|
|
4220
|
+
"default"
|
|
4221
|
+
]
|
|
4222
|
+
}
|
|
4190
4223
|
}
|
|
4191
4224
|
},
|
|
4192
4225
|
"base": {
|
|
@@ -4215,6 +4248,33 @@ module.exports = {
|
|
|
4215
4248
|
"white"
|
|
4216
4249
|
]
|
|
4217
4250
|
},
|
|
4251
|
+
"white-opacity-50": {
|
|
4252
|
+
"value": "rgba(255, 255, 255, 0.5)",
|
|
4253
|
+
"comment": "white @ 50%",
|
|
4254
|
+
"public": true,
|
|
4255
|
+
"opacity": true,
|
|
4256
|
+
"deprecated": false,
|
|
4257
|
+
"filePath": "./src/color/base.json",
|
|
4258
|
+
"isSource": true,
|
|
4259
|
+
"original": {
|
|
4260
|
+
"value": "ffffff80",
|
|
4261
|
+
"comment": "white @ 50%",
|
|
4262
|
+
"public": true,
|
|
4263
|
+
"opacity": true,
|
|
4264
|
+
"deprecated": false
|
|
4265
|
+
},
|
|
4266
|
+
"name": "ds-color-base-white-opacity-50",
|
|
4267
|
+
"attributes": {
|
|
4268
|
+
"category": "color",
|
|
4269
|
+
"type": "base",
|
|
4270
|
+
"item": "white-opacity-50"
|
|
4271
|
+
},
|
|
4272
|
+
"path": [
|
|
4273
|
+
"color",
|
|
4274
|
+
"base",
|
|
4275
|
+
"white-opacity-50"
|
|
4276
|
+
]
|
|
4277
|
+
},
|
|
4218
4278
|
"white-opacity-40": {
|
|
4219
4279
|
"value": "rgba(255, 255, 255, 0.4)",
|
|
4220
4280
|
"comment": "white @ 40%",
|
|
@@ -4242,6 +4302,33 @@ module.exports = {
|
|
|
4242
4302
|
"white-opacity-40"
|
|
4243
4303
|
]
|
|
4244
4304
|
},
|
|
4305
|
+
"white-opacity-0": {
|
|
4306
|
+
"value": "rgba(255, 255, 255, 0)",
|
|
4307
|
+
"comment": "white @ 0%",
|
|
4308
|
+
"public": true,
|
|
4309
|
+
"opacity": true,
|
|
4310
|
+
"deprecated": false,
|
|
4311
|
+
"filePath": "./src/color/base.json",
|
|
4312
|
+
"isSource": true,
|
|
4313
|
+
"original": {
|
|
4314
|
+
"value": "ffffff00",
|
|
4315
|
+
"comment": "white @ 0%",
|
|
4316
|
+
"public": true,
|
|
4317
|
+
"opacity": true,
|
|
4318
|
+
"deprecated": false
|
|
4319
|
+
},
|
|
4320
|
+
"name": "ds-color-base-white-opacity-0",
|
|
4321
|
+
"attributes": {
|
|
4322
|
+
"category": "color",
|
|
4323
|
+
"type": "base",
|
|
4324
|
+
"item": "white-opacity-0"
|
|
4325
|
+
},
|
|
4326
|
+
"path": [
|
|
4327
|
+
"color",
|
|
4328
|
+
"base",
|
|
4329
|
+
"white-opacity-0"
|
|
4330
|
+
]
|
|
4331
|
+
},
|
|
4245
4332
|
"black": {
|
|
4246
4333
|
"value": "#000000",
|
|
4247
4334
|
"comment": "\n // Base value for token support; should not use in code!",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Tue, 07 Nov 2023 23:11:09 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
export const DsColorAlertNotificationDefault = "#0074c8";
|
|
@@ -14,9 +14,12 @@ export const DsColorBackgroundLightest = "#ffffff";
|
|
|
14
14
|
export const DsColorBackgroundLighter = "#f8f8f8";
|
|
15
15
|
export const DsColorBackgroundDarker = "#01426a";
|
|
16
16
|
export const DsColorBackgroundDarkest = "#00274a";
|
|
17
|
+
export const DsColorBackgroundGradientDefault = "linear-gradient(180deg, #ffffff, #ffffff)";
|
|
17
18
|
export const DsColorBaseWhite = "#ffffff"; //
|
|
18
19
|
// Base value for token support; should not use in code!
|
|
20
|
+
export const DsColorBaseWhiteOpacity50 = "#ffffff"; // white @ 50%
|
|
19
21
|
export const DsColorBaseWhiteOpacity40 = "#ffffff"; // white @ 40%
|
|
22
|
+
export const DsColorBaseWhiteOpacity0 = "#ffffff"; // white @ 0%
|
|
20
23
|
export const DsColorBaseBlack = "#000000"; //
|
|
21
24
|
// Base value for token support; should not use in code!
|
|
22
25
|
export const DsColorBaseBlackOpacity15 = "#000000"; // black @ 15%
|