How to use customized skins on 4.5.1?


Topic: How to use customized skins on 4.5.1?

newtongamajr pro asked 7 years ago

I didn't find how to use this new feature implemented on 4.5.1. Could you please, give me some help?

Marta Szymanska staff pro premium answered 7 years ago

Hi, This functionality will be improved in the next release which will be in May and we describe it in our documentation of skins but for now, I can tell you a few steps to do it. You need to use SCSS files to create your own skin.
  1. In your package, in SCSS folder, you can see _custom.scss file, so create another file in the same place, eg. _custom-skin.scss.
  2. Next, in the mdb.scss file, import your new file like on the second screen.
  3. In your _custom-skin.scss file, add an object with colors and change "test" for your name and values of colors. Save the file and recompile.
  4. Add your new skin to the body tag in your index.html file and save the file. After that, you should see your own skin.
I hope it helps you and I can say that in the next MDB package it will be so much easier. 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

Resolved

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No