DEV Community

Luke Secomb
Luke Secomb

Posted on

SASS in Lightening Web Components? (Salesforce Devs)

Is it possible to (nicely) use SASS (or similar css compiler) within the Salesforce lightening web components ecosystem?

And no, Salesforce Lightning Design System is not the answer.

Top comments (5)

Collapse
 
daveturissini profile image
David

It is possible! Are you doing open source development or working on the platform?

Collapse
 
karkranikhil profile image
Nikhil karkra

Working on platform using DX

Collapse
 
christianurena profile image
christian-urena

Did you find a way to do this? I would like to integrate scss to my salesforce project

Thread Thread
 
karkranikhil profile image
Nikhil karkra

Yes i have the solution. Let me write a blog or video on this.

Thread Thread
 
lukethacoder profile image
Luke Secomb

After working on platform for the past couple of years its almost an anti-pattern to be using SCSS on platform. With the addition of CSS components and --css-variables, there are very few things you'd still need SCSS for that you can't do with vanilla CSS these days.