Compassで何故か自動的にjavascript をフォルダ作られるけど、そういえばこれ使ったことねーな、と思ってたら js と絡めた拡張を書くことができるそうだ。
https://groups.google.com/forum/#!topic/compass-users/rjAntZ8RZgs
例えば compass の jquery 拡張がこれ。
https://github.com/kosmas58/compass-jquery-plugin/tree/master/templates
使い方はわかりません。
css だけだと実現が難しい時に js を使うことはよくあるので、何か簡単なチュートリアルでもあれば爆発的に広まりそうだな。