add instance styling

This commit is contained in:
2022-12-14 14:30:46 -08:00
parent b5901cb002
commit ffa468fba2
2 changed files with 11 additions and 0 deletions

View File

@@ -12,6 +12,12 @@ class Instance extends HTMLElement {
styleLink.type = "text/css";
shadowRoot.append(styleLink);
let instanceLink = document.createElement("link");
instanceLink.rel = "stylesheet";
instanceLink.href = "css/instance.css";
instanceLink.type = "text/css";
shadowRoot.append(instanceLink);
this.shadowElement = shadowRoot;
}