From 96d266d73cf8d16f5481baea33afd7f9bf2efc3e Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Thu, 21 Dec 2023 11:08:35 -0600 Subject: [PATCH] Input: fix search focus background color --- src/components/ui/input/input.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ui/input/input.tsx b/src/components/ui/input/input.tsx index e9510b7f5..bb8db57f3 100644 --- a/src/components/ui/input/input.tsx +++ b/src/components/ui/input/input.tsx @@ -93,7 +93,7 @@ const Input = React.forwardRef( 'text-gray-900 dark:text-gray-100': !props.disabled, 'text-gray-600': props.disabled, 'rounded-md bg-white dark:bg-gray-900 border-gray-400 dark:border-gray-800': theme === 'normal', - 'rounded-full bg-gray-200 border-gray-200 dark:bg-gray-800 dark:border-gray-800 focus:bg-white': theme === 'search', + 'rounded-full bg-gray-200 border-gray-200 dark:bg-gray-800 dark:border-gray-800 focus:bg-white dark:focus:bg-gray-900': theme === 'search', 'pr-10 rtl:pl-10 rtl:pr-3': isPassword || append, 'pl-8': typeof icon !== 'undefined', 'pl-16': typeof prepend !== 'undefined',