Open CMTV opened 1 year ago
I have created a filter for scss:
filters: { 'scss': (text) => sass.compileString(text).css }
And it works just fine, but I also need to use data from template inside my filtered stylesheet:
// myTemplate.pug - let colorVar = '#fff'; style :scss a { b { color: #{colorVar}; } }
Is there a simple way to make this work?
I have created a filter for scss:
And it works just fine, but I also need to use data from template inside my filtered stylesheet:
Is there a simple way to make this work?