Pantheon Community

Looking to Implement SCSS

I’m looking to start using SCSS in WordPress, but I’ve been told there’s no way to install anything directly onto the platform that will do any type of pre-processing of assets. There are challenges within the company I work for that eliminate the option of pre-processing locally, so I was hoping someone might know of a solid workaround that plays nicely with Pantheon.

Hi @jon4896! I’m working on a more formalized integration with CircleCI to set up a workflow where you can push to GitHub/BitBucket and have CircleCI perform steps like Sass compilation. In fact Sass compilation is the very first example I wrote:

Let me know if this helps you or if you’d like more info.

@steve.persch , in reading the instructions, it appears you still need a local clone of your Pantheon site.

@jon4896, are you allowed to have local clones at all, just that pre-processing locally not allowed? Or all local clones disallowed?

I’m hoping for an easier workflow for pre-processing scss myself. Currently I keep a local clone, pull the multidev branch, compile and manually upload edited and compiled files. (That keeps me from having dozens of commits, as actually running a local site is fraught with peril and wastes time.)


Hi @anne, yeah, the Orb doesn’t help in the situation of doing real-time development on a multidev or dev. I could envision a Pantheon-specific gulp or grunt integration that wrapped up some of the complexity of doing what you’re doing now.

1 Like