Color gradient variable


Topic: Color gradient variable

luqeckr asked 3 years 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 3 years 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,

Damian


Please insert min. 20 characters.
Status

Resolved

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