Mat, Note that we may have few parent like 20 ~ 50 parent tiddlers but hundreds of child tiddlers (if any parent has 25 child tiddlers then we may have 1250 ). In my solution dynamic stylesheet will produce 25 line if each theme has 30 line then the stylesheet will grow up to 750 line! too many!
On Monday, July 1, 2019 at 7:10:24 PM UTC+4:30, Mat wrote: > > Mohammad wrote: >> >> How is it possible to conditionally and dynamically apply CSS to a >> tiddler? Assume you have a child tiddler and you want to style it based on >> a theme filed value from parent. >> > > > Read > https://tiddlywiki.com/prerelease/#Custom%20styles%20by%20data-tiddler-title > > [data-tiddler-title="the child"] { > {{fieldfromparent}} > } > > > > <:-) > > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/cf5001b9-e5ab-4cb2-ad64-f16bb74aabc7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

