diff --git a/js/GriptapeNodes.js b/js/GriptapeNodes.js index 65cbea2..8d4e4f7 100644 --- a/js/GriptapeNodes.js +++ b/js/GriptapeNodes.js @@ -38,20 +38,19 @@ export class GriptapeNodes extends EventTarget { return griptapeMenuItems; } - injectGriptapeCss() { - let link = document.createElement("link"); - link.rel = "stylesheet"; - link.type = "text/css"; - link.href = "extensions/ComfyUI-Griptape/gtUI.css"; - document.head.appendChild(link); - } + // injectGriptapeCss() { + // let link = document.createElement("link"); + // link.rel = "stylesheet"; + // link.type = "text/css"; + // link.href = "extensions/ComfyUI-Griptape/gtUI.css"; + // document.head.appendChild(link); + // } } // Instantiate and export GriptapeNodes export const griptapeNodes = new GriptapeNodes(); // Make it available globally if needed -if (typeof window !== 'undefined') { +if (typeof window !== "undefined") { window.griptapeNodes = griptapeNodes; } - diff --git a/js/gtUI.css b/js/gtUI.css deleted file mode 100644 index a06a86a..0000000 --- a/js/gtUI.css +++ /dev/null @@ -1,37 +0,0 @@ -/* .gtUI-modal-content { - color: var(--fg-color); - font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; -} -.gtUI-title { - color: var(--fg-color); - font-weight: 200; - height: 100%; - width: 100%; - overflow: auto; -} - -.audio-container { - display: flex; - align-items: center; - justify-content: center; - margin-top: 20px; -} - -.play-pause-button { - background-color: #ff5722; - border: none; - border-radius: 50%; - color: white; - cursor: pointer; - font-size: 24px; - height: 50px; - width: 50px; -} - -.play-pause-button:focus { - outline: none; -} - -.button-icon { - font-size: 24px; -} */