Skip to content
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

Dropdown does not work well with ChakraUI darkmode #44

Open
Rugz007 opened this issue Jan 16, 2022 · 1 comment
Open

Dropdown does not work well with ChakraUI darkmode #44

Rugz007 opened this issue Jan 16, 2022 · 1 comment

Comments

@Rugz007
Copy link

Rugz007 commented Jan 16, 2022

The drop-down color remains white when the theme is set to dark mode. Is there a way we can customize the drop-down as well?

Image

@burhanuday
Copy link
Owner

Aware of the issue. A solution would be to pass an additional prop like listStyles or listClassName and pass the properties to the <ul> tag.

Another way would be to stop using CSS modules. this way, classnames remain overridable making it easy for consumers to change specific styles by adding additional rules

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants