Date Range Picker #2887
Unanswered
Bassonlinho
asked this question in
Q&A
Replies: 2 comments 7 replies
-
For shadow one, I think it's correct. For selected range buttons and the text color, use cellButton: [
// default text color
"text-red-300",
// selected case
"data-[selected=true]:bg-secondary",
"data-[selected=true]:text-secondary-foreground",
// hover case
"data-[hover=true]:bg-secondary-50",
"data-[hover=true]:text-secondary-400",
// selected and hover case
"data-[selected=true]:data-[hover=true]:bg-secondary",
"data-[selected=true]:data-[hover=true]:text-secondary-foreground",
] |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey I'm trying to style the content of the Date Range Picker. Other components that I use from NextUI I could style with no problem using classNames and hitting exact slot name to override the styles, but with Date Range Picker I'm unable to do so.
In particular, I want to style the selected range buttons, text color in general and remove the shadow from gridHeader.
I tried accessing calendarProps -> classNames and then hitting the classes I want since they're present there (or any other slot), but nothing changed
Am I doing it the right way or?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions