diff --git a/packages/ui/src/components/primitives/button.tsx b/packages/ui/src/components/primitives/button.tsx index e5c9cfd0f1..b939724100 100644 --- a/packages/ui/src/components/primitives/button.tsx +++ b/packages/ui/src/components/primitives/button.tsx @@ -13,7 +13,7 @@ const buttonVariants = cva( destructive: 'bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60', outline: - 'border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50', + 'border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input dark:border-input dark:hover:bg-input/50', secondary: 'bg-secondary text-secondary-foreground hover:bg-secondary/80', ghost: 'hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50', link: 'text-primary underline-offset-4 hover:underline' diff --git a/packages/ui/src/components/primitives/combobox.tsx b/packages/ui/src/components/primitives/combobox.tsx index e52232e3d2..36b3fb7a0e 100644 --- a/packages/ui/src/components/primitives/combobox.tsx +++ b/packages/ui/src/components/primitives/combobox.tsx @@ -254,7 +254,7 @@ export function Combobox({ size={size} disabled={disabled} style={{ width: triggerWidth }} - className={cn(comboboxTriggerVariants({ state, size }), 'bg-white', className)} + className={cn(comboboxTriggerVariants({ state, size }), className)} aria-expanded={open} aria-invalid={error}> {renderTriggerContent()} diff --git a/packages/ui/src/styles/theme.css b/packages/ui/src/styles/theme.css index 959cd0b37a..c415bfb75f 100644 --- a/packages/ui/src/styles/theme.css +++ b/packages/ui/src/styles/theme.css @@ -420,7 +420,7 @@ /* Dark Mode 覆盖 */ /* ==================== */ -@theme dark { +/* @theme dark { --color-background: var(--cs-background); --color-foreground: var(--cs-foreground); --color-card: var(--cs-card); @@ -432,7 +432,7 @@ --color-accent: var(--cs-accent); --color-sidebar: var(--cs-sidebar); --color-sidebar-accent: var(--cs-sidebar-accent); -} +} */ /* ==================== */ /* Base Styles(可选) */