Topic: After build custom theme the accordion does not reflect primary colo

Slavik priority asked 3 years ago


Expected behavior After build custom theme the accordion will respect primary color (set in theme) when rendered active item header

Actual behavior Themed accordion render active item header as blue (defaulr mdb primary color) Workaround: set primary and secondary color via _ariables.scss file

Resources (screenshots, code snippets etc.)

Theme definition:

@import './mdb/mdb/scss/mdb.pro.scss';
$my-theme-primary: #E09600; 
$my-theme-secondary: #6C757D; 
$my-theme: mdb-light-theme($my-theme-primary, $my-theme-secondary);
@include mdb-theme($my-theme);

_variables.scss

/*
$primary: #E09600 !default;
$secondary: #6C757D !default;
*/

enter image description here


Grzegorz Bujański staff answered 3 years ago


Thanks for reporting this bug. We will fix it as soon as possible.



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: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: 3.2.0
  • Device: PC
  • Browser: Edge
  • OS: W10
  • Provided sample code: No
  • Provided link: No