Skip to content

Commit 6bcc7d9

Browse files
committed
fix: disabled checkbox style
1 parent fc4d417 commit 6bcc7d9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/lib/sass/components/_theme-variables.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ body {
205205
--mm-switch-checked-thumb: #80cbc4;
206206
--mm-switch-unchecked-track: rgba(255, 255, 255, 0.6);
207207
--mm-switch-unchecked-thumb: #616161;
208-
--mm-switch-disabled-track: rgba(255, 255, 255, 0.12);
208+
--mm-switch-disabled-track: rgba(255, 255, 255, 0.2);
209209
--mm-switch-disabled-thumb: #424242;
210210

211211
// Table colors (auto dark theme)

packages/lib/sass/components/forms/_checkboxes.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
}
5252

5353
&:not(:checked):disabled + span:not(.lever):before {
54-
border: none;
54+
border-color: var(--mm-switch-disabled-track, variables.$input-disabled-color);
5555
background-color: variables.$input-disabled-color;
5656
}
5757

0 commit comments

Comments
 (0)