@@ -39,14 +39,14 @@ export default function CustomSelect<T extends string>({
3939 < button
4040 type = "button"
4141 onClick = { ( ) => setOpen ( ( prev ) => ! prev ) }
42- className = "w-full px-4 py-2 border border-gray-300 dark:border-gray-600 rounded-lg bg-white dark:bg-gray-800 text-gray-900 dark:text-gray-100 flex items-center justify-between shadow-sm hover:border-primary-500 focus:outline-none focus:ring-2 focus:ring-primary-500"
42+ className = "w-full px-4 py-2.5 border border-dark-border rounded-lg bg-dark-card text-white flex items-center justify-between shadow-sm hover:border-primary-500/60 focus:outline-none focus:ring-2 focus:ring-primary-500/50 focus:border-primary-500 transition-colors "
4343 >
4444 < span className = "flex items-center gap-2" >
4545 { current ?. icon && < span className = "text-lg" > { current . icon } </ span > }
46- < span > { current ?. label ?? placeholder } </ span >
46+ < span className = "text-sm" > { current ?. label ?? placeholder } </ span >
4747 </ span >
4848 < svg
49- className = { `w-4 h-4 text-gray-500 dark:text-gray- 400 transition-transform ${ open ? 'rotate-180' : '' } ` }
49+ className = { `w-4 h-4 text-gray-400 transition-transform duration-200 ${ open ? 'rotate-180' : '' } ` }
5050 fill = "none"
5151 stroke = "currentColor"
5252 viewBox = "0 0 24 24"
@@ -57,7 +57,7 @@ export default function CustomSelect<T extends string>({
5757 </ button >
5858
5959 { open && (
60- < div className = "absolute z-20 mt-2 w-full bg-white dark:bg-gray-900 border border-gray-200 dark:border-gray-700 rounded-lg shadow-lg max-h-64 overflow-y-auto" >
60+ < div className = "absolute z-20 mt-2 w-full bg-dark-card border border-dark-border rounded-lg shadow-soft-xl max-h-64 overflow-y-auto animate-slide-down " >
6161 { options . map ( ( opt ) => {
6262 const isActive = opt . value === value
6363 return (
@@ -68,10 +68,10 @@ export default function CustomSelect<T extends string>({
6868 onChange ( opt . value )
6969 setOpen ( false )
7070 } }
71- className = { `w-full text-left px-4 py-2 flex items-center gap-2 text-sm ${
71+ className = { `w-full text-left px-4 py-2.5 flex items-center gap-2 text-sm transition-colors ${
7272 isActive
73- ? 'bg-primary-50 dark:bg -primary-900/30 text-primary-700 dark:text -primary-200 '
74- : 'text-gray-800 dark:text-gray-100 hover:bg-gray -100 dark: hover:bg-gray-800 '
73+ ? 'bg-primary-600/20 text -primary-400 border-l-2 border -primary-500 '
74+ : 'text-gray-300 hover:bg-dark -100 hover:text-white '
7575 } `}
7676 >
7777 { opt . icon && < span className = "text-lg" > { opt . icon } </ span > }
0 commit comments