diff --git a/packages/design-system/src/css/style.css b/packages/design-system/src/css/style.css index 0d72105c0..fcadf31de 100644 --- a/packages/design-system/src/css/style.css +++ b/packages/design-system/src/css/style.css @@ -114,9 +114,6 @@ --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 1bed0d400..e7e049b35 100644 --- a/src/components/topbar/TopMenubar.vue +++ b/src/components/topbar/TopMenubar.vue @@ -2,16 +2,15 @@
-
@@ -45,8 +44,6 @@ import { app } from '@/scripts/app' import { useWorkspaceStore } from '@/stores/workspaceStore' import { electronAPI, isElectron, isNativeWindow } from '@/utils/envUtil' -import TopbarBadges from './TopbarBadges.vue' - const workspaceState = useWorkspaceStore() const settingStore = useSettingStore() diff --git a/src/components/topbar/TopbarBadges.vue b/src/components/topbar/TopbarBadges.vue deleted file mode 100644 index a6a136dc5..000000000 --- a/src/components/topbar/TopbarBadges.vue +++ /dev/null @@ -1,32 +0,0 @@ - - - - diff --git a/src/extensions/core/cloudBadge.ts b/src/extensions/core/cloudBadge.ts deleted file mode 100644 index fddff2aaf..000000000 --- a/src/extensions/core/cloudBadge.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { isProductionEnvironment } from '@/config/environment' -import { useExtensionService } from '@/services/extensionService' - -useExtensionService().registerExtension({ - name: 'Comfy.CloudBadge', - // Only show badge when running in cloud environment - topbarBadges: isProductionEnvironment() - ? [ - { - label: 'BETA', - text: 'Comfy Cloud' - } - ] - : undefined -}) diff --git a/src/extensions/core/index.ts b/src/extensions/core/index.ts index de4ec3752..5354ef4e9 100644 --- a/src/extensions/core/index.ts +++ b/src/extensions/core/index.ts @@ -1,5 +1,4 @@ import './clipspace' -import './cloudBadge' import './contextMenuFilter' import './dynamicPrompts' import './editAttention' diff --git a/src/stores/topbarBadgeStore.ts b/src/stores/topbarBadgeStore.ts deleted file mode 100644 index e4547ae46..000000000 --- a/src/stores/topbarBadgeStore.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { defineStore } from 'pinia' -import { computed } from 'vue' - -import type { TopbarBadge } from '@/types/comfy' - -import { useExtensionStore } from './extensionStore' - -export const useTopbarBadgeStore = defineStore('topbarBadge', () => { - const extensionStore = useExtensionStore() - - const badges = computed(() => - extensionStore.extensions.flatMap((e) => e.topbarBadges ?? []) - ) - - return { - badges - } -}) diff --git a/src/types/comfy.ts b/src/types/comfy.ts index cad5b70c5..0ce8d89dc 100644 --- a/src/types/comfy.ts +++ b/src/types/comfy.ts @@ -18,14 +18,6 @@ export interface AboutPageBadge { icon: string } -export interface TopbarBadge { - text: string - /** - * Optional badge label (e.g., "BETA", "ALPHA", "NEW") - */ - label?: string -} - type MenuCommandGroup = { /** * The path to the menu group. @@ -79,10 +71,6 @@ export interface ComfyExtension { * Badges to add to the about page */ aboutPageBadges?: AboutPageBadge[] - /** - * Badges to add to the topbar - */ - topbarBadges?: TopbarBadge[] /** * Allows any initialisation, e.g. loading resources. Called after the canvas is created but before nodes are added * @param app The ComfyUI app instance