fix: incorrect Select and Pagination text color for dark theme (#38979)

* fix: incorrect select text for dark theme

* Update components/select/style/index.tsx

Co-authored-by: afc163 <afc163@gmail.com>

* fix: same

Co-authored-by: afc163 <afc163@gmail.com>
This commit is contained in:
Dunqing 2022-11-25 12:26:04 +08:00 committed by GitHub
parent e66fcbd449
commit 963f95faba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -222,6 +222,7 @@ const genPaginationSimpleStyle: GenerateStyle<PaginationToken, CSSObject> = (tok
borderRadius: token.borderRadius,
outline: 'none',
transition: `border-color ${token.motionDurationMid}`,
color: 'inherit',
'&:hover': {
borderColor: token.colorPrimary,

View File

@ -35,6 +35,7 @@ const genSelectorStyle: GenerateStyle<SelectToken, CSSObject> = (token) => {
input: {
cursor: 'auto',
color: 'inherit',
},
},