Skip to content

Commit ad090bd

Browse files
committed
fix: fixed the search bar styling to properly respect light and dark modes
1 parent e27c14c commit ad090bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/tools/components/SearchBar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const SearchBar = ({ transform }: { transform: Transform }) => {
1717
<div className='relative'>
1818
<input
1919
type='text'
20-
className='w-full px-4 py-2 border rounded-md shadow-sm focus:outline-none focus:ring bg-slate-800 text-white dark:border-slate-900 focus:border-blue-300 dark:bg-slate-900 transition-all duration-200'
20+
className='w-full px-4 py-2 border rounded-md shadow-sm focus:outline-none focus:ring bg-white text-slate-900 dark:bg-slate-800 dark:text-white dark:border-slate-900 focus:border-blue-300 transition-all duration-200'
2121
placeholder='Search'
2222
name='query'
2323
value={query}

0 commit comments

Comments
 (0)