diff options
| author | Maze Winther <mazewinther@gmail.com> | 2025-08-27 11:26:28 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2025-08-27 11:26:28 +0200 |
| commit | ebe1b38bdf572b5aa787e21218022f209720b17a (patch) | |
| tree | a02345267865bf950e25a7e58c88bac051db86e5 /apps/web/src/components/ui/textarea.tsx | |
| parent | 88c4d160e02c040c50c5b9252c761c50f56e1ae5 (diff) | |
| download | opencut-ebe1b38bdf572b5aa787e21218022f209720b17a.tar.gz | |
style: properties panel
Diffstat (limited to 'apps/web/src/components/ui/textarea.tsx')
| -rw-r--r-- | apps/web/src/components/ui/textarea.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/web/src/components/ui/textarea.tsx b/apps/web/src/components/ui/textarea.tsx index b9004a34..d9ae9ea6 100644 --- a/apps/web/src/components/ui/textarea.tsx +++ b/apps/web/src/components/ui/textarea.tsx @@ -9,7 +9,9 @@ const Textarea = React.forwardRef< return ( <textarea className={cn( - "flex min-h-[60px] w-full rounded-md border border-input bg-background px-3 py-2 text-base shadow-xs placeholder:text-muted-foreground focus-visible:outline-hidden focus-visible:ring-0 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-xs", + "file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex min-h-[60px] w-full rounded-md border bg-accent/50 px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm", + "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[2px]", + "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive", className )} ref={ref} |
