Closed Rotzbua closed 3 weeks ago
@bonanitech as you're probably the main user of the script, I'd value your input on which PR we should proceed with. We don't need both, but if you feel your PR addresses more items you'd like to see addressed, then we can go with that.
Thank you @knolleary
To be honest I don't use it anymore. I have one in the theme-collection repository.
But I think #3743 can benefit other people trying to create themes. With the changes made in that PR, the script will generate a file in the format Node-RED uses nowadays, containing only the CSS variables.
Thanks @bonanitech - we'll close this one in favour of your other PR.
Proposed changes
Migrate from legacy api (
node-sass
) to new api (dart-sass
). https://sass-lang.com/documentation/js-api/#md:legacy-apiEffectively only replaces the function call.
Reference
4723
Checklist
npm run test
to verify the unit tests pass