Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS Preprocessors #31

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

CSS Preprocessors #31

wants to merge 2 commits into from

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