Files
lum3on-comfyui_LLM_Polymath/web/appearance.js
T
2025-02-04 21:27:16 +01:00

17 lines
517 B
JavaScript

import { app } from "../../scripts/app.js";
app.registerExtension({
<<<<<<< HEAD
name: "LLM-Polymath.appearance", // Extension name - was ist der richtige Name hier?
async nodeCreated(node) {
=======
name: "polymath.appearance", // Extension name - was ist der richtige Name hier?
nodeCreated(node) {
>>>>>>> da240e8 (first commit)
if (node.comfyClass === "polymath") {
// Apply styling
node.color = "#16727c";
node.bgcolor = "#4F0074";
}
}
});