pref: 移除 useColorModeValue

UI调整
This commit is contained in:
zdl
2025-12-09 19:26:52 +08:00
parent 4f38505a80
commit 9423094af2
6 changed files with 44 additions and 43 deletions

View File

@@ -38,6 +38,8 @@ const SearchBar = ({
onChange={(e) => onInputChange(e.target.value)}
onKeyPress={onKeyPress}
borderRadius="md"
color="white"
_placeholder={{ color: 'whiteAlpha.600' }}
_focus={{
borderColor: 'blue.500',
boxShadow: '0 0 0 1px #3182ce',
@@ -45,10 +47,14 @@ const SearchBar = ({
/>
</InputGroup>
<Button
colorScheme="blue"
size="lg"
onClick={onSearch}
leftIcon={<SearchIcon />}
bg="#1A202C"
color="#C9A961"
borderWidth="1px"
borderColor="#C9A961"
_hover={{ bg: '#1a1a1a' }}
>
查询
</Button>