@momentum-design/tokens 0.2.7 → 0.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/dist/css/components/complete.css +994 -0
- package/dist/css/core/complete.css +1 -1
- package/dist/css/effect/complete.css +8 -0
- package/dist/css/elevation/complete.css +11 -0
- package/dist/css/theme/aaos/day-complete.css +1 -1
- package/dist/css/theme/aaos/night-complete.css +1 -1
- package/dist/css/theme/webex/dark-stable.css +11 -1
- package/dist/css/theme/webex/hc-dark-stable.css +12 -1
- package/dist/css/theme/webex/hc-light-stable.css +12 -1
- package/dist/css/theme/webex/light-stable.css +12 -1
- package/dist/css/typography/complete.css +1 -1
- package/dist/ios/core/complete.swift +1 -1
- package/dist/ios/effect/complete.swift +14 -0
- package/dist/ios/elevation/complete.swift +17 -0
- package/dist/ios/theme/aaos/day-complete.swift +1 -1
- package/dist/ios/theme/aaos/night-complete.swift +1 -1
- package/dist/ios/theme/webex/dark-stable.swift +11 -1
- package/dist/ios/theme/webex/hc-dark-stable.swift +12 -1
- package/dist/ios/theme/webex/hc-light-stable.swift +12 -1
- package/dist/ios/theme/webex/light-stable.swift +12 -1
- package/dist/ios/typography/complete.swift +1 -1
- package/dist/ios-webex/effect/complete.swift +11 -0
- package/dist/ios-webex/theme/webex/dark-stable.swift +16 -0
- package/dist/ios-webex/theme/webex/hc-dark-stable.swift +11 -0
- package/dist/ios-webex/theme/webex/hc-light-stable.swift +33 -0
- package/dist/ios-webex/theme/webex/light-stable.swift +51 -0
- package/dist/json/effect/complete.json +21 -0
- package/dist/json/elevation/complete.json +108 -0
- package/dist/json/theme/webex/dark-stable.json +291 -0
- package/dist/json/theme/webex/hc-dark-stable.json +315 -0
- package/dist/json/theme/webex/hc-light-stable.json +319 -0
- package/dist/json/theme/webex/light-stable.json +319 -0
- package/dist/json-minimal/effect/complete.json +3 -0
- package/dist/json-minimal/elevation/complete.json +8 -0
- package/dist/json-minimal/theme/webex/dark-stable.json +23 -1
- package/dist/json-minimal/theme/webex/hc-dark-stable.json +26 -1
- package/dist/json-minimal/theme/webex/hc-light-stable.json +26 -1
- package/dist/json-minimal/theme/webex/light-stable.json +26 -1
- package/dist/resources/core/complete.xml +1 -1
- package/dist/resources/effect/complete.xml +10 -0
- package/dist/resources/elevation/complete.xml +13 -0
- package/dist/resources/theme/aaos/day-complete.xml +1 -1
- package/dist/resources/theme/aaos/night-complete.xml +1 -1
- package/dist/resources/theme/webex/dark-stable.xml +11 -1
- package/dist/resources/theme/webex/hc-dark-stable.xml +12 -1
- package/dist/resources/theme/webex/hc-light-stable.xml +12 -1
- package/dist/resources/theme/webex/light-stable.xml +12 -1
- package/dist/resources/typography/complete.xml +1 -1
- package/dist/scss/core/complete.scss +1 -1
- package/dist/scss/effect/complete.scss +5 -0
- package/dist/scss/elevation/complete.scss +8 -0
- package/dist/scss/theme/aaos/day-complete.scss +1 -1
- package/dist/scss/theme/aaos/night-complete.scss +1 -1
- package/dist/scss/theme/webex/dark-stable.scss +11 -1
- package/dist/scss/theme/webex/hc-dark-stable.scss +12 -1
- package/dist/scss/theme/webex/hc-light-stable.scss +12 -1
- package/dist/scss/theme/webex/light-stable.scss +12 -1
- package/dist/scss/typography/complete.scss +1 -1
- package/package.json +8 -5
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
<!--
|
|
4
4
|
Do not edit directly
|
|
5
|
-
Generated on
|
|
5
|
+
Generated on Thu, 12 Dec 2024 13:30:39 GMT
|
|
6
6
|
-->
|
|
7
7
|
<resources>
|
|
8
8
|
<color name="mds-color-theme-text-primary-normal">#fffffff2</color>
|
|
@@ -161,6 +161,9 @@
|
|
|
161
161
|
<color name="mds-color-theme-background-gradient-secondary-normal">linear-gradient(180deg, #262626 0%, #0f0f0f 100%)</color>
|
|
162
162
|
<color name="mds-color-theme-background-reaction-normal">linear-gradient(90deg, #1a1a1ae6 0%, #1a1a1a00 100%)</color>
|
|
163
163
|
<color name="mds-color-theme-background-skeleton-normal">linear-gradient(123deg, #ffffff33 0%, #ffffff4d 33.85%, #ffffff66 70.31%, #ffffff80 100%)</color>
|
|
164
|
+
<color name="mds-color-theme-background-glass-normal">#00000099</color>
|
|
165
|
+
<color name="mds-color-theme-background-glass-overlay-normal">#00000099</color>
|
|
166
|
+
<color name="mds-color-theme-background-glass-overlay-inactive">#00000066</color>
|
|
164
167
|
<color name="mds-color-theme-button-primary-normal">#fffffff2</color>
|
|
165
168
|
<color name="mds-color-theme-button-primary-hover">#ffffffcc</color>
|
|
166
169
|
<color name="mds-color-theme-button-primary-pressed">#ffffffb3</color>
|
|
@@ -182,6 +185,9 @@
|
|
|
182
185
|
<color name="mds-color-theme-button-accent-normal">#1170cf</color>
|
|
183
186
|
<color name="mds-color-theme-button-accent-hover">#0353a8</color>
|
|
184
187
|
<color name="mds-color-theme-button-accent-pressed">#063a75</color>
|
|
188
|
+
<color name="mds-color-theme-button-glass-primary-normal">#ffffffcc</color>
|
|
189
|
+
<color name="mds-color-theme-button-glass-primary-hover">#ffffffb3</color>
|
|
190
|
+
<color name="mds-color-theme-button-glass-primary-pressed">#ffffff99</color>
|
|
185
191
|
<color name="mds-color-theme-outline-primary-normal">#ffffff66</color>
|
|
186
192
|
<color name="mds-color-theme-outline-primary-disabled">#ffffff33</color>
|
|
187
193
|
<color name="mds-color-theme-outline-theme-normal">#64b4fa</color>
|
|
@@ -366,6 +372,8 @@
|
|
|
366
372
|
<color name="mds-color-theme-gradientdivider-orange-hover">linear-gradient(90deg, #fd884e00 0%,#fd884eE6 22.4%, #fd884eE6 76.04%, #fd884e00 100%)</color>
|
|
367
373
|
<color name="mds-color-theme-gradientdivider-purple-normal">linear-gradient(90deg, #f294f100 0%, #f294f199 22.4%, #f294f199 76.04%, #f294f100 100%)</color>
|
|
368
374
|
<color name="mds-color-theme-gradientdivider-purple-hover">linear-gradient(90deg, #f294f100 0%, #f294f1E6 22.4%, #f294f1E6 76.04%, #f294f100 100%)</color>
|
|
375
|
+
<color name="mds-color-theme-gradientdivider-vertical-normal">linear-gradient(0deg, #ffffff00 0%, #ffffff33 22.4%, #ffffff33 72.4%, #ffffff00 100%)</color>
|
|
376
|
+
<color name="mds-color-theme-gradientdivider-vertical-hover">linear-gradient(0deg, #ffffff00 0%, #ffffff99 22.4%, #ffffff99 72.4%, #ffffff00 100%)</color>
|
|
369
377
|
<color name="mds-color-theme-avatar-default">#545454</color>
|
|
370
378
|
<color name="mds-color-theme-avatar-hover">#ffffff12</color>
|
|
371
379
|
<color name="mds-color-theme-avatar-pressed">#ffffff33</color>
|
|
@@ -380,6 +388,8 @@
|
|
|
380
388
|
<color name="mds-color-theme-avatar-slate">#535573</color>
|
|
381
389
|
<color name="mds-color-theme-avatar-violet">#643abd</color>
|
|
382
390
|
<color name="mds-color-theme-avatar-yellow">#7d4705</color>
|
|
391
|
+
<color name="mds-color-theme-avatar-glass-normal">#ffffff12</color>
|
|
392
|
+
<color name="mds-color-theme-avatar-glass-active">#ffffffcc</color>
|
|
383
393
|
<color name="mds-color-theme-focus-default-0">#000000</color>
|
|
384
394
|
<color name="mds-color-theme-focus-default-1">#64b4fa</color>
|
|
385
395
|
<color name="mds-color-theme-focus-default-2">#64b4fa59</color>
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
<!--
|
|
4
4
|
Do not edit directly
|
|
5
|
-
Generated on
|
|
5
|
+
Generated on Thu, 12 Dec 2024 13:30:39 GMT
|
|
6
6
|
-->
|
|
7
7
|
<resources>
|
|
8
8
|
<color name="mds-color-theme-text-primary-normal">#ffffff</color>
|
|
@@ -161,6 +161,9 @@
|
|
|
161
161
|
<color name="mds-color-theme-background-gradient-secondary-normal">#000000</color>
|
|
162
162
|
<color name="mds-color-theme-background-gradient-primary-normal">#000000</color>
|
|
163
163
|
<color name="mds-color-theme-background-skeleton-normal">#000000</color>
|
|
164
|
+
<color name="mds-color-theme-background-glass-normal">#000000</color>
|
|
165
|
+
<color name="mds-color-theme-background-glass-overlay-normal">#ffff00</color>
|
|
166
|
+
<color name="mds-color-theme-background-glass-overlay-inactive">#000000</color>
|
|
164
167
|
<color name="mds-color-theme-button-primary-normal">#000000</color>
|
|
165
168
|
<color name="mds-color-theme-button-primary-hover">#1aebff</color>
|
|
166
169
|
<color name="mds-color-theme-button-primary-pressed">#1aebff</color>
|
|
@@ -181,6 +184,9 @@
|
|
|
181
184
|
<color name="mds-color-theme-button-accent-normal">#000000</color>
|
|
182
185
|
<color name="mds-color-theme-button-accent-hover">#1aebff</color>
|
|
183
186
|
<color name="mds-color-theme-button-accent-pressed">#1aebff</color>
|
|
187
|
+
<color name="mds-color-theme-button-glass-primary-normal">#000000</color>
|
|
188
|
+
<color name="mds-color-theme-button-glass-primary-hover">#1aebff</color>
|
|
189
|
+
<color name="mds-color-theme-button-glass-primary-pressed">#1aebff</color>
|
|
184
190
|
<color name="mds-color-theme-outline-primary-normal">#ffffff</color>
|
|
185
191
|
<color name="mds-color-theme-outline-primary-disabled">#3ff23f</color>
|
|
186
192
|
<color name="mds-color-theme-outline-theme-normal">#ffffff</color>
|
|
@@ -281,6 +287,8 @@
|
|
|
281
287
|
<color name="mds-color-theme-gradientdivider-orange-hover">#ffffff</color>
|
|
282
288
|
<color name="mds-color-theme-gradientdivider-purple-normal">#ffffff</color>
|
|
283
289
|
<color name="mds-color-theme-gradientdivider-purple-hover">#ffffff</color>
|
|
290
|
+
<color name="mds-color-theme-gradientdivider-vertical-normal">#ffffff</color>
|
|
291
|
+
<color name="mds-color-theme-gradientdivider-vertical-hover">#ffffff</color>
|
|
284
292
|
<color name="mds-color-theme-avatar-default">#ffffff</color>
|
|
285
293
|
<color name="mds-color-theme-avatar-cobalt">#ffffff</color>
|
|
286
294
|
<color name="mds-color-theme-avatar-cyan">#ffffff</color>
|
|
@@ -295,6 +303,8 @@
|
|
|
295
303
|
<color name="mds-color-theme-avatar-yellow">#ffffff</color>
|
|
296
304
|
<color name="mds-color-theme-avatar-hover">#ffffff</color>
|
|
297
305
|
<color name="mds-color-theme-avatar-pressed">#ffffff</color>
|
|
306
|
+
<color name="mds-color-theme-avatar-glass-normal">#ffffff</color>
|
|
307
|
+
<color name="mds-color-theme-avatar-glass-active">#ffffff</color>
|
|
298
308
|
<color name="mds-color-theme-common-text-primary-normal">#ffffff</color>
|
|
299
309
|
<color name="mds-color-theme-common-text-primary-disabled">#3ff23f</color>
|
|
300
310
|
<color name="mds-color-theme-common-text-secondary-normal">#ffffff</color>
|
|
@@ -336,6 +346,7 @@
|
|
|
336
346
|
<color name="mds-color-theme-common-outline-input-normal">#ffffff</color>
|
|
337
347
|
<color name="mds-color-theme-common-outline-secondary-primary">#ffffff</color>
|
|
338
348
|
<color name="mds-color-theme-common-outline-secondary-disabled">#3ff23f</color>
|
|
349
|
+
<color name="mds-color-theme-common-outline-warning-normal">#ffffff</color>
|
|
339
350
|
<color name="mds-color-theme-common-control-share-content-selected">#1aebff</color>
|
|
340
351
|
<color name="mds-color-theme-common-control-share-content-active">#1aebff</color>
|
|
341
352
|
<color name="mds-color-theme-common-control-share-content-inactive">#3ff23f</color>
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
<!--
|
|
4
4
|
Do not edit directly
|
|
5
|
-
Generated on
|
|
5
|
+
Generated on Thu, 12 Dec 2024 13:30:40 GMT
|
|
6
6
|
-->
|
|
7
7
|
<resources>
|
|
8
8
|
<color name="mds-color-theme-text-primary-normal">#000000</color>
|
|
@@ -161,6 +161,9 @@
|
|
|
161
161
|
<color name="mds-color-theme-background-gradient-secondary-normal">#ffffff</color>
|
|
162
162
|
<color name="mds-color-theme-background-gradient-primary-normal">#ffffff</color>
|
|
163
163
|
<color name="mds-color-theme-background-skeleton-normal">#ffffff</color>
|
|
164
|
+
<color name="mds-color-theme-background-glass-normal">#ffffff</color>
|
|
165
|
+
<color name="mds-color-theme-background-glass-overlay-normal">#00009f</color>
|
|
166
|
+
<color name="mds-color-theme-background-glass-overlay-inactive">#ffffff</color>
|
|
164
167
|
<color name="mds-color-theme-button-primary-normal">#ffffff</color>
|
|
165
168
|
<color name="mds-color-theme-button-primary-hover">#37006e</color>
|
|
166
169
|
<color name="mds-color-theme-button-primary-pressed">#37006e</color>
|
|
@@ -181,6 +184,9 @@
|
|
|
181
184
|
<color name="mds-color-theme-button-accent-normal">#ffffff</color>
|
|
182
185
|
<color name="mds-color-theme-button-accent-hover">#37006e</color>
|
|
183
186
|
<color name="mds-color-theme-button-accent-pressed">#37006e</color>
|
|
187
|
+
<color name="mds-color-theme-button-glass-primary-normal">#ffffff</color>
|
|
188
|
+
<color name="mds-color-theme-button-glass-primary-hover">#37006e</color>
|
|
189
|
+
<color name="mds-color-theme-button-glass-primary-pressed">#37006e</color>
|
|
184
190
|
<color name="mds-color-theme-outline-primary-normal">#000000</color>
|
|
185
191
|
<color name="mds-color-theme-outline-primary-disabled">#600000</color>
|
|
186
192
|
<color name="mds-color-theme-outline-theme-normal">#000000</color>
|
|
@@ -281,6 +287,8 @@
|
|
|
281
287
|
<color name="mds-color-theme-avatar-yellow">#000000</color>
|
|
282
288
|
<color name="mds-color-theme-avatar-hover">#000000</color>
|
|
283
289
|
<color name="mds-color-theme-avatar-pressed">#000000</color>
|
|
290
|
+
<color name="mds-color-theme-avatar-glass-normal">#000000</color>
|
|
291
|
+
<color name="mds-color-theme-avatar-glass-active">#000000</color>
|
|
284
292
|
<color name="mds-color-theme-common-text-primary-normal">#000000</color>
|
|
285
293
|
<color name="mds-color-theme-common-text-primary-disabled">#600000</color>
|
|
286
294
|
<color name="mds-color-theme-common-text-secondary-normal">#000000</color>
|
|
@@ -322,6 +330,7 @@
|
|
|
322
330
|
<color name="mds-color-theme-common-outline-input-normal">#000000</color>
|
|
323
331
|
<color name="mds-color-theme-common-outline-secondary-primary">#000000</color>
|
|
324
332
|
<color name="mds-color-theme-common-outline-secondary-disabled">#600000</color>
|
|
333
|
+
<color name="mds-color-theme-common-outline-warning-normal">#000000</color>
|
|
325
334
|
<color name="mds-color-theme-common-control-share-content-selected">#37006e</color>
|
|
326
335
|
<color name="mds-color-theme-common-control-share-content-active">#37006e</color>
|
|
327
336
|
<color name="mds-color-theme-common-control-share-content-inactive">#600000</color>
|
|
@@ -372,6 +381,8 @@
|
|
|
372
381
|
<color name="mds-color-theme-gradientdivider-orange-hover">#000000</color>
|
|
373
382
|
<color name="mds-color-theme-gradientdivider-purple-normal">#000000</color>
|
|
374
383
|
<color name="mds-color-theme-gradientdivider-purple-hover">#000000</color>
|
|
384
|
+
<color name="mds-color-theme-gradientdivider-vertical-normal">#000000</color>
|
|
385
|
+
<color name="mds-color-theme-gradientdivider-vertical-hover">#000000</color>
|
|
375
386
|
<color name="mds-color-theme-focus-default-0">#ffffff</color>
|
|
376
387
|
<color name="mds-color-theme-focus-default-1">#000000</color>
|
|
377
388
|
<color name="mds-color-theme-focus-default-2">#000000</color>
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
<!--
|
|
4
4
|
Do not edit directly
|
|
5
|
-
Generated on
|
|
5
|
+
Generated on Thu, 12 Dec 2024 13:30:39 GMT
|
|
6
6
|
-->
|
|
7
7
|
<resources>
|
|
8
8
|
<color name="mds-color-theme-text-primary-normal">#000000f2</color>
|
|
@@ -161,6 +161,9 @@
|
|
|
161
161
|
<color name="mds-color-theme-background-gradient-secondary-normal">linear-gradient(180deg, #fafafa 0%, #ffffff 100%)</color>
|
|
162
162
|
<color name="mds-color-theme-background-reaction-normal">linear-gradient(90deg, #ffffffe6 0%, #ffffff00 100%)</color>
|
|
163
163
|
<color name="mds-color-theme-background-skeleton-normal">linear-gradient(123deg, #00000033 0%, #0000004d 27.6%, #00000066 58.85%, #00000080 100%)</color>
|
|
164
|
+
<color name="mds-color-theme-background-glass-normal">#ffffff99</color>
|
|
165
|
+
<color name="mds-color-theme-background-glass-overlay-normal">#ffffffcc</color>
|
|
166
|
+
<color name="mds-color-theme-background-glass-overlay-inactive">#ffffff66</color>
|
|
164
167
|
<color name="mds-color-theme-button-primary-normal">#000000f2</color>
|
|
165
168
|
<color name="mds-color-theme-button-primary-hover">#000000cc</color>
|
|
166
169
|
<color name="mds-color-theme-button-primary-pressed">#000000b3</color>
|
|
@@ -182,6 +185,9 @@
|
|
|
182
185
|
<color name="mds-color-theme-button-accent-normal">#1170cf</color>
|
|
183
186
|
<color name="mds-color-theme-button-accent-hover">#0353a8</color>
|
|
184
187
|
<color name="mds-color-theme-button-accent-pressed">#063a75</color>
|
|
188
|
+
<color name="mds-color-theme-button-glass-primary-normal">#000000cc</color>
|
|
189
|
+
<color name="mds-color-theme-button-glass-primary-hover">#000000b3</color>
|
|
190
|
+
<color name="mds-color-theme-button-glass-primary-pressed">#00000099</color>
|
|
185
191
|
<color name="mds-color-theme-outline-primary-normal">#00000075</color>
|
|
186
192
|
<color name="mds-color-theme-outline-primary-disabled">#00000033</color>
|
|
187
193
|
<color name="mds-color-theme-outline-theme-normal">#1170cf</color>
|
|
@@ -281,6 +287,7 @@
|
|
|
281
287
|
<color name="mds-color-theme-common-outline-input-normal">#ffffff80</color>
|
|
282
288
|
<color name="mds-color-theme-common-outline-secondary-normal">#00000033</color>
|
|
283
289
|
<color name="mds-color-theme-common-outline-secondary-disabled">#00000033</color>
|
|
290
|
+
<color name="mds-color-theme-common-outline-warning-normal">#f2990a</color>
|
|
284
291
|
<color name="mds-color-theme-common-control-share-content-selected">#3cc29a</color>
|
|
285
292
|
<color name="mds-color-theme-common-control-share-content-active">#c94403</color>
|
|
286
293
|
<color name="mds-color-theme-common-control-share-content-inactive">#707070</color>
|
|
@@ -365,6 +372,8 @@
|
|
|
365
372
|
<color name="mds-color-theme-avatar-yellow">#7d4705</color>
|
|
366
373
|
<color name="mds-color-theme-avatar-hover">#00000012</color>
|
|
367
374
|
<color name="mds-color-theme-avatar-pressed">#00000033</color>
|
|
375
|
+
<color name="mds-color-theme-avatar-glass-normal">#00000012</color>
|
|
376
|
+
<color name="mds-color-theme-avatar-glass-active">#ffffffcc</color>
|
|
368
377
|
<color name="mds-color-theme-gradientdivider-default-normal">linear-gradient(90deg, #00000000 0%, #00000033 22.4%, #00000033 72.4%, #00000000 100%)</color>
|
|
369
378
|
<color name="mds-color-theme-gradientdivider-default-hover">linear-gradient(90deg, #00000000 0%, #00000099 22.4%, #00000099 72.4%, #00000000 100%)</color>
|
|
370
379
|
<color name="mds-color-theme-gradientdivider-error-normal">linear-gradient(90deg, #ab0a1500 0%, #ab0a1599 22.4%, #ab0a1599 22.4%, #ab0a1500 100%)</color>
|
|
@@ -379,6 +388,8 @@
|
|
|
379
388
|
<color name="mds-color-theme-gradientdivider-orange-hover">linear-gradient(90deg, #9c320200 0%, #9c3202e6 22.4%, #9c3202e6 76.04%, #9c320200 100%)</color>
|
|
380
389
|
<color name="mds-color-theme-gradientdivider-purple-normal">linear-gradient(90deg, #93209900 0%, #93209999 22.4%, #93209999 76.04%, #93209900 100%)</color>
|
|
381
390
|
<color name="mds-color-theme-gradientdivider-purple-hover">linear-gradient(90deg, #93209900 0%,#932099E6 22.4%, #932099E6 76.04%, #93209900 100%)</color>
|
|
391
|
+
<color name="mds-color-theme-gradientdivider-vertical-normal">linear-gradient(0deg, #00000000 0%, #00000033 22.4%, #00000033 72.4%, #00000000 100%)</color>
|
|
392
|
+
<color name="mds-color-theme-gradientdivider-vertical-hover">linear-gradient(0deg, #00000000 0%, #00000099 22.4%, #00000099 72.4%, #00000000 100%)</color>
|
|
382
393
|
<color name="mds-color-theme-focus-default-0">#ffffff</color>
|
|
383
394
|
<color name="mds-color-theme-focus-default-1">#1170cf</color>
|
|
384
395
|
<color name="mds-color-theme-focus-default-2">#1170cf59</color>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
// Do not edit directly
|
|
3
|
+
// Generated on Thu, 12 Dec 2024 13:30:43 GMT
|
|
4
|
+
|
|
5
|
+
$mds-elevation-1: drop-shadow(0px 2px 8px rgba(0,0,0,0.2));
|
|
6
|
+
$mds-elevation-2: drop-shadow(0px 4px 16px rgba(0,0,0,0.2));
|
|
7
|
+
$mds-elevation-3: drop-shadow(0px 6px 24px rgba(0,0,0,0.25));
|
|
8
|
+
$mds-elevation-4: drop-shadow(0px 12px 48px rgba(0,0,0,0.25));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
// Do not edit directly
|
|
3
|
-
// Generated on
|
|
3
|
+
// Generated on Thu, 12 Dec 2024 13:30:39 GMT
|
|
4
4
|
|
|
5
5
|
$mds-color-theme-text-primary-normal: #fffffff2;
|
|
6
6
|
$mds-color-theme-text-primary-disabled: #ffffff66;
|
|
@@ -158,6 +158,9 @@ $mds-color-theme-background-gradient-primary-normal: linear-gradient(180deg, #1a
|
|
|
158
158
|
$mds-color-theme-background-gradient-secondary-normal: linear-gradient(180deg, #262626 0%, #0f0f0f 100%);
|
|
159
159
|
$mds-color-theme-background-reaction-normal: linear-gradient(90deg, #1a1a1ae6 0%, #1a1a1a00 100%);
|
|
160
160
|
$mds-color-theme-background-skeleton-normal: linear-gradient(123deg, #ffffff33 0%, #ffffff4d 33.85%, #ffffff66 70.31%, #ffffff80 100%);
|
|
161
|
+
$mds-color-theme-background-glass-normal: #00000099;
|
|
162
|
+
$mds-color-theme-background-glass-overlay-normal: #00000099;
|
|
163
|
+
$mds-color-theme-background-glass-overlay-inactive: #00000066;
|
|
161
164
|
$mds-color-theme-button-primary-normal: #fffffff2;
|
|
162
165
|
$mds-color-theme-button-primary-hover: #ffffffcc;
|
|
163
166
|
$mds-color-theme-button-primary-pressed: #ffffffb3;
|
|
@@ -179,6 +182,9 @@ $mds-color-theme-button-cancel-pressed: #780d13;
|
|
|
179
182
|
$mds-color-theme-button-accent-normal: #1170cf;
|
|
180
183
|
$mds-color-theme-button-accent-hover: #0353a8;
|
|
181
184
|
$mds-color-theme-button-accent-pressed: #063a75;
|
|
185
|
+
$mds-color-theme-button-glass-primary-normal: #ffffffcc;
|
|
186
|
+
$mds-color-theme-button-glass-primary-hover: #ffffffb3;
|
|
187
|
+
$mds-color-theme-button-glass-primary-pressed: #ffffff99;
|
|
182
188
|
$mds-color-theme-outline-primary-normal: #ffffff66;
|
|
183
189
|
$mds-color-theme-outline-primary-disabled: #ffffff33;
|
|
184
190
|
$mds-color-theme-outline-theme-normal: #64b4fa;
|
|
@@ -363,6 +369,8 @@ $mds-color-theme-gradientdivider-orange-normal: linear-gradient(90deg, #fd884e00
|
|
|
363
369
|
$mds-color-theme-gradientdivider-orange-hover: linear-gradient(90deg, #fd884e00 0%,#fd884eE6 22.4%, #fd884eE6 76.04%, #fd884e00 100%);
|
|
364
370
|
$mds-color-theme-gradientdivider-purple-normal: linear-gradient(90deg, #f294f100 0%, #f294f199 22.4%, #f294f199 76.04%, #f294f100 100%);
|
|
365
371
|
$mds-color-theme-gradientdivider-purple-hover: linear-gradient(90deg, #f294f100 0%, #f294f1E6 22.4%, #f294f1E6 76.04%, #f294f100 100%);
|
|
372
|
+
$mds-color-theme-gradientdivider-vertical-normal: linear-gradient(0deg, #ffffff00 0%, #ffffff33 22.4%, #ffffff33 72.4%, #ffffff00 100%);
|
|
373
|
+
$mds-color-theme-gradientdivider-vertical-hover: linear-gradient(0deg, #ffffff00 0%, #ffffff99 22.4%, #ffffff99 72.4%, #ffffff00 100%);
|
|
366
374
|
$mds-color-theme-avatar-default: #545454;
|
|
367
375
|
$mds-color-theme-avatar-hover: #ffffff12;
|
|
368
376
|
$mds-color-theme-avatar-pressed: #ffffff33;
|
|
@@ -377,6 +385,8 @@ $mds-color-theme-avatar-purple: #932099;
|
|
|
377
385
|
$mds-color-theme-avatar-slate: #535573;
|
|
378
386
|
$mds-color-theme-avatar-violet: #643abd;
|
|
379
387
|
$mds-color-theme-avatar-yellow: #7d4705;
|
|
388
|
+
$mds-color-theme-avatar-glass-normal: #ffffff12;
|
|
389
|
+
$mds-color-theme-avatar-glass-active: #ffffffcc;
|
|
380
390
|
$mds-color-theme-focus-default-0: #000000;
|
|
381
391
|
$mds-color-theme-focus-default-1: #64b4fa;
|
|
382
392
|
$mds-color-theme-focus-default-2: #64b4fa59;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
// Do not edit directly
|
|
3
|
-
// Generated on
|
|
3
|
+
// Generated on Thu, 12 Dec 2024 13:30:39 GMT
|
|
4
4
|
|
|
5
5
|
$mds-color-theme-text-primary-normal: #ffffff;
|
|
6
6
|
$mds-color-theme-text-primary-disabled: #3ff23f;
|
|
@@ -158,6 +158,9 @@ $mds-color-theme-background-reaction-normal: #000000;
|
|
|
158
158
|
$mds-color-theme-background-gradient-secondary-normal: #000000;
|
|
159
159
|
$mds-color-theme-background-gradient-primary-normal: #000000;
|
|
160
160
|
$mds-color-theme-background-skeleton-normal: #000000;
|
|
161
|
+
$mds-color-theme-background-glass-normal: #000000;
|
|
162
|
+
$mds-color-theme-background-glass-overlay-normal: #ffff00;
|
|
163
|
+
$mds-color-theme-background-glass-overlay-inactive: #000000;
|
|
161
164
|
$mds-color-theme-button-primary-normal: #000000;
|
|
162
165
|
$mds-color-theme-button-primary-hover: #1aebff;
|
|
163
166
|
$mds-color-theme-button-primary-pressed: #1aebff;
|
|
@@ -178,6 +181,9 @@ $mds-color-theme-button-cancel-pressed: #1aebff;
|
|
|
178
181
|
$mds-color-theme-button-accent-normal: #000000;
|
|
179
182
|
$mds-color-theme-button-accent-hover: #1aebff;
|
|
180
183
|
$mds-color-theme-button-accent-pressed: #1aebff;
|
|
184
|
+
$mds-color-theme-button-glass-primary-normal: #000000;
|
|
185
|
+
$mds-color-theme-button-glass-primary-hover: #1aebff;
|
|
186
|
+
$mds-color-theme-button-glass-primary-pressed: #1aebff;
|
|
181
187
|
$mds-color-theme-outline-primary-normal: #ffffff;
|
|
182
188
|
$mds-color-theme-outline-primary-disabled: #3ff23f;
|
|
183
189
|
$mds-color-theme-outline-theme-normal: #ffffff;
|
|
@@ -278,6 +284,8 @@ $mds-color-theme-gradientdivider-orange-normal: #ffffff;
|
|
|
278
284
|
$mds-color-theme-gradientdivider-orange-hover: #ffffff;
|
|
279
285
|
$mds-color-theme-gradientdivider-purple-normal: #ffffff;
|
|
280
286
|
$mds-color-theme-gradientdivider-purple-hover: #ffffff;
|
|
287
|
+
$mds-color-theme-gradientdivider-vertical-normal: #ffffff;
|
|
288
|
+
$mds-color-theme-gradientdivider-vertical-hover: #ffffff;
|
|
281
289
|
$mds-color-theme-avatar-default: #ffffff;
|
|
282
290
|
$mds-color-theme-avatar-cobalt: #ffffff;
|
|
283
291
|
$mds-color-theme-avatar-cyan: #ffffff;
|
|
@@ -292,6 +300,8 @@ $mds-color-theme-avatar-violet: #ffffff;
|
|
|
292
300
|
$mds-color-theme-avatar-yellow: #ffffff;
|
|
293
301
|
$mds-color-theme-avatar-hover: #ffffff;
|
|
294
302
|
$mds-color-theme-avatar-pressed: #ffffff;
|
|
303
|
+
$mds-color-theme-avatar-glass-normal: #ffffff;
|
|
304
|
+
$mds-color-theme-avatar-glass-active: #ffffff;
|
|
295
305
|
$mds-color-theme-common-text-primary-normal: #ffffff;
|
|
296
306
|
$mds-color-theme-common-text-primary-disabled: #3ff23f;
|
|
297
307
|
$mds-color-theme-common-text-secondary-normal: #ffffff;
|
|
@@ -333,6 +343,7 @@ $mds-color-theme-common-outline-primary-disabled: #3ff23f;
|
|
|
333
343
|
$mds-color-theme-common-outline-input-normal: #ffffff;
|
|
334
344
|
$mds-color-theme-common-outline-secondary-primary: #ffffff;
|
|
335
345
|
$mds-color-theme-common-outline-secondary-disabled: #3ff23f;
|
|
346
|
+
$mds-color-theme-common-outline-warning-normal: #ffffff;
|
|
336
347
|
$mds-color-theme-common-control-share-content-selected: #1aebff;
|
|
337
348
|
$mds-color-theme-common-control-share-content-active: #1aebff;
|
|
338
349
|
$mds-color-theme-common-control-share-content-inactive: #3ff23f;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
// Do not edit directly
|
|
3
|
-
// Generated on
|
|
3
|
+
// Generated on Thu, 12 Dec 2024 13:30:40 GMT
|
|
4
4
|
|
|
5
5
|
$mds-color-theme-text-primary-normal: #000000;
|
|
6
6
|
$mds-color-theme-text-primary-disabled: #600000;
|
|
@@ -158,6 +158,9 @@ $mds-color-theme-background-reaction-normal: #ffffff;
|
|
|
158
158
|
$mds-color-theme-background-gradient-secondary-normal: #ffffff;
|
|
159
159
|
$mds-color-theme-background-gradient-primary-normal: #ffffff;
|
|
160
160
|
$mds-color-theme-background-skeleton-normal: #ffffff;
|
|
161
|
+
$mds-color-theme-background-glass-normal: #ffffff;
|
|
162
|
+
$mds-color-theme-background-glass-overlay-normal: #00009f;
|
|
163
|
+
$mds-color-theme-background-glass-overlay-inactive: #ffffff;
|
|
161
164
|
$mds-color-theme-button-primary-normal: #ffffff;
|
|
162
165
|
$mds-color-theme-button-primary-hover: #37006e;
|
|
163
166
|
$mds-color-theme-button-primary-pressed: #37006e;
|
|
@@ -178,6 +181,9 @@ $mds-color-theme-button-cancel-pressed: #37006e;
|
|
|
178
181
|
$mds-color-theme-button-accent-normal: #ffffff;
|
|
179
182
|
$mds-color-theme-button-accent-hover: #37006e;
|
|
180
183
|
$mds-color-theme-button-accent-pressed: #37006e;
|
|
184
|
+
$mds-color-theme-button-glass-primary-normal: #ffffff;
|
|
185
|
+
$mds-color-theme-button-glass-primary-hover: #37006e;
|
|
186
|
+
$mds-color-theme-button-glass-primary-pressed: #37006e;
|
|
181
187
|
$mds-color-theme-outline-primary-normal: #000000;
|
|
182
188
|
$mds-color-theme-outline-primary-disabled: #600000;
|
|
183
189
|
$mds-color-theme-outline-theme-normal: #000000;
|
|
@@ -278,6 +284,8 @@ $mds-color-theme-avatar-violet: #000000;
|
|
|
278
284
|
$mds-color-theme-avatar-yellow: #000000;
|
|
279
285
|
$mds-color-theme-avatar-hover: #000000;
|
|
280
286
|
$mds-color-theme-avatar-pressed: #000000;
|
|
287
|
+
$mds-color-theme-avatar-glass-normal: #000000;
|
|
288
|
+
$mds-color-theme-avatar-glass-active: #000000;
|
|
281
289
|
$mds-color-theme-common-text-primary-normal: #000000;
|
|
282
290
|
$mds-color-theme-common-text-primary-disabled: #600000;
|
|
283
291
|
$mds-color-theme-common-text-secondary-normal: #000000;
|
|
@@ -319,6 +327,7 @@ $mds-color-theme-common-outline-primary-disabled: #600000;
|
|
|
319
327
|
$mds-color-theme-common-outline-input-normal: #000000;
|
|
320
328
|
$mds-color-theme-common-outline-secondary-primary: #000000;
|
|
321
329
|
$mds-color-theme-common-outline-secondary-disabled: #600000;
|
|
330
|
+
$mds-color-theme-common-outline-warning-normal: #000000;
|
|
322
331
|
$mds-color-theme-common-control-share-content-selected: #37006e;
|
|
323
332
|
$mds-color-theme-common-control-share-content-active: #37006e;
|
|
324
333
|
$mds-color-theme-common-control-share-content-inactive: #600000;
|
|
@@ -369,6 +378,8 @@ $mds-color-theme-gradientdivider-orange-normal: #000000;
|
|
|
369
378
|
$mds-color-theme-gradientdivider-orange-hover: #000000;
|
|
370
379
|
$mds-color-theme-gradientdivider-purple-normal: #000000;
|
|
371
380
|
$mds-color-theme-gradientdivider-purple-hover: #000000;
|
|
381
|
+
$mds-color-theme-gradientdivider-vertical-normal: #000000;
|
|
382
|
+
$mds-color-theme-gradientdivider-vertical-hover: #000000;
|
|
372
383
|
$mds-color-theme-focus-default-0: #ffffff;
|
|
373
384
|
$mds-color-theme-focus-default-1: #000000;
|
|
374
385
|
$mds-color-theme-focus-default-2: #000000;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
// Do not edit directly
|
|
3
|
-
// Generated on
|
|
3
|
+
// Generated on Thu, 12 Dec 2024 13:30:39 GMT
|
|
4
4
|
|
|
5
5
|
$mds-color-theme-text-primary-normal: #000000f2;
|
|
6
6
|
$mds-color-theme-text-primary-disabled: #00000066;
|
|
@@ -158,6 +158,9 @@ $mds-color-theme-background-gradient-primary-normal: linear-gradient(180deg, #f0
|
|
|
158
158
|
$mds-color-theme-background-gradient-secondary-normal: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
|
|
159
159
|
$mds-color-theme-background-reaction-normal: linear-gradient(90deg, #ffffffe6 0%, #ffffff00 100%);
|
|
160
160
|
$mds-color-theme-background-skeleton-normal: linear-gradient(123deg, #00000033 0%, #0000004d 27.6%, #00000066 58.85%, #00000080 100%);
|
|
161
|
+
$mds-color-theme-background-glass-normal: #ffffff99;
|
|
162
|
+
$mds-color-theme-background-glass-overlay-normal: #ffffffcc;
|
|
163
|
+
$mds-color-theme-background-glass-overlay-inactive: #ffffff66;
|
|
161
164
|
$mds-color-theme-button-primary-normal: #000000f2;
|
|
162
165
|
$mds-color-theme-button-primary-hover: #000000cc;
|
|
163
166
|
$mds-color-theme-button-primary-pressed: #000000b3;
|
|
@@ -179,6 +182,9 @@ $mds-color-theme-button-cancel-pressed: #780d13;
|
|
|
179
182
|
$mds-color-theme-button-accent-normal: #1170cf;
|
|
180
183
|
$mds-color-theme-button-accent-hover: #0353a8;
|
|
181
184
|
$mds-color-theme-button-accent-pressed: #063a75;
|
|
185
|
+
$mds-color-theme-button-glass-primary-normal: #000000cc;
|
|
186
|
+
$mds-color-theme-button-glass-primary-hover: #000000b3;
|
|
187
|
+
$mds-color-theme-button-glass-primary-pressed: #00000099;
|
|
182
188
|
$mds-color-theme-outline-primary-normal: #00000075;
|
|
183
189
|
$mds-color-theme-outline-primary-disabled: #00000033;
|
|
184
190
|
$mds-color-theme-outline-theme-normal: #1170cf;
|
|
@@ -278,6 +284,7 @@ $mds-color-theme-common-outline-primary-disabled: #ffffff33;
|
|
|
278
284
|
$mds-color-theme-common-outline-input-normal: #ffffff80;
|
|
279
285
|
$mds-color-theme-common-outline-secondary-normal: #00000033;
|
|
280
286
|
$mds-color-theme-common-outline-secondary-disabled: #00000033;
|
|
287
|
+
$mds-color-theme-common-outline-warning-normal: #f2990a;
|
|
281
288
|
$mds-color-theme-common-control-share-content-selected: #3cc29a;
|
|
282
289
|
$mds-color-theme-common-control-share-content-active: #c94403;
|
|
283
290
|
$mds-color-theme-common-control-share-content-inactive: #707070;
|
|
@@ -362,6 +369,8 @@ $mds-color-theme-avatar-violet: #643abd;
|
|
|
362
369
|
$mds-color-theme-avatar-yellow: #7d4705;
|
|
363
370
|
$mds-color-theme-avatar-hover: #00000012;
|
|
364
371
|
$mds-color-theme-avatar-pressed: #00000033;
|
|
372
|
+
$mds-color-theme-avatar-glass-normal: #00000012;
|
|
373
|
+
$mds-color-theme-avatar-glass-active: #ffffffcc;
|
|
365
374
|
$mds-color-theme-gradientdivider-default-normal: linear-gradient(90deg, #00000000 0%, #00000033 22.4%, #00000033 72.4%, #00000000 100%);
|
|
366
375
|
$mds-color-theme-gradientdivider-default-hover: linear-gradient(90deg, #00000000 0%, #00000099 22.4%, #00000099 72.4%, #00000000 100%);
|
|
367
376
|
$mds-color-theme-gradientdivider-error-normal: linear-gradient(90deg, #ab0a1500 0%, #ab0a1599 22.4%, #ab0a1599 22.4%, #ab0a1500 100%);
|
|
@@ -376,6 +385,8 @@ $mds-color-theme-gradientdivider-orange-normal: linear-gradient(90deg, #9c320200
|
|
|
376
385
|
$mds-color-theme-gradientdivider-orange-hover: linear-gradient(90deg, #9c320200 0%, #9c3202e6 22.4%, #9c3202e6 76.04%, #9c320200 100%);
|
|
377
386
|
$mds-color-theme-gradientdivider-purple-normal: linear-gradient(90deg, #93209900 0%, #93209999 22.4%, #93209999 76.04%, #93209900 100%);
|
|
378
387
|
$mds-color-theme-gradientdivider-purple-hover: linear-gradient(90deg, #93209900 0%,#932099E6 22.4%, #932099E6 76.04%, #93209900 100%);
|
|
388
|
+
$mds-color-theme-gradientdivider-vertical-normal: linear-gradient(0deg, #00000000 0%, #00000033 22.4%, #00000033 72.4%, #00000000 100%);
|
|
389
|
+
$mds-color-theme-gradientdivider-vertical-hover: linear-gradient(0deg, #00000000 0%, #00000099 22.4%, #00000099 72.4%, #00000000 100%);
|
|
379
390
|
$mds-color-theme-focus-default-0: #ffffff;
|
|
380
391
|
$mds-color-theme-focus-default-1: #1170cf;
|
|
381
392
|
$mds-color-theme-focus-default-2: #1170cf59;
|
package/package.json
CHANGED
|
@@ -8,9 +8,11 @@
|
|
|
8
8
|
"analyze": "yarn analyze:prebuild && yarn analyze:postbuild",
|
|
9
9
|
"analyze:postbuild": "echo \"script 'analyze:postbuild' has not been implemented\"",
|
|
10
10
|
"analyze:prebuild": "echo \"script 'analyze:prebuild' has not been implemented\"",
|
|
11
|
-
"build": "yarn build:core && yarn build:typography",
|
|
11
|
+
"build": "yarn build:core && yarn build:typography && yarn build:elevation && yarn build:components",
|
|
12
12
|
"build:core": "md-token-builder --config ./config/tokens/core.json --input ./src --output ./dist",
|
|
13
13
|
"build:typography": "md-token-builder --config ./config/tokens/typography.json --input ./src --output ./dist",
|
|
14
|
+
"build:elevation": "md-token-builder --config ./config/tokens/elevation.json --input ./src --output ./dist",
|
|
15
|
+
"build:components": "node ./scripts/build-components-css.js",
|
|
14
16
|
"clean": "yarn clean:dist",
|
|
15
17
|
"clean:dist": "rimraf ./dist",
|
|
16
18
|
"prepublishOnly": "yarn clean && yarn build",
|
|
@@ -18,9 +20,10 @@
|
|
|
18
20
|
"publish": "yarn publish:npmjs",
|
|
19
21
|
"publish:npmjs": "yarn npm publish --access=public",
|
|
20
22
|
"test": "yarn test:prebuild && yarn test:postbuild",
|
|
21
|
-
"test:
|
|
22
|
-
"test:
|
|
23
|
-
"test:unit": "jest ./src/**/*.test.ts"
|
|
23
|
+
"test:prebuild": "yarn test:unit:pre",
|
|
24
|
+
"test:postbuild": "yarn test:unit:post",
|
|
25
|
+
"test:unit:pre": "jest ./src/**/*.pre.test.ts",
|
|
26
|
+
"test:unit:post": "jest ./src/**/*.post.test.ts"
|
|
24
27
|
},
|
|
25
28
|
"devDependencies": {
|
|
26
29
|
"@momentum-design/token-builder": "^0.0.0",
|
|
@@ -29,5 +32,5 @@
|
|
|
29
32
|
"rimraf": "^6.0.1",
|
|
30
33
|
"ts-jest": "^29.2.4"
|
|
31
34
|
},
|
|
32
|
-
"version": "0.
|
|
35
|
+
"version": "0.3.0"
|
|
33
36
|
}
|