Topic: MDB's _variables-b4.scss very different to Bootstrap's _variables.scss
Leo Merkel pro asked 8 years ago
_variables.scss
plus the additions of _variables-b4.scss
? Or do I get something wrong here?
Due to the fact that we never change vendor files, I copy the needed variables in _my-variables.scss
and import the files into main.scss
:
@import 'my-b4-variables';
@import '../../../bower_components/bootstrap/scss/bootstrap';
@import 'my-mdb-variables';
@import 'vendor/mdb';
That works fine. But because of the differences between _variables-b4.scss
and _variables.scss
I always have to look in two files if I want to change a B4-Variable. Example: In _variables-b4.scss
there's a variable called $card-bg-color
which is named $card-bg
in Bootstrap's _variables.scss
.
That's kind of annoying and perhaps someone can clarify this.
Hope my question is clear and tnx for support.
Regards, Leo
Bartłomiej Malanowski staff answered 8 years ago
Leo Merkel pro answered 8 years ago
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- ForumUser: Pro
- Premium support: No
- Technology: General Bootstrap questions
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: Yes
- Provided link: No