[Zope-dev] Re: ZPT for CSS, anyone?
Shane Hathaway
shane at zope.com
Tue Mar 30 23:24:00 EST 2004
On 03/30/04 22:14, Shane Hathaway wrote:
> Here is a fairly transparent syntax to consider.
>
> p {
> color: gray;
> background-color: white;
> -tal-define: preferences context/preferences;
> -tal-attribute-color: preferences/foreground;
> -tal-attribute-background-color: preferences/background;
> }
>
> That would be pretty neat. It wouldn't be as expressive as ZPT, but
> that might be an asset.
BTW instead of TAL, it should be called SAL, Style Attribute Language.
TAL needs a sister. :-)
Shane
More information about the Zope-Dev
mailing list