fix: Switch disabled color in dark theme

pull/5820/head
tangjinzhou 2022-05-21 17:27:32 +08:00
parent 63a688f94c
commit 9d1e5d72b5
1 changed files with 3 additions and 2 deletions

View File

@ -17,7 +17,8 @@
height: @switch-height;
line-height: @switch-height;
vertical-align: middle;
background-color: @disabled-color;
background-image: linear-gradient(to right, @disabled-color, @disabled-color),
linear-gradient(to right, @component-background, @component-background);
border: 0;
border-radius: 100px;
cursor: pointer;
@ -38,7 +39,7 @@
}
&-checked {
background-color: @switch-color;
background: @switch-color;
}
&-loading,