From 2142d23be9119813eb17adeffad831269f8d371b Mon Sep 17 00:00:00 2001 From: antonsimakov Date: Tue, 10 Dec 2024 14:04:13 +0000 Subject: [PATCH] fix: use proper font color Signed-off-by: antonsimakov --- .../core/components_ng/pattern/toggle/switch_theme_wrapper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frameworks/core/components_ng/pattern/toggle/switch_theme_wrapper.h b/frameworks/core/components_ng/pattern/toggle/switch_theme_wrapper.h index e85e26130562..bfcda1bea812 100644 --- a/frameworks/core/components_ng/pattern/toggle/switch_theme_wrapper.h +++ b/frameworks/core/components_ng/pattern/toggle/switch_theme_wrapper.h @@ -51,7 +51,7 @@ public: if (auto colors = theme.Colors(); colors) { inactiveColor_ = colors->CompBackgroundSecondary(); activeColor_ = colors->CompBackgroundEmphasize(); - pointColor_ = colors->CompBackgroundPrimary(); + pointColor_ = colors->CompBackgroundPrimaryContrary(); } } -- Gitee