Topic: Problem in _helpers.scss

lifestar pro asked 6 years ago


In version 4.5.1 you added
@include bg-variant(".bg-#{$name}", $color);
in loop
@each $name, $color in $basic-mdb-colors
Simple question: why? So, you override the colors I assigned in the bootstrap variables. I know how to fix this, but let us control the colors without creating duplicates in variables

Marta Wierzbicka staff answered 6 years ago


Hi,

in MDB package we overwrite some of Bootstrap styles, includes colors, so we have own colors for Bootstrap .bg-* classes and we declare everything in scss/core/_variables.scss file. Any conflicts with Bootstrap variables we'll fix in the next release which will be in May.

Best,

Marta



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: Yes
  • Provided link: No
Tags