From 24142115c482f0f26fe3b920a167f7639a0c8929 Mon Sep 17 00:00:00 2001 From: Gemini Nexus Bot Date: Tue, 28 Apr 2026 03:53:38 -0300 Subject: [PATCH] style(components): refine core UI components for minimal aesthetics - card: switched to subtle borders (border-white/5) - input: increased height to h-10, enhanced focus transitions, removed internal shadows - button: removed default shadows for flatter appearance --- src/components/ui/button.tsx | 8 ++++---- src/components/ui/card.tsx | 2 +- src/components/ui/input.tsx | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/ui/button.tsx b/src/components/ui/button.tsx index 889a7a0..e1864d0 100644 --- a/src/components/ui/button.tsx +++ b/src/components/ui/button.tsx @@ -9,12 +9,12 @@ const buttonVariants = cva( { variants: { variant: { - default: 'bg-primary text-primary-foreground shadow-xs hover:bg-primary/90', + default: 'bg-primary text-primary-foreground shadow-none hover:bg-primary/90', destructive: - 'bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60', + 'bg-destructive text-white shadow-none hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60', outline: - 'border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50', - secondary: 'bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80', + 'border bg-background shadow-none hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50', + secondary: 'bg-secondary text-secondary-foreground shadow-none hover:bg-secondary/80', ghost: 'hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50', link: 'text-primary underline-offset-4 hover:underline', }, diff --git a/src/components/ui/card.tsx b/src/components/ui/card.tsx index 9f650e8..32b9180 100644 --- a/src/components/ui/card.tsx +++ b/src/components/ui/card.tsx @@ -5,7 +5,7 @@ const Card = React.forwardRef (
), diff --git a/src/components/ui/input.tsx b/src/components/ui/input.tsx index 0471f95..aca1249 100644 --- a/src/components/ui/input.tsx +++ b/src/components/ui/input.tsx @@ -9,7 +9,7 @@ const Input = React.forwardRef(