Topic: btn-secondary doesn't respect color setting

Roman priority asked 1 year ago


Hello MDB Team, I have a question about button

<button type="button" class="btn btn-outline-secondary" data-mdb-ripple-color="dark">Login</button>

In the file src\mdb\scss\free_variables.scss there are some settings for buttons colors (lines 971–1028). I don't know why the btn-secondary has absolute color value. I think it will be better to be a relative value depending on former settings.

Expected behavior

line 981: 'background-color': $secondary

Actual behavior

line 981: 'background-color': #e3ebf7,

Resources (screenshots, code snippets etc.)

src\mdb\scss\free_variables.scss

line 633: $secondary: #9fa6b2 !default;

Marta Wierzbicka staff commented 1 year ago

Hi,

thank you for your attention to this bug, we will fix this in the next release.

Keep coding, 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

Opened

Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 6.1.0
  • Device: PC
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: No