@adobe/spectrum-tokens 13.0.0-beta.55 → 13.0.0-beta.57

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 CHANGED
@@ -1,5 +1,47 @@
1
1
  # @adobe/spectrum-tokens
2
2
 
3
+ ## 13.0.0-beta.57
4
+
5
+ ### Minor Changes
6
+
7
+ - [#466](https://github.com/adobe/spectrum-tokens/pull/466) [`53ac0c8`](https://github.com/adobe/spectrum-tokens/commit/53ac0c8ffb8836c636ca990d5802b61eb4ad7c61) Thanks [@larz0](https://github.com/larz0)! - Updated popover border colors:
8
+
9
+ popover-border-color: transparent-white-25 (light theme)
10
+ popover-border-color: gray-400 (dark theme)
11
+
12
+ ## Design Motivation
13
+
14
+ We've received feedback from Adobe Concept (Kelly Hurlburt) that `1px` `gray-200` border in dark theme doesn't provide sufficient visual contrast when used on `background-color-layer-2`.
15
+
16
+ ## Token Diff
17
+
18
+ Updated (1)
19
+
20
+ `popover-border-color`:
21
+
22
+ - `schema`: `alias.json` -> `color-set.json`
23
+ - `value`: `gray-200` ->
24
+ - `light.value`: `transparent-white-25`
25
+ - `dark.value`: `gray-400`
26
+
27
+ ## 13.0.0-beta.56
28
+
29
+ ### Minor Changes
30
+
31
+ - [#463](https://github.com/adobe/spectrum-tokens/pull/463) [`1ae8051`](https://github.com/adobe/spectrum-tokens/commit/1ae80516c48b70b87a8cd81cde75af8755188d45) Thanks [@mrcjhicks](https://github.com/mrcjhicks)! - Added a component-size-maximum-perspective-down token, which defines that components larger than 96px would appear to scale down more.
32
+
33
+ ## Design Motivation
34
+
35
+ This token is used in larger components that support a down state that scales, like the select box.
36
+
37
+ ## Token Diff
38
+
39
+ <details open><summary>Added (1)</summary>
40
+
41
+ - `component-size-maximum-perspective-down`
42
+
43
+ </details>
44
+
3
45
  ## 13.0.0-beta.55
4
46
 
5
47
  ### Minor Changes
@@ -524,7 +524,7 @@
524
524
  "pink-background-color-default": "rgb(206, 42, 146)",
525
525
  "pink-subtle-background-color-default": "rgb(255, 232, 247)",
526
526
  "pink-visual-color": "rgb(228, 52, 163)",
527
- "popover-border-color": "rgb(225, 225, 225)",
527
+ "popover-border-color": "rgba(255, 255, 255, 0)",
528
528
  "popover-border-opacity": "0",
529
529
  "positive-background-color-default": "rgb(5, 131, 78)",
530
530
  "positive-background-color-down": "rgb(3, 110, 69)",
@@ -1237,7 +1237,7 @@
1237
1237
  "pink-background-color-default": "rgb(213, 45, 151)",
1238
1238
  "pink-subtle-background-color-default": "rgb(90, 0, 57)",
1239
1239
  "pink-visual-color": "rgb(236, 67, 175)",
1240
- "popover-border-color": "rgb(50, 50, 50)",
1240
+ "popover-border-color": "rgb(68, 68, 68)",
1241
1241
  "popover-border-opacity": "1.0",
1242
1242
  "positive-background-color-default": "rgb(6, 136, 80)",
1243
1243
  "positive-background-color-down": "rgb(4, 124, 75)",
@@ -1824,6 +1824,7 @@
1824
1824
  "component-pill-edge-to-visual-only-300": "11px",
1825
1825
  "component-pill-edge-to-visual-only-75": "4px",
1826
1826
  "component-size-difference-down": "-2px",
1827
+ "component-size-maximum-perspective-down": "96px",
1827
1828
  "component-size-minimum-perspective-down": "24px",
1828
1829
  "component-size-width-ratio-down": 0.3333,
1829
1830
  "component-to-menu-extra-large": "8px",
@@ -6514,22 +6514,31 @@
6514
6514
  }
6515
6515
  },
