-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to change the range picker color #86
Comments
its purple and i dont see away to change its color |
@aboveyunhai any idea ? |
you should go through the readme, there is an example where you can change the style based on the state, propsConfigs={{
dateNavBtnProps: {}
dayOfMonthBtnProps: {
defaultBtnProps: {
borderColor: "red.300",
_hover: {
background: 'blue.400',
}
},
isInRangeBtnProps: {
color: "yellow",
},
selectedBtnProps: {
background: "blue.200",
color: "green",
},
todayBtnProps: {
background: "teal.400",
}
},
}} |
I cant get any of them to change the hover purple color even when you select them I can't change the purple color there as well. |
@shanoysinc something like isInRangeBtnProps: {
background: 'blue.300',
}, I highly suggest just skim though the source code as it's really simple. so you don't need to guess the default property and what to overwrite. |
Thanks @aboveyunhai I could have sworn I tried that and it didn't work |
The text was updated successfully, but these errors were encountered: