Topic: how to override variables?

victoriatech free asked 3 years ago


Hey,

in node moduel, there is an empty file with name node_modules\mdbreact\dist\scss_custom-variables.

Is this file meant for our code? cuz in bootstrap overriding you just need to define your won .scss file with same name and you just need toimport it before you import bootstrap itself. But this approach somehow doesnt work with MDBin project. So how can we define for example our own pallete of colors?

Thanks in advance


Piotr Glejzer staff commented 3 years ago

Like I said before. You have to copy scss files from node_modules and you can do what you want with that.



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: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 5.0.1
  • Device: not important
  • Browser: not important
  • OS: win10
  • Provided sample code: No
  • Provided link: No