@adobe/spectrum-tokens 13.0.0-beta.56 → 13.0.0-beta.58
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 +44 -0
- package/dist/json/drover.json +4 -2
- package/dist/json/variables.json +47 -11
- package/package.json +1 -1
- package/src/color-component.json +29 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,49 @@
|
|
|
1
1
|
# @adobe/spectrum-tokens
|
|
2
2
|
|
|
3
|
+
## 13.0.0-beta.58
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#470](https://github.com/adobe/spectrum-tokens/pull/470) [`8de8921`](https://github.com/adobe/spectrum-tokens/commit/8de89219fe13a2a70a20ac230e6181be916bad1f) Thanks [@larz0](https://github.com/larz0)! - Added action bar border color.
|
|
8
|
+
|
|
9
|
+
## Design Motivation
|
|
10
|
+
|
|
11
|
+
Similar to the issues reported for popovers (SDS-14251), there isn't sufficient visual contrast of action bars on top of backgrounds in dark theme when used on background-color-layer-2.
|
|
12
|
+
|
|
13
|
+
The solution to this issue in both popovers and action bars should be the same (Popover update has been merged)
|
|
14
|
+
|
|
15
|
+
This issue was originally reported by the React team. Attached reference images from their implementation, one without border and one with border that matches the current popover border in dark.
|
|
16
|
+
|
|
17
|
+
## Token Diff
|
|
18
|
+
|
|
19
|
+
_Tokens added (7):_
|
|
20
|
+
|
|
21
|
+
- `action-bar-border-color`
|
|
22
|
+
|
|
23
|
+
## 13.0.0-beta.57
|
|
24
|
+
|
|
25
|
+
### Minor Changes
|
|
26
|
+
|
|
27
|
+
- [#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:
|
|
28
|
+
|
|
29
|
+
popover-border-color: transparent-white-25 (light theme)
|
|
30
|
+
popover-border-color: gray-400 (dark theme)
|
|
31
|
+
|
|
32
|
+
## Design Motivation
|
|
33
|
+
|
|
34
|
+
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`.
|
|
35
|
+
|
|
36
|
+
## Token Diff
|
|
37
|
+
|
|
38
|
+
Updated (1)
|
|
39
|
+
|
|
40
|
+
`popover-border-color`:
|
|
41
|
+
|
|
42
|
+
- `schema`: `alias.json` -> `color-set.json`
|
|
43
|
+
- `value`: `gray-200` ->
|
|
44
|
+
- `light.value`: `transparent-white-25`
|
|
45
|
+
- `dark.value`: `gray-400`
|
|
46
|
+
|
|
3
47
|
## 13.0.0-beta.56
|
|
4
48
|
|
|
5
49
|
### Minor Changes
|
package/dist/json/drover.json
CHANGED
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
"accent-content-color-selected": "rgb(39, 77, 234)",
|
|
40
40
|
"accent-subtle-background-color-default": "rgb(229, 240, 254)",
|
|
41
41
|
"accent-visual-color": "rgb(75, 117, 255)",
|
|
42
|
+
"action-bar-border-color": "rgba(255, 255, 255, 0)",
|
|
42
43
|
"avatar-border-color": "rgb(255, 255, 255)",
|
|
43
44
|
"background-base-color": "rgb(255, 255, 255)",
|
|
44
45
|
"background-elevated-color": "rgb(255, 255, 255)",
|
|
@@ -524,7 +525,7 @@
|
|
|
524
525
|
"pink-background-color-default": "rgb(206, 42, 146)",
|
|
525
526
|
"pink-subtle-background-color-default": "rgb(255, 232, 247)",
|
|
526
527
|
"pink-visual-color": "rgb(228, 52, 163)",
|
|
527
|
-
"popover-border-color": "
|
|
528
|
+
"popover-border-color": "rgba(255, 255, 255, 0)",
|
|
528
529
|
"popover-border-opacity": "0",
|
|
529
530
|
"positive-background-color-default": "rgb(5, 131, 78)",
|
|
530
531
|
"positive-background-color-down": "rgb(3, 110, 69)",
|
|
@@ -752,6 +753,7 @@
|
|
|
752
753
|
"accent-content-color-selected": "rgb(105, 149, 254)",
|
|
753
754
|
"accent-subtle-background-color-default": "rgb(12, 33, 117)",
|
|
754
755
|
"accent-visual-color": "rgb(86, 129, 255)",
|
|
756
|
+
"action-bar-border-color": "rgb(68, 68, 68)",
|
|
755
757
|
"avatar-border-color": "rgb(17, 17, 17)",
|
|
756
758
|
"background-base-color": "rgb(17, 17, 17)",
|
|
757
759
|
"background-elevated-color": "rgb(34, 34, 34)",
|
|
@@ -1237,7 +1239,7 @@
|
|
|
1237
1239
|
"pink-background-color-default": "rgb(213, 45, 151)",
|
|
1238
1240
|
"pink-subtle-background-color-default": "rgb(90, 0, 57)",
|
|
1239
1241
|
"pink-visual-color": "rgb(236, 67, 175)",
|
|
1240
|
-
"popover-border-color": "rgb(
|
|
1242
|
+
"popover-border-color": "rgb(68, 68, 68)",
|
|
1241
1243
|
"popover-border-opacity": "1.0",
|
|
1242
1244
|
"positive-background-color-default": "rgb(6, 136, 80)",
|
|
1243
1245
|
"positive-background-color-down": "rgb(4, 124, 75)",
|
package/dist/json/variables.json
CHANGED
|
@@ -6514,22 +6514,31 @@
|
|
|
6514
6514
|
}
|
|
6515
6515
|
},
|
|
6516
6516
|
"popover-border-color": {
|
|
6517
|
-
"ref": "{gray-200}",
|
|
6518
6517
|
"sets": {
|
|
6519
6518
|
"light": {
|
|
6520
|
-
"
|
|
6521
|
-
"
|
|
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
|
-
"
|
|
6525
|
-
"
|
|
6526
|
-
|
|
6527
|
-
|
|
6528
|
-
|
|
6529
|
-
|
|
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": {
|
|
@@ -6827,6 +6836,33 @@
|
|
|
6827
6836
|
"value": "0.1",
|
|
6828
6837
|
"uuid": "be8fac27-b644-492e-a89d-6c87cfecb8a1"
|
|
6829
6838
|
},
|
|
6839
|
+
"action-bar-border-color": {
|
|
6840
|
+
"sets": {
|
|
6841
|
+
"light": {
|
|
6842
|
+
"ref": "{transparent-white-25}",
|
|
6843
|
+
"value": "rgba(255, 255, 255, 0)",
|
|
6844
|
+
"uuid": "166159cc-9353-4d22-90f0-64718533d73a"
|
|
6845
|
+
},
|
|
6846
|
+
"dark": {
|
|
6847
|
+
"ref": "{gray-400}",
|
|
6848
|
+
"sets": {
|
|
6849
|
+
"light": {
|
|
6850
|
+
"value": "rgb(198, 198, 198)",
|
|
6851
|
+
"uuid": "9a4b4fc4-25e4-4ca8-b0d1-949c5851b47e"
|
|
6852
|
+
},
|
|
6853
|
+
"dark": {
|
|
6854
|
+
"value": "rgb(68, 68, 68)",
|
|
6855
|
+
"uuid": "c34dd99f-e576-4c98-a89d-86dd47514c55"
|
|
6856
|
+
},
|
|
6857
|
+
"wireframe": {
|
|
6858
|
+
"value": "rgb(183, 200, 235)",
|
|
6859
|
+
"uuid": "4634f126-2240-4de9-b244-ab2b833d70ef"
|
|
6860
|
+
}
|
|
6861
|
+
},
|
|
6862
|
+
"uuid": "dac0d761-d8c1-4b1f-bfbe-766651122ecf"
|
|
6863
|
+
}
|
|
6864
|
+
}
|
|
6865
|
+
},
|
|
6830
6866
|
"white": {
|
|
6831
6867
|
"value": "rgb(255, 255, 255)",
|
|
6832
6868
|
"uuid": "9b799da8-2130-417e-b7ee-5e1154a89837"
|
package/package.json
CHANGED
package/src/color-component.json
CHANGED
|
@@ -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/
|
|
379
|
-
"
|
|
380
|
-
|
|
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",
|
|
@@ -483,5 +493,21 @@
|
|
|
483
493
|
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/opacity.json",
|
|
484
494
|
"value": "0.1",
|
|
485
495
|
"uuid": "be8fac27-b644-492e-a89d-6c87cfecb8a1"
|
|
496
|
+
},
|
|
497
|
+
"action-bar-border-color": {
|
|
498
|
+
"component": "action-bar",
|
|
499
|
+
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/color-set.json",
|
|
500
|
+
"sets": {
|
|
501
|
+
"light": {
|
|
502
|
+
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
|
|
503
|
+
"value": "{transparent-white-25}",
|
|
504
|
+
"uuid": "166159cc-9353-4d22-90f0-64718533d73a"
|
|
505
|
+
},
|
|
506
|
+
"dark": {
|
|
507
|
+
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
|
|
508
|
+
"value": "{gray-400}",
|
|
509
|
+
"uuid": "dac0d761-d8c1-4b1f-bfbe-766651122ecf"
|
|
510
|
+
}
|
|
511
|
+
}
|
|
486
512
|
}
|
|
487
513
|
}
|