Complete overhaul
This commit is contained in:
1 parent
de4bbf9700
commit
201a1466de
23 files changed
+4394
-1563
No files matched your search
@@ -0,0 +1,6 @@
|
||||
import txt from "@fortawesome/fontawesome-free/sprites/brands.svg"
|
||||
const iconset = document.createElement("ha-iconset-svg");
|
||||
iconset.name="fab";
|
||||
iconset.size="1024";
|
||||
iconset.innerHTML = txt.replace(/\<symbol/g, '<g').replace(/\<\/symbol\>/g, '</g>');
|
||||
document.body.appendChild(iconset);
|
||||
@@ -0,0 +1,6 @@
|
||||
import txt from "@fortawesome/fontawesome-free/sprites/regular.svg"
|
||||
const iconset = document.createElement("ha-iconset-svg");
|
||||
iconset.name="far";
|
||||
iconset.size="1024";
|
||||
iconset.innerHTML = txt.replace(/\<symbol/g, '<g').replace(/\<\/symbol\>/g, '</g>');
|
||||
document.body.appendChild(iconset);
|
||||
@@ -0,0 +1,6 @@
|
||||
import txt from "@fortawesome/fontawesome-free/sprites/solid.svg"
|
||||
const iconset = document.createElement("ha-iconset-svg");
|
||||
iconset.name="fas";
|
||||
iconset.size="1024";
|
||||
iconset.innerHTML = txt.replace(/\<symbol/g, '<g').replace(/\<\/symbol\>/g, '</g>');
|
||||
document.body.appendChild(iconset);
|
||||
Reference in new issue
Block a user