TangibleInc / template-system

A template system for WordPress with content type loops and conditions
https://docs.loopsandlogic.com/reference/template-system/
8 stars 3 forks source link

Update Sass/SCSS #85

Closed BenTangible closed 7 months ago

BenTangible commented 8 months ago

Hey @eliot-akira, could you update the version of SASS in the plugin? I'm told some of the frontend folks have encountered linting issues and I know we've got a few open issues related to L&L's style tab. Might be worth updating that to see if that might address the issues people have encountered. Sorry I don't have more specifics, I've just been asked to be the messenger to ask for an update :)

eliot-akira commented 7 months ago

For reference, there are two parts to Sass support in the Template System.

As you've probably noticed, the Sass language is a moving target and SCSS-PHP implements only a subset of the specs. Maintaining compatibility has been a bit of a pain, and I'm also somewhat dissatisfied with the direction the language is changing recently.

I'm wondering if we can eventually transition to using plain CSS as the default, since CSS has grown to incorporate Sass-like features such as variables and nested rules. Another angle I'm considering is to use the browser-build of the official compiler ("reference implementation") called dart-sass. I've noted down the idea for the future:

Anyway, I've upgraded both front/backend Sass support. Still didn't solve, for example, this issue: