4 ms·
Sounds interesting. Can you tell some more about it? Do I understand correctly that you are replacing icons with SVG's? Or even the font of regular text?
by rambambram 4y ago
Sounds interesting. Can you tell some more about it? Do I understand correctly that you are replacing icons with SVG's? Or even the font of regular text?
- remram 4y agoInstead of including FA's stylesheets and fonts, you just have an SVG with some defs. Instead of having a <i class=...></i> to use an icon, which CSS turns into a specific character with a specific font name, which the font turns into a specific glyph from that font (usually SVG), you have a <svg><use ...></svg> You can use the same icon because FA is already using SVG fonts, you can copy and paste the icons out.
- iostream24 4y agoNot the OP, but you can save the paths as objects in your preferred programming language and then inject them into svg tags inline.