Skip to content

Commit

Permalink
fix(datepicker):修改参数
Browse files Browse the repository at this point in the history
  • Loading branch information
SunLxy committed May 18, 2022
1 parent 8116c26 commit ffc5413
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/react-date-picker/src/style/year-month.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const WarpYear = styled.div<ThemeVariantValueOptions>`
color: ${(props) => getThemeVariantValue(props, 'backgroundColorPrimary')};
}
&.paging {
color: rgba(0, 0, 0, 0.25);
color: ${(props) => getThemeVariantValue(props, 'colorDatePickerPaging')};
}
}
}
Expand All @@ -41,6 +41,7 @@ WarpYear.defaultProps = {
colorPrimary: '#fff',
backgroundColorPrimary: '#008ef0',
backgroundColorPrimaryBasicHover: '#c7e8ff',
colorDatePickerPaging: 'rgba(0, 0, 0, 0.25)',
},
};
export default WarpYear;
1 change: 1 addition & 0 deletions theme/themeVariant.json5
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
boxShadowDatepickerTime1: 'rgba(16, 22, 26, 0.1)',
boxShadowDatepickerTime2: 'rgba(16, 22, 26, 0)',
boxShadowDatepickerTime3: 'rgba(16, 22, 26, 0.2)',
colorDatePickerPaging: 'rgba(0, 0, 0, 0.25)',

// ------------------------ collapse 折叠面板 -----------------------------------
borderColorCollapseBase: '#d9d9d9',
Expand Down

0 comments on commit ffc5413

Please sign in to comment.