From 95a74020e10353c94f7ae47187b000bfe3304d37 Mon Sep 17 00:00:00 2001 From: Sube <53138073+Sube-py@users.noreply.github.com> Date: Sat, 7 Mar 2026 21:17:33 +0800 Subject: [PATCH] fix: align outline button text tone with usage refresh control (#1222) Co-authored-by: zhangluguang --- src/components/ui/button.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ui/button.tsx b/src/components/ui/button.tsx index 31c9f0da8..415ecd5e3 100644 --- a/src/components/ui/button.tsx +++ b/src/components/ui/button.tsx @@ -16,7 +16,7 @@ const buttonVariants = cva( "bg-red-500 text-white hover:bg-red-600 dark:bg-red-600 dark:hover:bg-red-700", // 轮廓按钮 outline: - "border border-border-default bg-background hover:bg-gray-100 hover:border-border-hover dark:hover:bg-gray-800", + "border border-border-default bg-background text-muted-foreground hover:bg-gray-100 hover:text-gray-900 hover:border-border-hover dark:hover:bg-gray-800 dark:hover:text-gray-100", // 次按钮:灰色(对应旧版 secondary) secondary: "text-gray-500 hover:bg-gray-100 dark:text-gray-400 dark:hover:bg-gray-800 dark:hover:text-gray-200",