Topic: Creating custom skin for MBD React

Eero Penttinen free asked 3 years ago


For Angular, there is documentation how to create a custom skin - https://mdbootstrap.com/docs/angular/css/skins/#custom

Is the same documentation applicable also for React? There is no mention about custom skins in the React documentation though - https://mdbootstrap.com/docs/react/css/skins/


Krzysztof Wilk staff answered 3 years ago


Hi!

There's no direct tutorial on how to create a skin in MDB React. However - there's a guide on how to set up SCSS in your mdbreact project (https://mdbootstrap.com/docs/react/getting-started/installation/#sass). I think you can achieve a similar effect with it :)

Keep coding!


Eero Penttinen free commented 3 years ago

Thanks for the response. What I want to achieve is to be able to change the color of the sidebar (and the top bar). Is there a more straight forward way to achieve that?


Krzysztof Wilk staff commented 3 years ago

You can overwrite the scss files directly in the node_modules or copy only files you want, overwrite them and compile :) Using css instead of scss is also a solution



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: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: MDB4 4.9.0
  • Device: PC
  • Browser: Chrome
  • OS: Windows / Linux
  • Provided sample code: No
  • Provided link: Yes