From 10185a3661d15a5f849153a39036a060f93d0a1e Mon Sep 17 00:00:00 2001 From: Dunqing Date: Fri, 25 Nov 2022 12:26:04 +0800 Subject: [PATCH] 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 * fix: same Co-authored-by: afc163 --- components/pagination/style/index.tsx | 1 + components/select/style/index.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/components/pagination/style/index.tsx b/components/pagination/style/index.tsx index 08a753f345a4..3b4707fa15e1 100644 --- a/components/pagination/style/index.tsx +++ b/components/pagination/style/index.tsx @@ -222,6 +222,7 @@ const genPaginationSimpleStyle: GenerateStyle = (tok borderRadius: token.borderRadius, outline: 'none', transition: `border-color ${token.motionDurationMid}`, + color: 'inherit', '&:hover': { borderColor: token.colorPrimary, diff --git a/components/select/style/index.tsx b/components/select/style/index.tsx index 66b8413e9d01..adc262db5b29 100644 --- a/components/select/style/index.tsx +++ b/components/select/style/index.tsx @@ -35,6 +35,7 @@ const genSelectorStyle: GenerateStyle = (token) => { input: { cursor: 'auto', + color: 'inherit', }, },