diff --git a/components/switch/style/index.less b/components/switch/style/index.less index 76a6481081ab..33a02150155c 100644 --- a/components/switch/style/index.less +++ b/components/switch/style/index.less @@ -18,7 +18,7 @@ line-height: @switch-height; vertical-align: middle; background-image: linear-gradient(to right, @disabled-color, @disabled-color), - linear-gradient(to right, @white, @white); + linear-gradient(to right, @component-background, @component-background); border: 0; border-radius: 100px; cursor: pointer;