mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 09:26:06 +08:00
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:
parent
e66fcbd449
commit
963f95faba
@ -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,
|
||||
|
@ -35,6 +35,7 @@ const genSelectorStyle: GenerateStyle<SelectToken, CSSObject> = (token) => {
|
||||
|
||||
input: {
|
||||
cursor: 'auto',
|
||||
color: 'inherit',
|
||||
},
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user