We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b278230 commit adb6b06Copy full SHA for adb6b06
packages/form/src/toggle/_mixins.scss
@@ -3,6 +3,7 @@
3
////
4
5
@import '~@react-md/button/dist/mixins';
6
+@import '~@react-md/icon/dist/mixins';
7
@import '~@react-md/progress/dist/mixins';
8
@import '~@react-md/states/dist/mixins';
9
@import '~@react-md/theme/dist/mixins';
@@ -101,16 +102,9 @@
101
102
@mixin rmd-toggle-icon {
103
@include rmd-icon-theme(height, size);
104
@include rmd-icon-theme(width, size);
-
105
- .rmd-icon {
106
- color: inherit;
107
- fill: currentColor;
108
- height: inherit;
109
- width: inherit;
110
- }
+ @include rmd-icon-theme-update-var(color, $rmd-toggle-inactive-color);
111
112
align-items: center;
113
- color: $rmd-toggle-inactive-color;
114
display: inline-flex;
115
justify-content: center;
116
pointer-events: none;
0 commit comments