Topic: Customize mdbootstrap 4.4 beta with sass
we are wondering which is the correct way to customize, let's say, mdbootstrap4.4beta colors, using sass.
There is indeed the file _custom.scss which gets imported at the end of mdb.scss.
Unfortunately not a single variable of mdbootstrap has "!default" which means that any changes made in _custom.scss are discarded (due to sass variable precedence).
Following this pull request, we added "!default" to the vars we needed and it seems to solve our builds.
This also seems to be the way bootstrap4 handles it's variable declarations.
This topic is closed.
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Pro
- Premium support: No
- Technology: MDB jQuery
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: Yes