From 7644a5e781a329c0fe16cb6d1c63374eea285dc8 Mon Sep 17 00:00:00 2001 From: Xc <124118265@qq.com> Date: Tue, 14 Jun 2022 20:13:59 +0800 Subject: [PATCH] style(components): [button] text-button bg mode add focus (#8232) --- packages/theme-chalk/src/button.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/theme-chalk/src/button.scss b/packages/theme-chalk/src/button.scss index d8fb691515..c8f34dcb94 100644 --- a/packages/theme-chalk/src/button.scss +++ b/packages/theme-chalk/src/button.scss @@ -180,7 +180,8 @@ $button-icon-span-gap: map.merge( @include when(has-bg) { background-color: getCssVar('fill-color', 'light'); - &:hover { + &:hover, + &:focus { background-color: getCssVar('fill-color'); }