-
Accordion 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? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
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 Chakra's In the documentation link you just sent, you can see the list of components and which ones pull from specifically styled Chakra components:
So for example, if you changed your app's theme for I implemented things this way because I wanted users to be able to use this package without having to import anything into their normal theme, and so it would work the way it was intended to out of the box. The best way to style the components that make up this package would be to use the |
Beta Was this translation helpful? Give feedback.
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…