Skip to content

Conversation

darren131
Copy link

I was looking for a way to use Sass snippets rather than CSS snippets so I did some digging and discovered a very useful API for compiling CSS using preprocessors. (http://divshot.com/alloy)

I've modified the functions.php file to include the following configurations:

// Setup for CSS preprocessors
// Possible options here:
// css, sass, scss, less, stylus
define("STYLE_TYPE", "scss");
define("COMPASS", true); // if you're using Sass/scss, will you be using compass?

Simply update those to use your CSS preprocessor of choice.

Hopefully this will be useful to others.

@AaronHolbrook
Copy link

+100

@kittytessapuppy
Copy link

But is there a way for this to work without an internet connection?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants