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

Add Dark Mode Support #727

Open
pythonnelson opened this issue Jul 27, 2024 · 1 comment
Open

Add Dark Mode Support #727

pythonnelson opened this issue Jul 27, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@pythonnelson
Copy link

Hello,

First, I want to thank you for your work on the react-multi-select-component package. It has been incredibly useful for my Next.js project. However, I have encountered an issue with dark mode support.

Current Behavior:
Currently, the react-multi-select-component package does not seem to support dark mode. When switching to dark mode, the component's UI does not adapt accordingly, leading to poor user experience due to mismatched colors and readability issues.

Expected Behavior:
It would be great if the component could automatically adapt to dark mode based on the parent theme or if there were props or configuration options available to easily style the component for dark mode.

Additional Context:

  • I am using Next.js for my project.
  • The dark mode is implemented using CSS classes/tailwind classes in my project.

Proposed Solution:

  • Add default dark mode styling that activates based on a common dark mode class or media query.
  • Provide props or configuration options to customize the component's styling for dark mode.

Thank you for considering this request. Dark mode has become an essential feature for many applications, and support for it would greatly enhance the usability of this package.

Best regards,
Isaac NSB Kargbo

@pythonnelson pythonnelson added the bug Something isn't working label Jul 27, 2024
@yukendhiran
Copy link

Yeah I tought its problem with daisyUI, I also Experiencing the same, Other multi select component wrapped in thier own state, so I can not controll it with formik, like I cant conditionaly reset, but with this react-multi-select-component, I can able to control the state via formik, but it doesnot follow daisy ui, Did you find the work around?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants