From 11e69f31ebb2f46f7c12c25082a191cd25d17c13 Mon Sep 17 00:00:00 2001 From: afc163 Date: Fri, 29 Apr 2022 23:29:47 +0800 Subject: [PATCH] fix: Switch disabled color in dark theme (#35332) --- components/switch/style/index.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;