fix: primary/foreground button
This commit is contained in:
@ -37,7 +37,7 @@ export function EditorHeader() {
|
|||||||
|
|
||||||
const rightContent = (
|
const rightContent = (
|
||||||
<nav className="flex items-center gap-2">
|
<nav className="flex items-center gap-2">
|
||||||
<Button size="sm" onClick={handleExport}>
|
<Button size="sm" variant="primary" onClick={handleExport}>
|
||||||
<Download className="h-4 w-4" />
|
<Download className="h-4 w-4" />
|
||||||
<span className="text-sm">Export</span>
|
<span className="text-sm">Export</span>
|
||||||
</Button>
|
</Button>
|
||||||
|
@ -133,7 +133,7 @@ export function Hero({ signupCount }: HeroProps) {
|
|||||||
<Button
|
<Button
|
||||||
type="submit"
|
type="submit"
|
||||||
size="lg"
|
size="lg"
|
||||||
className="px-6 h-11 text-base"
|
className="px-6 h-11 text-base !bg-foreground"
|
||||||
disabled={isSubmitting}
|
disabled={isSubmitting}
|
||||||
>
|
>
|
||||||
<span className="relative z-10">
|
<span className="relative z-10">
|
||||||
|
@ -10,6 +10,8 @@ const buttonVariants = cva(
|
|||||||
variants: {
|
variants: {
|
||||||
variant: {
|
variant: {
|
||||||
default:
|
default:
|
||||||
|
"bg-foreground text-background shadow hover:bg-foreground/90",
|
||||||
|
primary:
|
||||||
"bg-primary text-primary-foreground shadow hover:bg-primary/90",
|
"bg-primary text-primary-foreground shadow hover:bg-primary/90",
|
||||||
destructive:
|
destructive:
|
||||||
"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",
|
"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",
|
||||||
|
Reference in New Issue
Block a user