diff --git a/src/styles/components/switch.less b/src/styles/components/switch.less index bfd15a2..bf06d1d 100644 --- a/src/styles/components/switch.less +++ b/src/styles/components/switch.less @@ -166,6 +166,20 @@ } } + &-disabled.&-checked{ + border-color: @primary-color; + background-color: @primary-color; + opacity: .4; + + &:after { + background: #fff; + } + + .@{switch-prefix-cls}-inner { + color: #fff; + } + } + } @keyframes switch-loading { @@ -175,4 +189,4 @@ 100% { transform: rotate(360deg); } -} \ No newline at end of file +} -- libgit2 0.21.4