how to override variables?


Topic: how to override variables?

victoriatech pro asked 2 months 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 2 months 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.
Status

Open

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: React
  • MDB Version: 5.0.1
  • Device: not important
  • Browser: not important
  • OS: win10
  • Provided sample code: No
  • Provided link: No
Tags