The open-source CapCut alternative
fix: primary/foreground button
Maze Winther85a93ce0907a
diff --git a/apps/web/src/components/editor-header.tsx b/apps/web/src/components/editor-header.tsxindex e3d2359e..daeb14cb 100644--- a/apps/web/src/components/editor-header.tsx+++ b/apps/web/src/components/editor-header.tsx@@ -37,7 +37,7 @@ export function EditorHeader() {const rightContent = (<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" /><span className="text-sm">Export</span></Button>diff --git a/apps/web/src/components/landing/hero.tsx b/apps/web/src/components/landing/hero.tsxindex 113d7579..d45f33ed 100644--- a/apps/web/src/components/landing/hero.tsx+++ b/apps/web/src/components/landing/hero.tsx@@ -133,7 +133,7 @@ export function Hero({ signupCount }: HeroProps) {<Buttontype="submit"size="lg"- className="px-6 h-11 text-base"+ className="px-6 h-11 text-base !bg-foreground"disabled={isSubmitting}><span className="relative z-10">diff --git a/apps/web/src/components/ui/button.tsx b/apps/web/src/components/ui/button.tsxindex d4406d5b..234230f6 100644--- a/apps/web/src/components/ui/button.tsx+++ b/apps/web/src/components/ui/button.tsx@@ -10,6 +10,8 @@ const buttonVariants = cva(variants: {variant: {default:+ "bg-foreground text-background shadow hover:bg-foreground/90",+ primary:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",