Prerequisites
Please answer the following questions for yourself before submitting an issue.
Description
Bootstrap is intended to be rebranded by overwriting only a few theming variables. This behaviour is very convenient and can be easily adapted in the material kit. I noticed several cases where this is not possible.
Expected Behavior
- Sass variables can be overwritten.
- Theme colors use specified brand variables. E.g. In _bootstrap-material-design.scss
$bg-dark is expected to use bootstrap variable $dark instead of gray-900
- cards use primary/info/warning/... with lighten functions to create gradient variables. E.g. for
.card-header-primary: background: linear-gradient(60deg, lighten($bg-primary, 10%), darken($bg-primary, 10%));
Current Behavior
- Some Sass variables in _bootstrap-material-design.scss are not defined as !default. E.g. all
$bg-* variables
- In _bootstrap-material-design.scss:
$bg-dark: $grey-900;
- cards use fixed colors to create gradient. e.g. in
.card-header-primary: background: linear-gradient(60deg, $purple-400, $purple-700);
Prerequisites
Please answer the following questions for yourself before submitting an issue.
Description
Bootstrap is intended to be rebranded by overwriting only a few theming variables. This behaviour is very convenient and can be easily adapted in the material kit. I noticed several cases where this is not possible.
Expected Behavior
$bg-darkis expected to use bootstrap variable$darkinstead ofgray-900.card-header-primary:background: linear-gradient(60deg, lighten($bg-primary, 10%), darken($bg-primary, 10%));Current Behavior
$bg-*variables$bg-dark: $grey-900;.card-header-primary:background: linear-gradient(60deg, $purple-400, $purple-700);