User input for Sass constants?

1 view
Skip to first unread message

Lorin Tackett

unread,
Nov 24, 2008, 2:05:00 AM11/24/08
to ha...@googlegroups.com
This is a question more or less specific to Compass, but it can also
be a general Sass/Haml question.

I'm interested in creating something like http://kematzy.com/blueprint-generator/
but with the advent of a live preview of sorts. So the question is,
is it possible to pass user input to the Sass engine from the view,
render the CSS files and reload them without reloading the page?

-Lorin

Chris Eppstein

unread,
Nov 24, 2008, 9:51:56 AM11/24/08
to ha...@googlegroups.com
Yep. But you'll have to do some server side processing and Ajax
requests. I can help you with this.

Hampton has a similar thing running in his sass lab but it doesn't
handle sass imports like you'd need for compass.

Hunt & pecked on my iPhone... Sorry if it's brief!

On Nov 23, 2008, at 11:05 PM, Lorin Tackett <lorin....@gmail.com>
wrote:
Reply all
Reply to author
Forward
0 new messages