Skip to content

armgit / fuobe

Public Imported from GitHub
0

The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.

Liner: dialog overlay and titles, one name for the open engine

Claudef3a1cbaef757
diff --git a/src/components/canvas/nodes.tsx b/src/components/canvas/nodes.tsx
index 806b37a8..f0578162 100644
--- a/src/components/canvas/nodes.tsx
+++ b/src/components/canvas/nodes.tsx
@@ -628,7 +628,7 @@ function EngineBadge({ model }: { model?: ModelDef }) {
return (
<span className={cn("inline-flex h-5 shrink-0 items-center gap-1 rounded-full px-1.5 text-[10px] font-semibold", open ? "bg-success/15 text-success" : "bg-brand-faint text-brand-text")}>
{open ? <Cpu className="size-3" /> : <Cloud className="size-3" />}
- {open ? "Open" : "Cloud"}
+ {open ? "Open source" : "Cloud"}
</span>
);
}
diff --git a/src/components/studio/engine-switch.tsx b/src/components/studio/engine-switch.tsx
index e2de7e9c..e7327c56 100644
--- a/src/components/studio/engine-switch.tsx
+++ b/src/components/studio/engine-switch.tsx
@@ -82,11 +82,15 @@ export function EngineSwitch({
)}
>
<o.icon className="size-3.5" />
- <span className={cn(compact && "hidden sm:inline")}>{size === "sm" && o.value === "open" ? "Open" : o.label}</span>
+ {/* One name at every size ("Open" alone read like a verb next to Home's send button). */}
+ <span className={cn(compact && "hidden sm:inline")}>{o.label}</span>
</button>
</TooltipTrigger>
<TooltipContent>
- <span className="font-medium">{o.label}</span> · {o.tip}
+ {/* One span: the tooltip lays its children out in a row. */}
+ <span>
+ <span className="font-medium">{o.label}</span> · {o.tip}
+ </span>
</TooltipContent>
</Tooltip>
))}
diff --git a/src/components/studio/model-picker.tsx b/src/components/studio/model-picker.tsx
index 5b35909c..749e1c55 100644
--- a/src/components/studio/model-picker.tsx
+++ b/src/components/studio/model-picker.tsx
@@ -101,7 +101,7 @@ function ModelRow({
{showEngine && (
<span className="inline-flex shrink-0 items-center gap-0.5 rounded-[4px] bg-muted px-1 text-[10px] leading-4 font-medium text-muted-foreground">
{m.engine === "open" ? <Cpu className="size-2.5!" /> : <Cloud className="size-2.5!" />}
- {m.engine === "open" ? "Open" : "Cloud"}
+ {m.engine === "open" ? "Open source" : "Cloud"}
</span>
)}
</span>
@@ -218,7 +218,7 @@ function PickerList({ models, value, onChange, engine, onEngineChange, defaultMo
<span aria-hidden>·</span>
<span className="min-w-0">
Demo — no key connected, outputs are placeholders.{" "}
- <Link href="/settings" className="text-brand-text hover:underline">
+ <Link href="/settings" className="text-brand-text underline underline-offset-2">
Connect
</Link>
</span>
diff --git a/src/components/ui/alert-dialog.tsx b/src/components/ui/alert-dialog.tsx
index 6a1ce6b0..51435581 100644
--- a/src/components/ui/alert-dialog.tsx
+++ b/src/components/ui/alert-dialog.tsx
@@ -36,7 +36,7 @@ function AlertDialogOverlay({
<AlertDialogPrimitive.Overlay
data-slot="alert-dialog-overlay"
className={cn(
- "fixed inset-0 z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",
+ "fixed inset-0 z-50 bg-overlay duration-100 data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",
className
)}
{...props}
@@ -123,7 +123,7 @@ function AlertDialogTitle({
<AlertDialogPrimitive.Title
data-slot="alert-dialog-title"
className={cn(
- "font-heading text-base font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2",
+ "font-heading text-[22px] leading-tight font-normal sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2",
className
)}
{...props}
diff --git a/src/components/ui/dialog.tsx b/src/components/ui/dialog.tsx
index b3ded214..d30a8c16 100644
--- a/src/components/ui/dialog.tsx
+++ b/src/components/ui/dialog.tsx
@@ -39,7 +39,7 @@ function DialogOverlay({
<DialogPrimitive.Overlay
data-slot="dialog-overlay"
className={cn(
- "fixed inset-0 isolate z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",
+ "fixed inset-0 isolate z-50 bg-overlay duration-100 data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",
className
)}
{...props}
@@ -130,7 +130,7 @@ function DialogTitle({
<DialogPrimitive.Title
data-slot="dialog-title"
className={cn(
- "font-heading text-base leading-none font-medium",
+ "font-heading text-[22px] leading-tight font-normal",
className
)}
{...props}
diff --git a/src/components/ui/sheet.tsx b/src/components/ui/sheet.tsx
index aed44899..22d1f461 100644
--- a/src/components/ui/sheet.tsx
+++ b/src/components/ui/sheet.tsx
@@ -37,7 +37,7 @@ function SheetOverlay({
<SheetPrimitive.Overlay
data-slot="sheet-overlay"
className={cn(
- "fixed inset-0 z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",
+ "fixed inset-0 z-50 bg-overlay duration-100 data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",
className
)}
{...props}
@@ -114,7 +114,7 @@ function SheetTitle({
<SheetPrimitive.Title
data-slot="sheet-title"
className={cn(
- "font-heading text-base font-medium text-foreground",
+ "font-heading text-[20px] leading-tight font-normal text-foreground",
className
)}
{...props}