On Thu, 25 Sep 2014 17:59:33 -0300, akshay <akshayestat...@gmail.com> wrote:

Hi,

Hi!

I am working on Theming the website and have a requirement where in I can
directly change the Less variables dynamically(something like color) of the menu bar, before they are compiled into the css.
Do we have any hook around for this?

Without Less, I add a <style> element to my template inside <body> and output the dynamic parts there, while keeping the static parts in a .css file.

With Less, you can try figuring out what's the Tapestry-IoC which compiles Less and use directly, probably creating a Tapestry page to return the resulting CSS wrapped in a StreamResponse.

--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to