function icon(name, set = "symbols") {
let unicode = "";
if (set === "symbols") {
unicode = l[name];
}
if (set === "material") {
const u1 = parseInt(l2[name], 16);
unicode = String.fromCodePoint(u1);
}
return html`<style>
@font-face {
font-family: "Symbols";
font-weight: 500;
font-style: normal;
src: url("${u}") format("woff2");
}
@font-face {
font-family: "Material Icons";
src: url("${u2}");
font-weight: normal;
font-style: normal;
}
.symbols {
font-family: "Symbols";
font-style: normal;
}
.material {
font-family: "Material Icons";
font-style: normal;
}
</style><i class="${set}">${unicode}<i/>`;
}