chore: update input and textarea focus styles

Signed-off-by: Innei <i@innei.in>
This commit is contained in:
Innei 2024-07-05 20:31:21 +08:00
parent 4b8c93ce98
commit c344439db3
No known key found for this signature in database
GPG Key ID: 0F62D33977F021F7
2 changed files with 2 additions and 0 deletions

View File

@ -22,6 +22,7 @@ export const Input = forwardRef<
"min-w-0 flex-auto appearance-none rounded-lg text-sm",
"bg-theme-background px-3 py-[calc(theme(spacing.2)-1px)] placeholder:text-zinc-400 dark:bg-zinc-700/[0.15]",
"ring-theme-accent/20 duration-200 focus:border-theme-accent/80 focus:outline-none focus:ring-2",
"focus:!bg-theme-accent/5",
"border border-border",
"dark:text-zinc-200 dark:placeholder:text-zinc-500",
props.type === "password" ?

View File

@ -86,6 +86,7 @@ export const TextArea = forwardRef<
"overflow-auto px-3 py-4",
"!outline-none",
"text-neutral-900/80 dark:text-slate-100/80",
"focus:!bg-theme-accent/5",
roundedMap[rounded],
className,
)}