@adobe/spectrum-tokens 13.0.0-beta.57 → 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 +20 -0
- package/dist/json/drover.json +2 -0
- package/dist/json/variables.json +27 -0
- package/package.json +1 -1
- package/src/color-component.json +17 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
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
|
+
|
|
3
23
|
## 13.0.0-beta.57
|
|
4
24
|
|
|
5
25
|
### 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)",
|
|
@@ -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)",
|
package/dist/json/variables.json
CHANGED
|
@@ -6836,6 +6836,33 @@
|
|
|
6836
6836
|
"value": "0.1",
|
|
6837
6837
|
"uuid": "be8fac27-b644-492e-a89d-6c87cfecb8a1"
|
|
6838
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
|
+
},
|
|
6839
6866
|
"white": {
|
|
6840
6867
|
"value": "rgb(255, 255, 255)",
|
|
6841
6868
|
"uuid": "9b799da8-2130-417e-b7ee-5e1154a89837"
|
package/package.json
CHANGED
package/src/color-component.json
CHANGED
|
@@ -493,5 +493,21 @@
|
|
|
493
493
|
"$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/opacity.json",
|
|
494
494
|
"value": "0.1",
|
|
495
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
|
+
}
|
|
496
512
|
}
|
|
497
|
-
}
|
|
513
|
+
}
|