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

[Bug] Dark Mode theming does not seem to apply to Modals #336

Open
CryptoMF opened this issue Mar 6, 2022 · 1 comment
Open

[Bug] Dark Mode theming does not seem to apply to Modals #336

CryptoMF opened this issue Mar 6, 2022 · 1 comment

Comments

@CryptoMF
Copy link

CryptoMF commented Mar 6, 2022

Version

3.0.2

Reproduction link

https://www.creative-tim.com/learning-lab/bootstrap/modal/material-dashboard

Operating System

Windows 11

Device

Laptop

Browser & Version

Chrome 98.0.4758.102

Steps to reproduce

Create a modal using the code from the Creative Tim demo
Using the Dark Mode switching tool switch the dashboard to Dark Mode
Cause the modal to popup
The modal is still in the Light Mode theme

What is expected?

The modal should be themed in Dark Mode colors

What is actually happening?

The modal is popping up oin Light Mode colors


Solution

Additional comments

@groovemen
Copy link
Contributor

Hello @CryptoMF,

Thank you for your interest in working with our products, and for letting us know about this issue. We will fix it into the next product update.
Until then, what you can do is to set another background color for the "modal-content" class - something like this:

.dark-version .modal-content {
  background-color: #yourColor;
}

Hope this information helps you. Please let us know if we can help you with anything else.

All the best,
Stefan

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