Problem with full palette..


Topic: Problem with full palette..

lvothnrv asked 11 months ago

Hi friends, well I'm calling on you because I try everything I still can't find the solution to my problem ... I would like to use full pallets but I don't understand how to use them... If anyone has an example that would be nice. I am using MDBReact


Wojciech Staniszewski staff answered 11 months ago

These are just colors, which can be used in CSS or SCSS. You could use it to create Your own SCSS variables or take the hashcode of the color. To use the colors by variables, for example #EF9A9A, the variable will be $red-200.


lvothnrv commented 11 months ago

Ah ok I thought we could use direct in the form of a class because I had used as you said to make it work so that's fine we can only use it in the style files. Thank you for your answer.


Wojciech Staniszewski staff commented 11 months ago

Glad I could help :) Keep coding!


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: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: MDB5 1.0.0-beta6
  • Device: Computer
  • Browser: Safari
  • OS: MacOS
  • Provided sample code: No
  • Provided link: No