Skip to content

Commit

Permalink
fix: incorrect Select and Pagination text color for dark theme (#38979)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
2 people authored and li-jia-nan committed Nov 25, 2022
1 parent 8d5b075 commit 10185a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions components/pagination/style/index.tsx
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions components/select/style/index.tsx
Expand Up @@ -35,6 +35,7 @@ const genSelectorStyle: GenerateStyle<SelectToken, CSSObject> = (token) => {

input: {
cursor: 'auto',
color: 'inherit',
},
},

Expand Down

0 comments on commit 10185a3

Please sign in to comment.