Topic: MDB don't take into account Bootstrap overridden Sass variable.
Gambare free asked 5 years ago
Expected behavior
MDB to create custom colors variation for all class that have -primary -warning .... MDB should read the custom SASS variable declared in Bootstrap.
Actual behavior
Bootstrap create the theme colors (custom colors) so I have all the bootstrap class with my color (bg-funk, btn-outline-funk ... ) But MDB does not. I don't have the mdb class dropdown-funk
Resources (screenshots, code snippets etc.)
Here is the code (using Webpack Encore)
@import 'variables';
$theme-colors: (
funk: $app-funk,
nav: $app-nav
);
@import '~font-awesome';
@import '~bootstrap';
@import '../MDB-Pro_4.8.7/scss/mdb';
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Free
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.8.5
- Device: Doesn\'t matter
- Browser: Doesn\'t matter
- OS: Doesn\'t matter
- Provided sample code: No
- Provided link: No