diff --git a/src/app/globals.css b/src/app/globals.css index 049d95a..be01870 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -134,6 +134,19 @@ h1, h2, h3, h4, h5, h6, color: var(--color-cream); } +/* Button outline variant - explicit hover fix */ +.btn-outline { + background-color: transparent; + color: var(--color-ink); + border: 2px solid var(--color-ink); + transition: all 0.2s ease; +} + +.btn-outline:hover { + background-color: var(--color-ink); + color: var(--color-cream); +} + /* Cards */ .card-editorial { background-color: white; @@ -180,6 +193,7 @@ textarea:focus { .text-muted { color: var(--color-ink-muted); } .text-ink { color: var(--color-ink); } .text-ink-light { color: var(--color-ink-light); } +.text-cream { color: var(--color-cream); } /* Background colors */ .bg-cream { background-color: var(--color-cream); } diff --git a/src/components/ui/button.tsx b/src/components/ui/button.tsx index 1e14704..e37377b 100644 --- a/src/components/ui/button.tsx +++ b/src/components/ui/button.tsx @@ -17,9 +17,9 @@ const Button = forwardRef( // Variants { // Primary - Black button - 'bg-ink text-cream hover:bg-accent': variant === 'default', - // Outline - Border button - 'border-2 border-ink bg-transparent text-ink hover:bg-ink hover:text-cream': variant === 'outline', + 'btn-primary': variant === 'default', + // Outline - Border button (uses CSS class for reliable hover) + 'btn-outline': variant === 'outline', // Ghost - No background 'text-ink hover:bg-cream-dark': variant === 'ghost', // Accent - Coral button