pref: 移除 useColorModeValue
UI调整
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user