coffeekup icon indicating copy to clipboard operation
coffeekup copied to clipboard

Added support for http://learnboost.github.com/stylus/

Open cmikec opened this issue 14 years ago • 6 comments

A new language that compiles to CSS, closer to CoffeeScript ideals than others I've seen. This patch enables stylus support in coffeekup. Example usage:

html ->
  head ->
    stylus """
      body
        background black
        color white
    """
  body ->
    p "Hello inverse world."

cmikec avatar Feb 01 '11 18:02 cmikec

Wouldn't it be cooler to rewrite stylus in coffeescript?

aeosynth avatar Feb 02 '11 00:02 aeosynth

@aeosynth - Absolutely. :) I thought about it and I'll take a stab at it if I have the time. For now though, this gets the job done. You want to work on it together?

cmikec avatar Feb 02 '11 02:02 cmikec

https://github.com/aeosynth/ccss - contributors welcome :) .

aeosynth avatar Feb 02 '11 10:02 aeosynth

Cool. When I get some time I'll hack on it. :) Do you intend ccss to be pure CSS or are you interested in having ccss -> stylus -> css?

cmikec avatar Feb 04 '11 09:02 cmikec

I don't see why we should depend on stylus. also, if you want to talk, message me directly or open a ccss issue - we're just generating noise for maurice.

aeosynth avatar Feb 04 '11 13:02 aeosynth

Not sure if this should be a plugin in a future extension mechanism or a builtin. Please see issue #51.

mauricemach avatar Jul 12 '11 15:07 mauricemach