Select to view content in your preferred language

scss files

1073
3
04-09-2017 09:36 PM
GisGKAuckland
Deactivated User

can someone give me links on how scss files are incorporated into a widget.

has the conversion to css to be done manually? if so what tools are preferred in WAB

0 Kudos
3 Replies
RobertScheitlin__GISP
MVP Emeritus

A scss file needs to run through a css preprocessor like SASS to convert it to a standard css file. So the widget does not actually use the scss file. You can use Sass to convert it.

http://sass-lang.com/ 

GisGKAuckland
Deactivated User

Thanks for the same.

When you have a widget having scss files, how does one go about changing it in the current environment?

My problem is i had to change the color of a button, I opened the css and tried my lotto . It changed all over the place. Looking at the scss it was meaningful and I could pinpoint where to change it. Is there a better approach?

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

You would make your changes in the scss file and use sass to recompile your changes to the css file.

0 Kudos