View Single Post
Old 11-23-2024, 09:28 AM   #6
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,369
Karma: 20212733
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by Jellby View Post
Or if you use an SVG image, I believe you can leave one of the colors unspecified and it will use the current text color. However, I'm not sure if this is actually part of the spec, or if it's easily done with any image editor software (SVG files are text, you could always edit the text), or if ebook readers will actually support it.

Oooooh - that sounds exciting!! Can you point to a how-to or something??

Edit:
I found this

Quote:
When applied to an SVG, applying currentColor to the fill or stroke property allows you to inherit the parent element’s text color or the text color applied to the element itself.

fill: currentColor;
stroke: currentColor;
Time to go play!

Last edited by Turtle91; 11-23-2024 at 09:35 AM.
Turtle91 is offline   Reply With Quote