Oh no! I misread your OP. You want the custom link color applied for
"every link *TO* a tiddler tagged with purple", but my solution is for
"every link *IN* a tiddler tagged with purple"
Here's the solution for links TO a tiddler with a linkcolor field:
<$list filter="[has[linkcolor]]">
<div>
a.tc-tiddlylink[href$="{{{ [<currentTiddler>encodeuri[]] }}}"] {
color:{{{ [<currentTiddler>get[linkcolor]] }}}; }
</div>
</$list>
It defines a rule for each a.tc-tiddlylink element that has an "href"
attribute value ending with the name of the matching tiddler.
Note that the matching tiddler's title has to be URI encoded (replacing
spaces with %20)
enjoy,
-e
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/7e11ea22-9ad1-4b29-ab30-8b37322e5503n%40googlegroups.com.