Folks,
I seem to have solved it as follows,
<svg fill="green" width="32px" height="32px">
<$transclude tiddler={{!!icon}}/>
</svg>
But having some problem with transclusion.
But I should be able to correct that.
Regards
Tony
On Thursday, August 9, 2018 at 6:48:55 PM UTC+10, TonyM wrote:
>
> Folks,
>
> I wanted to make better use of the tiddlywiki supplied svg images by
> colouring them. I came up with the following;
>
> <svg fill="green">
> <$transclude tiddler={{!!icon}}/>
> </svg>
>
> The fill overrides that in the image. good stuff
>
> However the unfortunate side effect is the icon is appearing 30% of the
> way across the tiddler and I am not so sure how to get it to left align.
>
> Any advice would be helpful.
>
> Thanks in advance
> Tony
>
>
>
>
--
You received this message because you are subscribed to the Google Groups
"TiddlyWikiDev" 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/tiddlywikidev.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywikidev/de8983a9-d3cd-4230-b2d3-c36185232775%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.