From 8652bb70d6b4338ad0dd93edd291be62acf535a3 Mon Sep 17 00:00:00 2001 From: Vito Sansevero Date: Sun, 8 Feb 2026 06:35:43 -0800 Subject: [PATCH] feat: complete Phase 2 component redesign across all frontend files Migrate all remaining hardcoded Tailwind color classes to --pm-* design tokens across gallery.html, metadata.html, admin.js, gallery.js, and tags-page.js. Zero hardcoded color classes remain in HTML/JS files. - gallery.html: remove inline styles (now in comfyui-theme.css), strip gradients/decorative elements, tighten spacing for ComfyUI density - metadata.html: add theme imports, replace all color classes - admin.js: replace 164 color occurrences in template literals, convert raw hex values to CSS variable references - gallery.js: replace 161 color occurrences in template literals - tags-page.js: replace 30 color occurrences in template literals --- web/gallery.html | 741 ++++++++++++++---------------------- web/js/admin.js | 400 +++++++++---------- web/js/gallery.js | 408 ++++++++++---------- web/js/tags-page.js | 64 ++-- web/lib/tailwind/styles.css | 2 +- web/metadata.html | 84 ++-- 6 files changed, 768 insertions(+), 931 deletions(-) diff --git a/web/gallery.html b/web/gallery.html index 04c2e62..35c7400 100644 --- a/web/gallery.html +++ b/web/gallery.html @@ -1,183 +1,68 @@ - + PromptManager - Gallery + + - - +
-
+
-
-
- 🖼️ -
-
-

- PromptManager Gallery -

-

Browse all images from your ComfyUI output folder

-
-
-
-
+
-
-
- - - images + images
-
- - -
@@ -185,64 +70,61 @@
-
+
-
- +
+ Showing 0 to 0 of 0 images - Loading... + Loading...
-
+
-
+
-
-

Loading gallery...

+
+

Loading gallery...

-