Hacker News new | past | comments | ask | show | jobs | submit login

You can customize whatever you like by using var(--color, #000) in SVG and --color: #123 in CSS. No need for any tools. :)



Or just inherit colour that was set for text.

    path { stroke: currentColor; }
https://developer.mozilla.org/en-US/docs/Web/CSS/color_value...


Only if you're including the markup inline as opposed to as an image, which may or may not be desirable!


Yes, you need at least xlink to an external SVG file. But that's pretty close to <img>. It's just one more element.




Applications are open for YC Summer 2020

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: