fix: 简化按钮点击描边并保留键盘焦点提示

This commit is contained in:
GouJ
2026-09-04 10:29:20 +08:00
parent f3657ea0a6
commit 37f11911b1
2 changed files with 22 additions and 1 deletions
+3 -1
View File
@@ -107,7 +107,9 @@ export function useTheme() {
borderHover: 'none',
borderPressed: 'none',
borderDisabled: 'none',
borderFocus: focusBorder,
// 点击只通过底色反馈,避免残留绿框和向外扩散的粗波纹;键盘焦点由 :focus-visible 保留。
borderFocus: 'none',
waveOpacity: '0',
opacityDisabled: '1',
colorDisabled: disabledColor,
textColorDisabled: disabledText,