Przeglądaj źródła

💄 style(button): fix default button text color

- add text-white class to default button variant to ensure proper text color contrast
yourname 3 miesięcy temu
rodzic
commit
124647ce4a
1 zmienionych plików z 1 dodań i 1 usunięć
  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',