chore: update input and textarea focus styles
Signed-off-by: Innei <i@innei.in>
This commit is contained in:
parent
4b8c93ce98
commit
c344439db3
|
|
@ -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" ?
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
)}
|
||||
|
|
|
|||
Loading…
Reference in New Issue