Andrew Ford priority asked 3 years ago


I came across this, Bootstrap 5 & MD 2.0 Colors. What if the developer is going the old-fashion route with <link> and <script></script> tags?

With MDB4 I was using the classes .rgba-black-strong and .rgba-black-slight (which I just wrote custom LessCSS for since I upgraded to MDB5).

Preferring class names over inline CSS.

What are the equivalent class names? How do I write them? Or what are the equivalent HEX codes if I just should do inline CSS?


Grzegorz Bujański staff answered 3 years ago


Unfortunately, we do not have classes for all these colors. If you want to use them with variables you would have to add the appropriate classes and assign these variables to them in SASS. If you want to use inline CSS, the equivalent hex codes can be found on this page: https://mdbootstrap.com/docs/standard/content-styles/colors/



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: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: 3.2.0
  • Device: N/A
  • Browser: N/A
  • OS: N/A
  • Provided sample code: Yes
  • Provided link: Yes