Skip to content

Commit 2e44ebd

Browse files
authored
HCM: ActionButton/ToggleButton hover state color fixes (#4803)
* fix text color on hover * fix staticColor hover state
1 parent 57defbd commit 2e44ebd

File tree

1 file changed

+2
-2
lines changed
  • packages/@adobe/spectrum-css-temp/components/button

1 file changed

+2
-2
lines changed

packages/@adobe/spectrum-css-temp/components/button/skin.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ governing permissions and limitations under the License.
436436
&:hover {
437437
background-color: xvar(--spectrum-high-contrast-button-face, var(--spectrum-actionbutton-background-color-hover));
438438
border-color: xvar(--spectrum-high-contrast-highlight, var(--spectrum-actionbutton-border-color-hover));
439-
color: var(--spectrum-actionbutton-text-color-hover);
439+
color: xvar(--spectrum-high-contrast-button-text, var(--spectrum-actionbutton-text-color-hover));
440440

441441
.spectrum-Icon {
442442
fill: xvar(--spectrum-high-contrast-button-text, var(--spectrum-actionbutton-icon-color-hover));
@@ -1039,7 +1039,7 @@ governing permissions and limitations under the License.
10391039
--spectrum-actionbutton-static-background-color-selected-focus: Highlight;
10401040
--spectrum-actionbutton-static-background-color-selected-active: Highlight;
10411041
--spectrum-actionbutton-static-border-color: ButtonText;
1042-
--spectrum-actionbutton-static-border-color-hover: ButtonText;
1042+
--spectrum-actionbutton-static-border-color-hover: Highlight;
10431043
--spectrum-actionbutton-static-border-color-active: ButtonText;
10441044
--spectrum-actionbutton-static-border-color-focus: CanvasText;
10451045
--spectrum-actionbutton-static-border-disabled: GrayText;

0 commit comments

Comments
 (0)