1

Is it possible to incorporate Less in the lightning project?

If possible, provide me with any manual on the topic you know about, please.

Here is what I tried out:

  1. Uploaded the library file as a static resource to the salesforce.

  2. Included it in one of my components.

  3. Try to use the less benefits (in my case variables) in the .css of the component.

And the last steps fails:

enter image description here

And this question does not explain why my Less incorporation does not work out for me.

3
  • LDS internally uses SAAS. Is there a reason you want to use LESS instead of LDS?
    – RedDevil
    May 28, 2018 at 7:54
  • @RedDevil, never heard about LDS. I just got used to LESS and after moving to salesforce would like to use it. Could you, please, provide me some kind of tutorials or manual on LDS? Since, I was not able to find one. May 28, 2018 at 7:59
  • SLDS: lightningdesignsystem.com May 29, 2018 at 5:52

1 Answer 1

0

Lightning framework has tokens for this.

In case the link invalidates, please, just google token design system salesforce.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .