Topic: Suggestion: _colors.scss variables with !default
haushoppeits pro asked 5 years ago
It's impossible to override the colors without touching the existing file.Please use the "!default" statement (http://sass-lang.com/documentation/file.SASS_REFERENCE.html#Variable_Defaults___default) for _colors.scss.
Michal Szymanski staff answered 5 years ago
We have already fixed this issue in MDB jQuery 4.5.1 version. It will be also changed in MDB Angular in the newest release.
This topic is closed.
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Specification of the issue
- User: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
andrewv pro commented 5 years agoInteresting, I've just been hunting for the best way to override these colors without touching that _colors.scss. Looking through there it seems a little.. messy. Nice to have some out of the box colors I suppose, but seems difficult to create your own theme.
Bartłomiej Malanowski staff commented 5 years agoThanks for the suggestion. We'll add the `!default` statement to our variables
haushoppeits pro commented 5 years agoThumbs up!
CBSystemer pro commented 5 years agoThe same for $link-color in _variables.scss