Using variables/properties in Sass?

Occasional Contributor

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 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?

0 Replies