anaisbetts / SassAndCoffee

SassAndCoffee adds support in ASP.NET MVC to (you guessed it!) Sass/SCSS and CoffeeScript
http://blog.paulbetts.org/index.php/2011/06/06/new-release-sassandcoffee-0-9-now-not-glacially-slow/
Microsoft Public License
199 stars 37 forks source link

API for compilation #60

Open Piedone opened 12 years ago

Piedone commented 12 years ago

It would be awesome to have an API that can be properly used from other code and what asks for a string and gives a compiled string back. The current Compile() method on SassCompiler is problematic, because the assumption that a SASS content is always a physical file on the local file system isn't always true.

mmadden commented 11 years ago

That's what I'm looking for to support user-defined themes which would simply override ZURB Foundation variables: a SASS/SCSS compiler that can be invoked from code with a string and also respects import/include directives (I'm new to SCSS) to load additional files from the server's file system. Then I could make the switch from dotLess and Bootstrap.