So, with the ongoing discussion about checklists, I decided I would try to combine the plaintext-checklist stylesheet Telumire created, and the SVG icon todo items by PMario and some SVG icons from TW Icons into a 2.0 plaintext-checklist, but I’m having issues with the SVGs and how they are choosing the line colors.
For instance, in order to get the stylesheet to work, I have to have each svg use a content-type of image/svg+xml
which then requires the inclusion of xmlns="http://www.w3.org/2000/svg"
, but in order to try and get the line color to change depending on the palette that is currently being used, I tried to add <g fill-rule="evenodd">
which breaks the SVG unless I add fill="currentColor"
SO.
Would someone who knows a bit more about SVGs than I do be able to help me figure out why I’m unable to get the fill color for the lines making up the SVGs to be whatever the font-color is of the current palette like the other core icons do I’m struggling…
I’ve attached an export of tiddlers I’ve put together to show what I’m talking about, you should be able to just import them into an empty edition of TiddlyWiki.
tiddlers.json (3.3 KB)