Topic: Create-react-app - pro mdb - css / sass

Nates premium asked 5 years ago


I am a novice developer and have create-react-app with your pro reactjs mdb setup on my app.

Designers are saying to change certain colors.

Where exactly do I create the sass or css changes. I googled and it seems I need to create to change app.css to app.sass Either way can you direct me and also give me an example of changing the primary color and so on. Also documentation would be great.


Anna Morawska staff answered 5 years ago


I mean that you can clone our repository from GitHub and then copy scss directory from it. Unfortunately, you have to do it manually - if you want to overwrite our the default variables you need to compile your scss to css files.


Nates premium answered 5 years ago


Please explain the last point. Download the directory?

Is there not an automated way to do this?


Nates premium answered 5 years ago


Okay but if there is new version of the mdbreact pro as waa recently done do I have copy the files from node .modules everytime? Or this not an issue


Anna Morawska staff commented 5 years ago

Yes, you need to take care of updating your stylesheets after every new release - you can also download scss directory from our repository on gitlab.


Anna Morawska staff answered 5 years ago


Hi there,

please check out this instruction. I hope this will help

Best, Ania



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: Premium
  • Premium support: Yes
  • Technology: MDB React
  • MDB Version: 4.11.1
  • Device: All
  • Browser: All
  • OS: Windows
  • Provided sample code: No
  • Provided link: No
Tags