appearence

This commit is contained in:
Fill
2025-05-29 21:57:47 +09:00
parent c8f00dc856
commit 8491465ac2
+14 -14
View File
@@ -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";
}
}
});