Skip to content


Browse files Browse the repository at this point in the history
refactor(form): simplified toggle icon styles
  • Loading branch information
mlaursen committed Apr 21, 2021
1 parent b278230 commit adb6b06
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions packages/form/src/toggle/_mixins.scss
Expand Up @@ -3,6 +3,7 @@

@import '~@react-md/button/dist/mixins';
@import '~@react-md/icon/dist/mixins';
@import '~@react-md/progress/dist/mixins';
@import '~@react-md/states/dist/mixins';
@import '~@react-md/theme/dist/mixins';
Expand Down Expand Up @@ -101,16 +102,9 @@
@mixin rmd-toggle-icon {
@include rmd-icon-theme(height, size);
@include rmd-icon-theme(width, size);

.rmd-icon {
color: inherit;
fill: currentColor;
height: inherit;
width: inherit;
@include rmd-icon-theme-update-var(color, $rmd-toggle-inactive-color);

align-items: center;
color: $rmd-toggle-inactive-color;
display: inline-flex;
justify-content: center;
pointer-events: none;
Expand Down

0 comments on commit adb6b06

Please sign in to comment.