diff options
| author | Maze Winther <mazewinther@gmail.com> | 2025-07-06 23:59:26 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2025-07-06 23:59:26 +0200 |
| commit | 85a93ce0907aaa30eaa6a7d8843b987329fd85dd (patch) | |
| tree | 89de315c0c37e9a6abe347d9ab1e78fe2ca7d550 /apps | |
| parent | 6edd5b36cf7f09b8b146f57a880eb919c5fdad7f (diff) | |
| download | opencut-85a93ce0907aaa30eaa6a7d8843b987329fd85dd.tar.gz | |
fix: primary/foreground button
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/web/src/components/editor-header.tsx | 2 | ||||
| -rw-r--r-- | apps/web/src/components/landing/hero.tsx | 2 | ||||
| -rw-r--r-- | apps/web/src/components/ui/button.tsx | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/apps/web/src/components/editor-header.tsx b/apps/web/src/components/editor-header.tsx index 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.tsx index 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) { <Button type="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.tsx index 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", |
