Custom Theme


Topic: Custom Theme

MyHomeTendance pro premium priority asked 3 days ago

I'm using webpack in order to create a custom theme with my 2 main color.

index.scss file :

@import '~mdb-ui-kit/src/scss/mdb.pro.scss';

$my-theme-primary: #000000;

$my-theme-secondary: #FF0000;

$my-theme: mdb-light-theme($my-theme-primary, $my-theme-secondary);

@include mdb-theme($my-theme);

2 problems :


1st : when i execute "npm run build"

SassError: Can't find stylesheet to import. @import '~mdb-ui-kit/src/scss/mdb.pro.scss';

Because the file is in '~mdb-ui-kit/src/MDB/scss/mdb.pro.scss'; Why the path is not ok by default ?


2nd the modal does not have close button (Invisible cross) enter image description here


Please insert min. 20 characters.
Status

Open

Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: MDB 5
  • MDB Version: 3.2.0
  • Device: all
  • Browser: all
  • OS: all
  • Provided sample code: No
  • Provided link: No