On Wednesday, February 11, 2015 at 2:07:21 PM UTC-5, Andrew wrote:
>
> Is there a way to get a tag icon to automatcally change to foreground or 
> background color like the text does with contrast? Yellow and light blue 
> for example. Or, is there a way to manually configure it?


I ran into this problem just yesterday and made it work by encapsulating 
the SVG drawing elements in the <g fill-rule="evenodd"></g> tag and turning 
off the mime-type in the tiddler. So the SVG should have the structure:

<svg ... >
> <g fill-rule="evenodd">
> <path ... />
> ...
> <rect ... />
> ...
> </g>
> </svg>


Removing the content type and *not* defining it as image/svg+xml seems to 
be key. I don't know if having to remove the mime-type is a feature or a 
bug but having it undefined seems to still allow it to be used in Chrome at 
least. I haven't checked other browsers.

/Mike

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to