Skip to content

Commit

Permalink
fix(toggle): update disabled toggle tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
emyarod committed Apr 27, 2021
1 parent 0a9703d commit a448d36
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions packages/components/src/components/toggle/_toggle.scss
Original file line number Diff line number Diff line change
Expand Up @@ -405,11 +405,11 @@
cursor: not-allowed;

&::before {
background-color: $layer-disabled;
background-color: $disabled-02;
}

&::after {
background-color: $icon-disabled;
background-color: $disabled-03;
}

&::before,
Expand All @@ -425,21 +425,6 @@
box-shadow: none;
}

// disabled toggle in data table #7351
.#{$prefix}--data-table
.#{$prefix}--toggle-input:disabled
+ .#{$prefix}--toggle-input__label
> .#{$prefix}--toggle__switch::before {
background-color: $button-disabled;
}

.#{$prefix}--data-table
.#{$prefix}--toggle-input:disabled
+ .#{$prefix}--toggle-input__label
> .#{$prefix}--toggle__switch::after {
background-color: $icon-on-color-disabled;
}

//----------------------------------------------
// Small toggle
// ---------------------------------------------
Expand Down

0 comments on commit a448d36

Please sign in to comment.