Forum Discussion

stsm_glen's avatar
stsm_glen
Brass Contributor
Sep 27, 2018

Using variables/properties in Sass?

I'm developing a SharePoint SPFx web part and starting to work on a property pane for it. I've realized that users may want to configure the line height of text in my webpart, and I'd like to make that configurable as a property using the https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/basics/integrate-with-property-pane. I'm not sure how to access properties in an Sass file though, or if that's even possible? Is my only option to do this directly in the typescript code?

No RepliesBe the first to reply

Resources