Skip to content

Commit 8577848

Browse files
authored
Add files via upload
1 parent aaa10c4 commit 8577848

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

web/js/appearance.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
import { app } from "/scripts/app.js";
22

33
const COLOR_THEMES = {
4-
segment: { nodeColor: "#222e40", nodeBgColor: "#364254", width: 320},
5-
utility: { nodeColor: "#2e3e57", nodeBgColor: "#4b5b73"},
4+
segment: { nodeColor: "#222e40", nodeBgColor: "#364254", width: 340},
5+
utility: { nodeColor: "#2e3e57", nodeBgColor: "#4b5b73", width: 320},
66
};
77

88
const NODE_COLORS = {
99
// Segmentation nodes
1010
"RMBG": "segment",
1111
"Segment": "segment",
12+
"SegmentV2": "segment",
1213
"FaceSegment": "segment",
1314
"ClothesSegment": "segment",
1415
"BodySegment": "segment",
@@ -29,9 +30,10 @@ const NODE_COLORS = {
2930
"AILab_MaskExtractor": "utility",
3031
"AILab_ImageStitch": "utility",
3132
"AILab_ImageCrop": "utility",
32-
"AILab_ImageCropObject": "utility",
3333
"AILab_ICLoRAConcat": "utility",
34+
"AILab_CropObject": "utility",
3435
"AILab_ImageCompare": "utility",
36+
"AILab_ColorInput": "utility",
3537
};
3638

3739
function setNodeColors(node, theme) {
@@ -61,4 +63,4 @@ const ext = {
6163
}
6264
};
6365

64-
app.registerExtension(ext);
66+
app.registerExtension(ext);

0 commit comments

Comments
 (0)