Lines Matching refs:svg
15 'mdi' => "https://raw.githubusercontent.com/Templarian/MaterialDesign/master/svg/%s.svg",
16 'fab' => "https://raw.githubusercontent.com/FortAwesome/Font-Awesome/master/svgs/brands/%s.svg",
17 'fas' => "https://raw.githubusercontent.com/FortAwesome/Font-Awesome/master/svgs/solid/%s.svg",
18 'fa' => "https://raw.githubusercontent.com/FortAwesome/Font-Awesome/master/svgs/regular/%s.svg",
19 'twbs' => "https://raw.githubusercontent.com/twbs/icons/main/icons/%s.svg",
61 $save = $icon['name'] . '.svg';
136 $svg = $dom->getElementsByTagName('svg')->item(0);
139 if (!$svg->hasAttribute('viewBox')) {
140 $w = $svg->getAttribute('width');
141 $h = $svg->getAttribute('height');
143 $svg->setAttribute('viewBox', "0 0 $w $h");
148 $this->removeAttributes($svg, ['viewBox']);
181 $svg->setAttribute('xmlns', 'http://www.w3.org/2000/svg');
184 $svgdata = $dom->saveXML($svg);
220 $svg = $http->get($url);
222 if (!$svg) {
226 return $svg;