[BUG] selectedOptionColor doesn't work except for predfined colors like blue, red, purple
Moshappp opened this issue · comments
Moshappp commented
Description
I tried to set colors in hexdecimal and rgb formats as well as from the chakra theme, nothing happened. react-select working as expected.
chakra-react-select Version
Latest
Link to Reproduction
No response
TypeScript?
- Yes I use TypeScript
Steps to reproduce
- Go to '...'
- Click on '...'
- Scroll down to '...'
- See error
Operating System
- macOS
- Windows
- Linux
- iOS/iPadOS
- Android
Additional Information
No response
Chris Sandvik commented
This is a duplicate of #77
You can set it to colors from the chakra theme, but only the name of the colors, not a specific number.
If you want to customize the colors more specifically than that you can use chakraStyles
. See the linked issue for an example, or I can provide one here tomorrow.
Moshappp commented
Thank you for the fast response, I have figured it out from the duplicate issue.