From f7e4e4f1b8fa2a2cb52f6abfac9dd750288256c7 Mon Sep 17 00:00:00 2001 From: Johnpaul Chiwetelu <49923152+Myestery@users.noreply.github.com> Date: Tue, 14 Oct 2025 04:01:19 +0100 Subject: [PATCH] Comfy Cloud Badge indicator (#6043) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary ## Changes - **What**: - **Breaking**: - **Dependencies**: ## Review Focus ## Screenshots (if applicable) ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-6043-Comfy-Cloud-Badge-indicator-28b6d73d365081b8b549ecc3beb2c132) by [Unito](https://www.unito.io) --- packages/design-system/src/css/style.css | 3 +++ src/components/topbar/TopMenubar.vue | 7 ++++-- src/components/topbar/TopbarBadges.vue | 32 ++++++++++++++++++++++++ src/extensions/core/cloudBadge.ts | 15 +++++++++++ src/extensions/core/index.ts | 1 + src/stores/topbarBadgeStore.ts | 18 +++++++++++++ src/types/comfy.ts | 12 +++++++++ 7 files changed, 86 insertions(+), 2 deletions(-) create mode 100644 src/components/topbar/TopbarBadges.vue create mode 100644 src/extensions/core/cloudBadge.ts create mode 100644 src/stores/topbarBadgeStore.ts diff --git a/packages/design-system/src/css/style.css b/packages/design-system/src/css/style.css index fcadf31de..0d72105c0 100644 --- a/packages/design-system/src/css/style.css +++ b/packages/design-system/src/css/style.css @@ -114,6 +114,9 @@ --color-bypass: #6a246a; --color-error: #962a2a; + /* Comfy menu colors */ + --color-comfy-menu-secondary: var(--comfy-menu-secondary-bg); + --color-blue-selection: rgb(from var(--color-blue-100) r g b / 0.3); --color-node-hover-100: rgb(from var(--color-charcoal-100) r g b/ 0.15); --color-node-hover-200: rgb(from var(--color-charcoal-100) r g b/ 0.1); diff --git a/src/components/topbar/TopMenubar.vue b/src/components/topbar/TopMenubar.vue index e7e049b35..1bed0d400 100644 --- a/src/components/topbar/TopMenubar.vue +++ b/src/components/topbar/TopMenubar.vue @@ -2,15 +2,16 @@