mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-11 03:22:59 +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,
|
borderRadius: token.borderRadius,
|
||||||
outline: 'none',
|
outline: 'none',
|
||||||
transition: `border-color ${token.motionDurationMid}`,
|
transition: `border-color ${token.motionDurationMid}`,
|
||||||
|
color: 'inherit',
|
||||||
|
|
||||||
'&:hover': {
|
'&:hover': {
|
||||||
borderColor: token.colorPrimary,
|
borderColor: token.colorPrimary,
|
||||||
|
@ -35,6 +35,7 @@ const genSelectorStyle: GenerateStyle<SelectToken, CSSObject> = (token) => {
|
|||||||
|
|
||||||
input: {
|
input: {
|
||||||
cursor: 'auto',
|
cursor: 'auto',
|
||||||
|
color: 'inherit',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user