[web-devel] lucius docs

Michael Snoyman michael at snoyman.com
Tue Apr 19 19:13:20 CEST 2011

I haven't put together any documentation on it yet unfortunately. The most
reliable place for examples is actually the runtests.hs program in the
Hamlet repo. But a very quick intro: you can use #{var} and @{url}
interpolation (I think it should work anywhere). Syntax is standard CSS,
with the single addition for the moment of nested blocks. That means that:

foo, bar {
   baz, bin {
      color: red;

Results in:

foo baz, foo bin, bar baz, bar bin {
    color: red;

I'll hopefully update the docs after 0.8 goes out.


On Tue, Apr 19, 2011 at 6:57 PM, Max Cantor <mxcantor at gmail.com> wrote:

> are there any blog posts or entries or good sample code to see the syntax
> for lucius?  is it the same as LESS but with #{xxx} interpolation?
> max
> _______________________________________________
> web-devel mailing list
> web-devel at haskell.org
> http://www.haskell.org/mailman/listinfo/web-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/web-devel/attachments/20110419/1998a6c3/attachment.htm>

More information about the web-devel mailing list