6516
6516
  "popover-border-color": {
6517
- "ref": "{gray-200}",
6518
6517
  "sets": {
6519
6518
  "light": {
6520
- "value": "rgb(225, 225, 225)",
6521
- "uuid": "8de4888d-8da5-45a0-8d5d-64a734993ae4"
6519
+ "ref": "{transparent-white-25}",
6520
+ "value": "rgba(255, 255, 255, 0)",
6521
+ "uuid": "66da6f53-5446-43c1-bbe0-73b46763fde1"
6522
6522
  },
6523
6523
  "dark": {
6524
- "value": "rgb(50, 50, 50)",
6525
- "uuid": "0a676e7a-8a89-4607-a918-3abcfb0234a2"
6526
- },
6527
- "wireframe": {
6528
- "value": "rgb(230, 236, 248)",
6529
- "uuid": "eaad36fe-2827-4404-8876-060de75c2b34"
6524
+ "ref": "{gray-400}",
6525
+ "sets": {
6526
+ "light": {
6527
+ "value": "rgb(198, 198, 198)",
6528
+ "uuid": "9a4b4fc4-25e4-4ca8-b0d1-949c5851b47e"
6529
+ },
6530
+ "dark": {
6531
+ "value": "rgb(68, 68, 68)",
6532
+ "uuid": "c34dd99f-e576-4c98-a89d-86dd47514c55"
6533
+ },
6534
+ "wireframe": {
6535
+ "value": "rgb(183, 200, 235)",
6536
+ "uuid": "4634f126-2240-4de9-b244-ab2b833d70ef"
6537
+ }
6538
+ },
6539
+ "uuid": "825dc035-7b1c-4ddd-b1a9-be1546dae7e3"
6530
6540
  }
6531
- },
6532
- "uuid": "66da6f53-5446-43c1-bbe0-73b46763fde1"
6541
+ }
6533
6542
  },
6534
6543
  "popover-border-opacity": {
6535
6544
  "sets": {
@@ -26129,6 +26138,10 @@
26129
26138
  "value": "40px",
26130
26139
  "uuid": "a3e53161-c38a-4ee0-88c2-4a36fd530e51"
26131
26140
  },
26141
+ "component-size-maximum-perspective-down": {
26142
+ "value": "96px",
26143
+ "uuid": "437f2e57-2aa6-41b5-bdcc-e4993dc42168"
26144
+ },
26132
26145
  "accent-color-100": {
26133
26146
  "ref": "{blue-100}",
26134
26147
  "sets": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spectrum-tokens",
3
- "version": "13.0.0-beta.55",
3
+ "version": "13.0.0-beta.57",
4
4
  "description": "Design tokens for Spectrum, Adobe's design system",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -375,9 +375,19 @@
375
375
  },
376
376
  "popover-border-color": {
377
377
  "component": "popover",
378
- "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
379
- "value": "{gray-200}",
380
- "uuid": "66da6f53-5446-43c1-bbe0-73b46763fde1"
378
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/color-set.json",
379
+ "sets": {
380
+ "light": {
381
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
382
+ "value": "{transparent-white-25}",
383
+ "uuid": "66da6f53-5446-43c1-bbe0-73b46763fde1"
384
+ },
385
+ "dark": {
386
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
387
+ "value": "{gray-400}",
388
+ "uuid": "825dc035-7b1c-4ddd-b1a9-be1546dae7e3"
389
+ }
390
+ }
381
391
  },
382
392
  "popover-border-opacity": {
383
393
  "component": "popover",
@@ -484,4 +494,4 @@
484
494
  "value": "0.1",
485
495
  "uuid": "be8fac27-b644-492e-a89d-6c87cfecb8a1"
486
496
  }
487
- }
497
+ }
package/src/layout.json CHANGED
@@ -2413,5 +2413,10 @@
2413
2413
  "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
2414
2414
  "value": "{spacing-600}",
2415
2415
  "uuid": "a3e53161-c38a-4ee0-88c2-4a36fd530e51"
2416
+ },
2417
+ "component-size-maximum-perspective-down": {
2418
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/dimension.json",
2419
+ "value": "96px",
2420
+ "uuid": "437f2e57-2aa6-41b5-bdcc-e4993dc42168"
2416
2421
  }
2417
- }
2422
+ }