Color gradient variable

Topic: Color gradient variable

luqeckr asked a year ago

Hi, is there a list of color variable to use in scss ? for example if i want to use 'dusty-grass-gradient' i wrote like this: background-image: linear-gradient(120deg, #d4fc79 0%, #96e6a1 100%);

it's would be better if i could just write: background-image: $dusty-grass-gradient;

Damian Gemza staff answered a year ago

Dear luqeckr,

Unfortunately not. There's no such list of gradient variables. You have to do it manually like in the gradient documentation.

Best Regards,


Please insert min. 20 characters.


Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: Angular
  • MDB Version: 7.4.1
  • Device: laptop
  • Browser: Chrome
  • OS: Ubuntu
  • Provided sample code: No
  • Provided link: No