Skip to content

Commit 0bfd84c

Browse files
author
Shayan Roshan
committed
reverted to disabled, added theme token disabled
1 parent 6873aae commit 0bfd84c

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

sam-styles/packages/components/button/styles/button.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -515,8 +515,8 @@ $button-shadow: 0 0.25rem 0.5rem 0 rgba(0, 0, 0, 0.2);
515515
&--disabled,
516516
&:disabled {
517517
box-shadow: none;
518-
@include u-border("base-light");
519-
@include u-bg("base-light");
518+
@include u-border("disabled");
519+
@include u-bg("disabled");
520520
@include u-text("white");
521521
border-width: 2px !important;
522522
border-style: solid !important;
@@ -526,7 +526,7 @@ $button-shadow: 0 0.25rem 0.5rem 0 rgba(0, 0, 0, 0.2);
526526
&.usa-button--unstyled {
527527
box-shadow: none;
528528
@include u-bg("transparent");
529-
@include u-text("base-light");
529+
@include u-text("disabled");
530530
}
531531
}
532532
}

sam-styles/packages/theme/settings.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ Theme palette colors
7070
State palette colors
7171
----------------------------------------
7272
*/
73+
// Disabled color
74+
$theme-color-disabled : 'gray-20',
7375

7476
// Error colors
7577
$theme-color-error-family : 'red-vivid',

0 commit comments

Comments
 (0)