Skip to content

Commit 6cd48e5

Browse files
fix(actionbutton): quiet disabled+selected mod
1 parent 66f33c0 commit 6cd48e5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

components/actionbutton/index.css

+1-2
Original file line numberDiff line numberDiff line change
@@ -140,15 +140,14 @@
140140
--mod-actionbutton-background-color-hover: var(--mod-actionbutton-background-color-hover-selected, var(--spectrum-actionbutton-background-color-selected-hover));
141141
--mod-actionbutton-background-color-down: var(--mod-actionbutton-background-color-down-selected, var(--spectrum-actionbutton-background-color-selected-down));
142142
--mod-actionbutton-background-color-focus: var(--mod-actionbutton-background-color-focus-selected, var(--spectrum-actionbutton-background-color-selected-focus));
143+
--mod-actionbutton-background-color-disabled: var(--mod-actionbutton-background-color-selected-disabled, var(--spectrum-actionbutton-background-color-selected-disabled));
143144

144145
/* @deprecated --mod-actionbutton-static-content-color in favor of the more specific, state-based alternatives */
145146
--mod-actionbutton-content-color-default: var(--mod-actionbutton-content-color-default-selected, var(--mod-actionbutton-static-content-color, var(--spectrum-actionbutton-content-color-selected)));
146147
--mod-actionbutton-content-color-hover: var(--mod-actionbutton-content-color-hover-selected, var(--mod-actionbutton-static-content-color, var(--spectrum-actionbutton-content-color-selected)));
147148
--mod-actionbutton-content-color-down: var(--mod-actionbutton-content-color-down-selected, var(--mod-actionbutton-static-content-color, var(--spectrum-actionbutton-content-color-selected)));
148149
--mod-actionbutton-content-color-focus: var(--mod-actionbutton-content-color-focus-selected, var(--mod-actionbutton-static-content-color, var(--spectrum-actionbutton-content-color-selected)));
149150

150-
--spectrum-actionbutton-background-color-disabled: var(--spectrum-actionbutton-background-color-selected-disabled);
151-
152151
--spectrum-actionbutton-border-color-default: transparent;
153152
--spectrum-actionbutton-border-color-hover: transparent;
154153
--spectrum-actionbutton-border-color-down: transparent;

0 commit comments

Comments
 (0)