Jelajahi Sumber

💄 style(button): fix default button text color

- add text-white class to default button variant to ensure proper text color contrast
yourname 3 bulan lalu
induk
melakukan
124647ce4a
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      mini/src/components/ui/button.tsx

+ 1 - 1
mini/src/components/ui/button.tsx

@@ -7,7 +7,7 @@ const buttonVariants = cva(
   {
     variants: {
       variant: {
-        default: 'bg-primary text-primary-foreground hover:bg-primary/90',
+        default: 'bg-primary text-primary-foreground text-white hover:bg-primary/90',
         destructive: 'bg-destructive text-destructive-foreground hover:bg-destructive/90',
         outline: 'border border-input hover:bg-accent hover:text-accent-foreground',
         secondary: 'bg-secondary text-secondary-foreground hover:bg-secondary/80',