diff --git a/packages/design-system/src/css/style.css b/packages/design-system/src/css/style.css index 75019d207..769f52d55 100644 --- a/packages/design-system/src/css/style.css +++ b/packages/design-system/src/css/style.css @@ -88,6 +88,10 @@ --color-bypass: #6a246a; --color-error: #962a2a; + --color-comfy-menu-secondary: var(--comfy-menu-secondary-bg); + --text-xxxs: 0.5625rem; + --text-xxxs--line-height: calc(1 / 0.5625); + --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/CloudBetaBadge.vue b/src/components/topbar/CloudBetaBadge.vue new file mode 100644 index 000000000..78e8c1a60 --- /dev/null +++ b/src/components/topbar/CloudBetaBadge.vue @@ -0,0 +1,19 @@ + + diff --git a/src/components/topbar/TopMenubar.vue b/src/components/topbar/TopMenubar.vue index d5909766e..3586e1a86 100644 --- a/src/components/topbar/TopMenubar.vue +++ b/src/components/topbar/TopMenubar.vue @@ -2,15 +2,16 @@
+
@@ -39,14 +40,16 @@ import Actionbar from '@/components/actionbar/ComfyActionbar.vue' import CommandMenubar from '@/components/topbar/CommandMenubar.vue' import CurrentUserButton from '@/components/topbar/CurrentUserButton.vue' import WorkflowTabs from '@/components/topbar/WorkflowTabs.vue' +import { isCloud } from '@/platform/distribution/types' import { useSettingStore } from '@/platform/settings/settingStore' import { app } from '@/scripts/app' import { useWorkspaceStore } from '@/stores/workspaceStore' import { electronAPI, isElectron, isNativeWindow } from '@/utils/envUtil' +import CloudBetaBadge from './CloudBetaBadge.vue' + const workspaceState = useWorkspaceStore() const settingStore = useSettingStore() - const menuSetting = computed(() => settingStore.get('Comfy.UseNewMenu')) const betaMenuEnabled = computed(() => menuSetting.value !== 'Disabled') const showTopMenu = computed( diff --git a/src/locales/en/main.json b/src/locales/en/main.json index ed88901c5..c5ac3ca34 100644 --- a/src/locales/en/main.json +++ b/src/locales/en/main.json @@ -204,7 +204,8 @@ "volume": "Volume", "halfSpeed": "0.5x", "1x": "1x", - "2x": "2x" + "2x": "2x", + "beta": "BETA" }, "manager": { "title": "Custom Nodes Manager",