Skip to content

Commit

Permalink
fix(button): sets default text colors
Browse files Browse the repository at this point in the history
  • Loading branch information
cdransf committed Sep 13, 2024
1 parent a7b4912 commit 4157992
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/button/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,10 @@ a.spectrum-Button {
/* Windows High Contrast Mode */
@media (forced-colors: active) {
.spectrum-Button {
--highcontrast-button-content-color-default: ButtonText;
--highcontrast-button-content-color-hover: ButtonText;
--highcontrast-button-content-color-focus: ButtonText;
--highcontrast-button-content-color-down: ButtonText;
--highcontrast-button-content-color-disabled: GrayText;
--highcontrast-button-border-color-disabled: GrayText;
--mod-progress-circle-track-border-color: ButtonText;
Expand Down

0 comments on commit 4157992

Please sign in to comment.