From 8491465ac21ac85692d609c4e15d02e331d5e7f6 Mon Sep 17 00:00:00 2001 From: Fill Date: Thu, 29 May 2025 21:57:47 +0900 Subject: [PATCH] appearence --- appearance.js => web/appearance.js | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) rename appearance.js => web/appearance.js (96%) diff --git a/appearance.js b/web/appearance.js similarity index 96% rename from appearance.js rename to web/appearance.js index b3c0dfc..e038922 100644 --- a/appearance.js +++ b/web/appearance.js @@ -1,15 +1,15 @@ -import { app } from "../../scripts/app.js"; - -app.registerExtension({ - name: "Fill-ChatterBox.appearance", // Extension name - async nodeCreated(node) { - // Check if the node's comfyClass starts with "FL_" - if (node.comfyClass.startsWith("FL_")) { - // Apply styling - node.color = "#16727c"; - node.bgcolor = "#4F0074"; - - - } - } +import { app } from "../../scripts/app.js"; + +app.registerExtension({ + name: "Fill-ChatterBox.appearance", // Extension name + async nodeCreated(node) { + // Check if the node's comfyClass starts with "FL_" + if (node.comfyClass.startsWith("FL_")) { + // Apply styling + node.color = "#16727c"; + node.bgcolor = "#4F0074"; + + + } + } }); \ No newline at end of file