Topic: switch-primary not working
Sekra24 pro asked 6 years ago
Hey, I tried to add a switch with primary color but I can't use it out of the box. I had to create a css rule for that. Can you integrate the switch and checkbox styles in your core mdb.css?
Thank you.
Add comment
Bartłomiej Malanowski staff answered 6 years ago
Regular MDB Pro contains only basic switches. We also created extended components (ex. more versions of the switch). We intentionally did not add these styles to our package. Why? That would increase the size of our package. However, we're planning to release the package that will contain all of the pro and extended components. Currently, I cannot provide you an exact date. At the moment I recommend you to add styles that you like to your scss source. Inside your copy of MDB, you'll find a file named "_custom-styles.scss", which is the best place to put your custom styles
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Answered
Specification of the issue
- ForumUser: Pro
- Premium support: No
- Technology: MDB jQuery
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
Tags