Skip to content

How do you customize parts of the Select input in the theme file? #242

Answered by csandman
kyin42 asked this question in Q&A
Discussion options

You must be logged in to vote

According to the documentation the Select theme has two parts, the field and the icon. But Also accordion to the documentation I can customize the styles of many more parts https://github.com/csandman/chakra-react-select#chakrastyles but have to do it directly on the Select itself. Is there a way to style these parts on the theme instead?

If by this you mean the documentation from the original Select component, these theme styles are actually not used at all. A few of the subcomponents of this package pull in styles from the base chakra theme, but they're pulled in from various components' themes. For example, the styles of the basic select element without the dropdown are pulled from C…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@kyin42
Comment options

@csandman
Comment options

Answer selected by kyin42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants