simplebits / Pears

http://pea.rs
GNU General Public License v2.0
1.4k stars 162 forks source link

CSS Preprocessors #31

Open darren131 opened 12 years ago

darren131 commented 12 years ago

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 commented 11 years ago

+100

kittytessapuppy commented 8 years ago

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