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.

A11y: readable secondary text, heading order and spoken names

Claude38a23463b188
diff --git a/src/components/ads/multiplier.tsx b/src/components/ads/multiplier.tsx
index 71d5aa08..0abf2437 100644
--- a/src/components/ads/multiplier.tsx
+++ b/src/components/ads/multiplier.tsx
@@ -471,7 +471,7 @@ export function AdMultiplier({ models }: { models: Record<string, ModelInfo> })
<div className="flex flex-wrap items-center justify-end gap-3 border-t pt-4">
<p className="mr-auto text-[12px] text-muted-foreground">{est.data?.steps.length ? est.data.steps.map((s) => s.label).join(" → ") : "New versions keep the reference's length and framing"}</p>
{cost && <span className="font-mono text-[13px] text-muted-foreground">{cost}</span>}
- <Button size="lg" onClick={() => void generate()} aria-disabled={!!blocker || !!busy} className={cn(blocker && "bg-muted text-subtle-foreground hover:bg-muted")} title={blocker}>
+ <Button size="lg" onClick={() => void generate()} aria-disabled={!!blocker || !!busy} className={cn(blocker && "bg-muted text-muted-foreground hover:bg-muted")} title={blocker}>
{busy ? <Loader2 className="animate-spin" /> : <Sparkles />} {busy ?? (versions > 1 ? `Generate ${versions} versions` : "Generate")}
</Button>
</div>
@@ -491,7 +491,7 @@ export function AdMultiplier({ models }: { models: Record<string, ModelInfo> })
}
/>
</div>
- <p className="flex flex-wrap items-center justify-center gap-1.5 pt-6 text-center text-[12px] text-subtle-foreground">
+ <p className="flex flex-wrap items-center justify-center gap-1.5 pt-6 text-center text-[12px] text-muted-foreground">
<Sparkles className="size-3" /> Cloud: Seedance 2.5 edit (Higgsfield), Kling O3 edit, Gemini Omni Flash · Open source: Wan 2.2 Animate, Wan 2.2 clips joined around your ad
</p>
</div>
diff --git a/src/components/assist/composer.tsx b/src/components/assist/composer.tsx
index e96cfdd9..82fd8668 100644
--- a/src/components/assist/composer.tsx
+++ b/src/components/assist/composer.tsx
@@ -172,7 +172,7 @@ export function AssistComposer({
className="max-h-[min(18rem,var(--radix-popover-content-available-height))] w-[min(var(--radix-popover-trigger-width),40rem)] gap-0 overflow-y-auto rounded-2xl border bg-popover p-1 shadow-strong ring-0"
>
<div role="listbox" id={listId} aria-label="Skills">
- <p className="px-2.5 pt-1.5 pb-1 text-[11px] font-medium text-subtle-foreground">Skills</p>
+ <p className="px-2.5 pt-1.5 pb-1 text-[11px] font-medium text-muted-foreground">Skills</p>
{matches.map((s, i) => (
<button
key={s.name}
diff --git a/src/components/assist/shell.tsx b/src/components/assist/shell.tsx
index 8ac9e0a0..bd851c10 100644
--- a/src/components/assist/shell.tsx
+++ b/src/components/assist/shell.tsx
@@ -124,7 +124,7 @@ function Rail({ onNavigate }: { onNavigate?: () => void }) {
{!q && (
<section aria-labelledby="rail-projects" className="mb-4">
<div className="flex items-center justify-between px-2.5 pt-2 pb-1">
- <h2 id="rail-projects" className="text-[11px] font-medium tracking-wide text-subtle-foreground uppercase">
+ <h2 id="rail-projects" className="text-[11px] font-medium tracking-wide text-muted-foreground uppercase">
Projects
</h2>
<Tooltip>
@@ -152,7 +152,7 @@ function Rail({ onNavigate }: { onNavigate?: () => void }) {
>
<ProjectDot project={p} />
<span className="min-w-0 flex-1 truncate">{p.name}</span>
- {p.chats > 0 && <span className="font-mono text-[11px] text-subtle-foreground">{p.chats}</span>}
+ {p.chats > 0 && <span className="font-mono text-[11px] text-muted-foreground">{p.chats}</span>}
</Link>
</li>
);
@@ -166,7 +166,7 @@ function Rail({ onNavigate }: { onNavigate?: () => void }) {
</section>
)}
<section aria-labelledby="rail-chats">
- <h2 id="rail-chats" className="px-2.5 pt-2 pb-1 text-[11px] font-medium tracking-wide text-subtle-foreground uppercase">
+ <h2 id="rail-chats" className="px-2.5 pt-2 pb-1 text-[11px] font-medium tracking-wide text-muted-foreground uppercase">
{q ? `Results for “${q}”` : "Chats"}
</h2>
{chats.isLoading ? (
diff --git a/src/components/assist/skills-view.tsx b/src/components/assist/skills-view.tsx
index fcf89a51..8ab21422 100644
--- a/src/components/assist/skills-view.tsx
+++ b/src/components/assist/skills-view.tsx
@@ -227,7 +227,7 @@ function SkillGrid({ list, loading, onOpen, onToggle, empty }: { list: SkillSumm
<Switch size="sm" checked={s.enabled} onCheckedChange={(v) => onToggle(s, v)} aria-label={`${s.enabled ? "Switch off" : "Switch on"} ${s.title}`} className="relative z-10" />
</div>
<p className="mt-3 line-clamp-3 text-[13px] text-muted-foreground">{s.description}</p>
- {s.files.length > 0 && <p className="mt-auto pt-3 text-[11px] text-subtle-foreground">+ {s.files.length} file{s.files.length > 1 ? "s" : ""}</p>}
+ {s.files.length > 0 && <p className="mt-auto pt-3 text-[11px] text-muted-foreground">+ {s.files.length} file{s.files.length > 1 ? "s" : ""}</p>}
</li>
))}
</ul>
@@ -284,7 +284,7 @@ function SkillDetail({ name, onClose, onEdit }: { name: string | null; onClose:
<ul className="mt-1 space-y-0.5 font-mono text-[12px] text-muted-foreground">
{s.files.map((f) => (
<li key={f.path}>
- {f.path} <span className="text-subtle-foreground">· {f.size < 1024 ? `${f.size} B` : `${(f.size / 1024).toFixed(1)} KB`}</span>
+ {f.path} <span className="text-muted-foreground">· {f.size < 1024 ? `${f.size} B` : `${(f.size / 1024).toFixed(1)} KB`}</span>
</li>
))}
</ul>
diff --git a/src/components/av/cue-editor.tsx b/src/components/av/cue-editor.tsx
index 2742c6e4..adcd318e 100644
--- a/src/components/av/cue-editor.tsx
+++ b/src/components/av/cue-editor.tsx
@@ -98,11 +98,11 @@ const Row = memo(function Row({
return (
<li data-cue={index} className={cn("group/cue rounded-xl border px-2 py-1.5 transition-colors [content-visibility:auto] [contain-intrinsic-size:auto_76px]", active ? "border-primary bg-brand-faint/50" : "border-transparent hover:border-border")}>
<div className="flex flex-wrap items-center gap-x-1 gap-y-0.5">
- <button type="button" onClick={() => onSeek?.(cue.start)} className="mr-1 font-mono text-[11px] text-subtle-foreground tabular-nums hover:text-brand-text" aria-label={`Play from line ${index + 1}`}>
+ <button type="button" onClick={() => onSeek?.(cue.start)} className="mr-1 font-mono text-[11px] text-muted-foreground tabular-nums hover:text-brand-text" aria-label={`Play from line ${index + 1}`}>
{String(index + 1).padStart(2, "0")}
</button>
{timeInput("start", start, setStart)}
- <span className="text-subtle-foreground">→</span>
+ <span className="text-muted-foreground">→</span>
{timeInput("end", end, setEnd)}
<div className="ml-auto flex items-center opacity-100 sm:opacity-0 sm:group-focus-within/cue:opacity-100 sm:group-hover/cue:opacity-100">
<RowAction label="Split at the cursor" line={index} onClick={splitAtCaret} disabled={!cue.text.trim().includes(" ")}>
diff --git a/src/components/av/language-picker.tsx b/src/components/av/language-picker.tsx
index 7152a349..05920850 100644
--- a/src/components/av/language-picker.tsx
+++ b/src/components/av/language-picker.tsx
@@ -86,7 +86,7 @@ export function TargetLanguages({
const ok = available(l);
return (
<CommandItem key={l.code} value={`${l.name} ${l.code}`} disabled={!ok && !on} onSelect={() => toggle(l.code)} className="justify-between">
- <span className={cn(!ok && "text-subtle-foreground")}>
+ <span className={cn(!ok && "text-muted-foreground")}>
{l.name}
{!ok && <span className="ml-1.5 text-[11px]">· not on this route</span>}
</span>
diff --git a/src/components/brand/fields.tsx b/src/components/brand/fields.tsx
index b85b8764..d215dd54 100644
--- a/src/components/brand/fields.tsx
+++ b/src/components/brand/fields.tsx
@@ -18,7 +18,7 @@ export function FieldRow({ label, hint, children, className, htmlFor }: { label:
{label}
</label>
{children}
- {hint && <p className="text-[11px] text-subtle-foreground">{hint}</p>}
+ {hint && <p className="text-[11px] text-muted-foreground">{hint}</p>}
</div>
);
}
diff --git a/src/components/canvas/canvas-list.tsx b/src/components/canvas/canvas-list.tsx
index 2a3fed92..8783b318 100644
--- a/src/components/canvas/canvas-list.tsx
+++ b/src/components/canvas/canvas-list.tsx
@@ -155,7 +155,7 @@ function TemplateCard({ t, engine, onUse, busy }: { t: TemplateCardData; engine:
<h3 className="text-[14px] font-medium">{t.name}</h3>
<p className="text-[13px] text-muted-foreground">{t.description}</p>
</div>
- <p className="flex items-start gap-1.5 text-[12px] text-subtle-foreground">
+ <p className="flex items-start gap-1.5 text-[12px] text-muted-foreground">
{engine === "open" ? <Cpu className="mt-px size-3.5 shrink-0" /> : <Cloud className="mt-px size-3.5 shrink-0" />}
<span className="line-clamp-2">{models.join(" · ")}</span>
</p>
diff --git a/src/components/canvas/node-list.tsx b/src/components/canvas/node-list.tsx
index 2944f438..8a03efa7 100644
--- a/src/components/canvas/node-list.tsx
+++ b/src/components/canvas/node-list.tsx
@@ -68,7 +68,7 @@ function NodeCard({ node, index }: { node: CanvasNode; index: number }) {
return (
<article className="rounded-xl border bg-card p-3 shadow-soft" data-testid={`canvas-card-${node.id}`}>
<header className="flex items-center gap-2">
- <span className="font-mono text-[11px] text-subtle-foreground">{index}</span>
+ <span className="font-mono text-[11px] text-muted-foreground">{index}</span>
<NodeIcon name={NODE_SPECS[node.type].icon} className="size-4 shrink-0 text-muted-foreground" />
<h3 className="min-w-0 flex-1 truncate text-[15px] font-semibold">{nodeLabel(node)}</h3>
<EngineBadge model={model} />
diff --git a/src/components/canvas/nodes.tsx b/src/components/canvas/nodes.tsx
index f3e7db0b..806b37a8 100644
--- a/src/components/canvas/nodes.tsx
+++ b/src/components/canvas/nodes.tsx
@@ -126,7 +126,7 @@ function InPort({ port, count }: { port: PortDef; count: number }) {
aria-label={`${port.label} input (${PORT_TYPE_LABEL[port.type]})`}
/>
<span className={cn("font-medium", count > 0 && "text-foreground")}>{port.label}</span>
- {count > 0 && port.multiple && <span className="font-mono text-subtle-foreground">{count}</span>}
+ {count > 0 && port.multiple && <span className="font-mono text-muted-foreground">{count}</span>}
</div>
);
}
@@ -1165,12 +1165,12 @@ function SourcePreview({ node }: { node: Source }) {
if (isGenerator(node)) {
if (r.outputs.length) return <OutputThumb o={r.outputs[0].o} onOpen={() => actions.open(node.id, 0)} large />;
if (r.state !== "idle") return <Results id={node.id} r={r} compact />;
- return <div className="grid h-20 place-items-center rounded-lg bg-muted text-[11px] text-subtle-foreground">Not run yet</div>;
+ return <div className="grid h-20 place-items-center rounded-lg bg-muted text-[11px] text-muted-foreground">Not run yet</div>;
}
const kind = KIND_OF[node.type];
if (kind && node.data.url) return <MediaPreview kind={kind} url={node.data.url} />;
if (node.type === "prompt") return <p className="line-clamp-6 rounded-lg bg-muted p-2.5 text-[12px] leading-snug">{node.data.text || "Empty text"}</p>;
- return <div className="grid h-20 place-items-center rounded-lg bg-muted text-[11px] text-subtle-foreground">Nothing yet</div>;
+ return <div className="grid h-20 place-items-center rounded-lg bg-muted text-[11px] text-muted-foreground">Nothing yet</div>;
}
const NoteNode = memo(function NoteNode({ id, type, data, selected }: NodeProps<FlowNode>) {
diff --git a/src/components/captions/captions-studio.tsx b/src/components/captions/captions-studio.tsx
index c1c532b1..72120df7 100644
--- a/src/components/captions/captions-studio.tsx
+++ b/src/components/captions/captions-studio.tsx
@@ -285,7 +285,7 @@ function Editor({ video, restored, onReplace }: { video: SlotValue; restored: Sa
)}
{engine === "open" && <p className="mb-3 text-[12px] text-muted-foreground">ComfyUI&apos;s caption burn-in draws your lines into the frames chunk by chunk and keeps the sound (CPU is fine, no model).</p>}
<div className="flex flex-wrap items-center gap-2">
- <Button className={cn("rounded-full", usesCues(route) && problems.length > 0 && "bg-muted text-subtle-foreground hover:bg-muted")} onClick={burn} disabled={create.isPending}>
+ <Button className={cn("rounded-full", usesCues(route) && problems.length > 0 && "bg-muted text-muted-foreground hover:bg-muted")} onClick={burn} disabled={create.isPending}>
{create.isPending ? <Loader2 className="size-4 animate-spin" /> : <Sparkles className="size-4" />} Burn captions
</Button>
<Button variant="outline" className="rounded-full" disabled={!cues.length} onClick={() => download(`${name}.srt`, toSrt(cues), "application/x-subrip")}>
diff --git a/src/components/cinema/cinema-feed.tsx b/src/components/cinema/cinema-feed.tsx
index 965a4de0..fbb65fe6 100644
--- a/src/components/cinema/cinema-feed.tsx
+++ b/src/components/cinema/cinema-feed.tsx
@@ -705,10 +705,10 @@ export function CinemaFeed({
{groups.map((grp) => (
<section key={grp.label || "all"} className="space-y-2.5">
{grp.label && (
- <h3 className="flex items-center gap-2 text-[12px] font-medium text-muted-foreground">
+ <h2 className="flex items-center gap-2 text-[12px] font-medium text-muted-foreground">
{grp.label}
- <span className="font-mono text-[11px] text-subtle-foreground">{grp.units.length}</span>
- </h3>
+ <span className="font-mono text-[11px] text-muted-foreground">{grp.units.length}</span>
+ </h2>
)}
<div className={layoutCls}>
{grp.units.map((u) => (
diff --git a/src/components/cinema/projects-view.tsx b/src/components/cinema/projects-view.tsx
index 4629bd51..55faebb3 100644
--- a/src/components/cinema/projects-view.tsx
+++ b/src/components/cinema/projects-view.tsx
@@ -54,7 +54,7 @@ function ProjectCard({ project, onSettings }: { project: CinemaProject; onSettin
)}
</div>
<div className="mt-2.5 min-w-0 px-0.5">
- <h3 className="truncate text-[15px] font-medium">{project.name}</h3>
+ <h2 className="truncate text-[15px] font-medium">{project.name}</h2>
{project.description && <p className="mt-0.5 line-clamp-2 text-[13px] text-muted-foreground">{project.description}</p>}
<p className="mt-1 text-[12px] text-muted-foreground">
Updated {timeAgo(project.updatedAt)}
diff --git a/src/components/cinema/prompt-bar.tsx b/src/components/cinema/prompt-bar.tsx
index 4726b8de..7d709b07 100644
--- a/src/components/cinema/prompt-bar.tsx
+++ b/src/components/cinema/prompt-bar.tsx
@@ -589,7 +589,7 @@ export function PromptBar(props: PromptBarProps) {
});
})()}
<AddRef onFiles={addRefs} onPick={(r) => setDraft((d) => ({ refs: [...d.refs, r] }))} />
- {!draft.refs.length && <span className="hidden text-[12px] text-subtle-foreground sm:inline">Start frame, references, clips or audio — or @ a character</span>}
+ {!draft.refs.length && <span className="hidden text-[12px] text-muted-foreground sm:inline">Start frame, references, clips or audio — or @ a character</span>}
</div>
{video && <MoveChips moves={draft.moves} onChange={(moves) => setDraft({ moves })} />}
diff --git a/src/components/dub/dub-studio.tsx b/src/components/dub/dub-studio.tsx
index 782d2f15..c8406267 100644
--- a/src/components/dub/dub-studio.tsx
+++ b/src/components/dub/dub-studio.tsx
@@ -197,7 +197,7 @@ function NewDub({ onStarted }: { onStarted: (id: string) => void }) {
</p>
<div className="flex shrink-0 items-center gap-3 self-end sm:self-auto">
<PriceNote price={price.data} loading={price.isFetching && !price.data} error={price.error as Error | null} hint={oneShot ? undefined : "Translating costs little; you'll see the voice's price before it speaks"} />
- <Button size="lg" className={cn("shrink-0 rounded-full", blocker && "bg-muted text-subtle-foreground hover:bg-muted")} onClick={start} disabled={create.isPending} aria-describedby={blocker ? "dub-blocker" : undefined}>
+ <Button size="lg" className={cn("shrink-0 rounded-full", blocker && "bg-muted text-muted-foreground hover:bg-muted")} onClick={start} disabled={create.isPending} aria-describedby={blocker ? "dub-blocker" : undefined}>
{create.isPending ? <Loader2 className="size-4 animate-spin" /> : <Sparkles className="size-4" />}
{oneShot ? "Dub it" : "Translate"}
</Button>
@@ -538,7 +538,7 @@ function Review({ s, lang, time, onSeek }: { s: DubSessionView; lang: string; ti
<div className="flex items-center gap-3 self-end sm:self-auto">
<PriceNote price={price.data} loading={price.isFetching && !price.data} error={price.error as Error | null} />
<Button
- className={cn("rounded-full", problems.length && "bg-muted text-subtle-foreground hover:bg-muted")}
+ className={cn("rounded-full", problems.length && "bg-muted text-muted-foreground hover:bg-muted")}
disabled={voice.isPending || stage === "voicing"}
onClick={() => (problems.length ? toast(problems[0], { id: "dub-blocker" }) : start(cues))}
>
diff --git a/src/components/elements-view.tsx b/src/components/elements-view.tsx
index 2a9147c2..86eceeb5 100644
--- a/src/components/elements-view.tsx
+++ b/src/components/elements-view.tsx
@@ -182,7 +182,7 @@ function ElementForm({ onOpenChange, element, defaultKind = "character", onSaved
/>
<p className="flex items-center gap-1 px-1 text-[12px] text-muted-foreground">
<AtSign className="size-3" />
- {name.trim() ? handleFor(name) : "handle"} <span className="text-subtle-foreground">— how you mention it in prompts</span>
+ {name.trim() ? handleFor(name) : "handle"} <span className="text-muted-foreground">— how you mention it in prompts</span>
</p>
</div>
<Textarea
diff --git a/src/components/empty-state.tsx b/src/components/empty-state.tsx
index b2e0fdf4..3c0f5c3c 100644
--- a/src/components/empty-state.tsx
+++ b/src/components/empty-state.tsx
@@ -109,7 +109,7 @@ export function ErrorState({ error, retry }: { error: unknown; retry?: () => voi
{(message || digest) && (
<p className="mt-3 rounded-lg bg-muted px-3 py-2 font-mono text-[12px] break-words text-muted-foreground">
{message}
- {digest && <span className="block text-subtle-foreground">ref {digest}</span>}
+ {digest && <span className="block text-muted-foreground">ref {digest}</span>}
</p>
)}
</PageState>
diff --git a/src/components/home-view.tsx b/src/components/home-view.tsx
index 6ae0eedc..dfedc7fa 100644
--- a/src/components/home-view.tsx
+++ b/src/components/home-view.tsx
@@ -213,7 +213,7 @@ export function HomeView({ counts, motions, apps, effects }: { counts: Counts; m
{nothingConnected && (
<p className="mt-4 text-[13px] text-muted-foreground">
You’re in <span className="font-medium text-foreground">demo mode</span> — outputs are placeholders.{" "}
- <Link href="/settings" className="text-brand-text underline-offset-2 hover:underline">
+ <Link href="/settings" className="text-brand-text underline underline-offset-2">
{engineMode === "open" ? "Connect ComfyUI" : engineMode === "cloud" ? "Add a fal.ai or Replicate key" : "Add a fal.ai key or connect ComfyUI"}
</Link>{" "}
to generate for real.
diff --git a/src/components/katana/katana-studio.tsx b/src/components/katana/katana-studio.tsx
index daf982f3..b485a203 100644
--- a/src/components/katana/katana-studio.tsx
+++ b/src/components/katana/katana-studio.tsx
@@ -239,7 +239,7 @@ export function KatanaStudio() {
className="min-h-20 resize-none text-[14px]"
aria-label="Instructions"
/>
- <p className="mt-1 text-right font-mono text-[11px] text-subtle-foreground">
+ <p className="mt-1 text-right font-mono text-[11px] text-muted-foreground">
{instructions.length}/{KATANA_LIMITS.maxInstructions}
</p>
</Panel>
@@ -279,7 +279,7 @@ export function KatanaStudio() {
(blocker ?? "Pricing…")
)}
</p>
- <Button size="lg" className={cn("rounded-full", blocker && "bg-muted text-subtle-foreground hover:bg-muted")} onClick={go} disabled={start.isPending || scanning !== null}>
+ <Button size="lg" className={cn("rounded-full", blocker && "bg-muted text-muted-foreground hover:bg-muted")} onClick={go} disabled={start.isPending || scanning !== null}>
{start.isPending ? <Loader2 className="size-4 animate-spin" /> : <Sparkles className="size-4" />} Recreate
</Button>
</div>
@@ -311,7 +311,7 @@ function SegmentBar({ segments, duration }: { segments: Segment[]; duration: num
</div>
))}
</div>
- <div className="mt-1 flex justify-between font-mono text-[11px] text-subtle-foreground">
+ <div className="mt-1 flex justify-between font-mono text-[11px] text-muted-foreground">
<span>0:00</span>
<span>{formatCueTime(duration)}</span>
</div>
diff --git a/src/components/layers/bits.tsx b/src/components/layers/bits.tsx
index 28ab47bd..37e13362 100644
--- a/src/components/layers/bits.tsx
+++ b/src/components/layers/bits.tsx
@@ -50,7 +50,7 @@ export function Field({ label, hint, children, htmlFor }: { label: string; hint?
<label htmlFor={htmlFor} className="text-[12px] font-medium text-muted-foreground">
{label}
</label>
- {hint && <span className="font-mono text-[12px] text-subtle-foreground">{hint}</span>}
+ {hint && <span className="font-mono text-[12px] text-muted-foreground">{hint}</span>}
</div>
{children}
</div>
diff --git a/src/components/layers/layers-panel.tsx b/src/components/layers/layers-panel.tsx
index 5688ef42..be739fea 100644
--- a/src/components/layers/layers-panel.tsx
+++ b/src/components/layers/layers-panel.tsx
@@ -514,7 +514,7 @@ function SelectedLayer({ node }: { node: LayerNode }) {
<div className="space-y-3 border-t px-3 pt-3 pb-4">
<div className="flex items-center justify-between gap-2">
<h3 className="truncate text-[13px] font-medium">{node.name}</h3>
- <span className="shrink-0 font-mono text-[11px] text-subtle-foreground">
+ <span className="shrink-0 font-mono text-[11px] text-muted-foreground">
{Math.round(node.w)} × {Math.round(node.h)}
</span>
</div>
@@ -811,7 +811,7 @@ export function LayersPanel() {
</Button>
)}
<h2 className="text-[13px] font-semibold">Layers</h2>
- <span className="font-mono text-[12px] text-subtle-foreground">{doc.nodes.length}</span>
+ <span className="font-mono text-[12px] text-muted-foreground">{doc.nodes.length}</span>
<div className="ml-auto">
<AddLayer />
</div>
diff --git a/src/components/layers/mobile-view.tsx b/src/components/layers/mobile-view.tsx
index 4f06fb8c..fdef2eea 100644
--- a/src/components/layers/mobile-view.tsx
+++ b/src/components/layers/mobile-view.tsx
@@ -153,7 +153,7 @@ export function MobileView({
</div>
<section aria-labelledby="mobile-layers">
<h2 id="mobile-layers" className="mb-2 text-[13px] font-semibold">
- Layers <span className="font-mono font-normal text-subtle-foreground">{rows.length}</span>
+ Layers <span className="font-mono font-normal text-muted-foreground">{rows.length}</span>
</h2>
<ul className="divide-y rounded-xl border">
{rows.map((n) => (
diff --git a/src/components/layers/projects-view.tsx b/src/components/layers/projects-view.tsx
index 0ee93229..b990d535 100644
--- a/src/components/layers/projects-view.tsx
+++ b/src/components/layers/projects-view.tsx
@@ -288,7 +288,7 @@ function ProjectsInner() {
</PopoverContent>
</Popover>
</div>
- <p className="mt-3 text-[12px] text-subtle-foreground">Upload an image, or pick one you already generated. Images only — JPG, PNG or WebP.</p>
+ <p className="mt-3 text-[12px] text-muted-foreground">Upload an image, or pick one you already generated. Images only — JPG, PNG or WebP.</p>
<p className="mx-auto mt-4 flex max-w-md items-center justify-center gap-2 rounded-full bg-muted px-3 py-1.5 text-[12px] text-muted-foreground md:hidden">
<MonitorSmartphone className="size-3.5 shrink-0" /> Layers works best on a larger screen — on a phone you can preview and download.
</p>
diff --git a/src/components/layers/tools.tsx b/src/components/layers/tools.tsx
index a50da179..51c66b22 100644
--- a/src/components/layers/tools.tsx
+++ b/src/components/layers/tools.tsx
@@ -312,7 +312,7 @@ function DecomposeTool() {
<p className="mt-2 font-heading text-[19px] leading-snug">{splitNode && state === "processing" ? `Separating ${splitNode.name}` : title}</p>
<p className="mt-1 text-[12px] text-pretty text-muted-foreground">{state === "failed" ? (job?.result?.error ?? body) : body}</p>
{state === "processing" && job?.result?.progress ? <Progress value={job.result.progress * 100} className="mt-3 h-1" aria-label="Progress" /> : null}
- {(state === "processing" || state === "stalled") && <p className="mt-2 text-[11px] text-subtle-foreground">{jobStatusText(job?.result)}</p>}
+ {(state === "processing" || state === "stalled") && <p className="mt-2 text-[11px] text-muted-foreground">{jobStatusText(job?.result)}</p>}
</div>
{state === "failed" && job && (
<div className="flex gap-2">
@@ -382,7 +382,7 @@ function DecomposeTool() {
{auto ? (
<div className="space-y-0.5">
<p className="text-[12px] text-muted-foreground">Model · {model?.name ?? modelId}</p>
- <p className="text-[11px] text-subtle-foreground">{asked ? "A named element runs on Qwen-Image-Layered Control." : "Name an element to pull it out with Qwen-Image-Layered Control."}</p>
+ <p className="text-[11px] text-muted-foreground">{asked ? "A named element runs on Qwen-Image-Layered Control." : "Name an element to pull it out with Qwen-Image-Layered Control."}</p>
</div>
) : (
<ModelSelect tool={tool} value={modelId} onChange={picker.setModelId} />
@@ -417,7 +417,7 @@ function DecomposeTool() {
<Field label="Layers" hint={modelId?.startsWith("seedream") ? `up to ${n}` : n}>
<Slider aria-label="Layers" min={min} max={Math.max(min, max)} step={1} value={[n]} onValueChange={([v]) => setLayers(v)} />
</Field>
- {modelId?.startsWith("seedream") && <p className="text-[11px] text-subtle-foreground">Seedream decides the final count (up to 16) and names each layer.</p>}
+ {modelId?.startsWith("seedream") && <p className="text-[11px] text-muted-foreground">Seedream decides the final count (up to 16) and names each layer.</p>}
{!model && <p className="text-[12px] text-muted-foreground">No {engine === "open" ? "open-source" : "cloud"} model can split layers yet.</p>}
<RunRow cost={cost} busy={busy} disabled={!model} onClick={() => void start()}>
<Layers /> {splitNode ? "Separate layer" : "Separate layers"}
@@ -486,7 +486,7 @@ function EditTextTool() {
<Button variant="secondary" className="w-full rounded-full" onClick={startDetect} disabled={busy || !!detecting}>
{detecting ? <Loader2 className="animate-spin" /> : <Type />} {detecting ? "Reading the text…" : "Detect text"}
</Button>
- <p className="text-center font-mono text-[11px] text-subtle-foreground">{costLabel(detectModel, isDemo(detectModel))}</p>
+ <p className="text-center font-mono text-[11px] text-muted-foreground">{costLabel(detectModel, isDemo(detectModel))}</p>
{detect?.result?.status === "succeeded" && loadedFor === detect.id && !rows.length && <p className="text-center text-[12px] text-muted-foreground">No text was found on this image.</p>}
{detect && isFailed(detect) && <JobState job={detect} failedTitle="Could not read the text on this image." onRetry={startDetect} />}
</div>
@@ -499,7 +499,7 @@ function EditTextTool() {
<ol className="space-y-2" aria-label="Text on the image">
{rows.map((r, i) => (
<li key={i} className="flex items-start gap-2" onPointerEnter={() => setHighlight(r.box)} onPointerLeave={() => setHighlight(null)} onFocus={() => setHighlight(r.box)} onBlur={() => setHighlight(null)}>
- <span className="mt-2 w-4 shrink-0 text-right font-mono text-[11px] text-subtle-foreground">{i + 1}</span>
+ <span className="mt-2 w-4 shrink-0 text-right font-mono text-[11px] text-muted-foreground">{i + 1}</span>
<div className="min-w-0 flex-1 space-y-1">
{engine === "open" && !r.box ? (
<Input value={r.from} onChange={(e) => setRows(rows.map((x, j) => (j === i ? { ...x, from: e.target.value } : x)))} placeholder="Text on the image now" aria-label={`Text region ${i + 1}: current text`} className="h-8 text-[13px]" />
@@ -553,7 +553,7 @@ function EditTextTool() {
</RunRow>
</div>
</div>
- {!changes.length && <p className="text-[11px] text-subtle-foreground">Change a line (or empty it to remove that text), then Generate.</p>}
+ {!changes.length && <p className="text-[11px] text-muted-foreground">Change a line (or empty it to remove that text), then Generate.</p>}
</>
)}
</div>
@@ -765,7 +765,7 @@ function RegionalTool() {
</button>
</p>
) : (
- <p className="text-[12px] text-subtle-foreground">Drag on the canvas to draw the area.</p>
+ <p className="text-[12px] text-muted-foreground">Drag on the canvas to draw the area.</p>
)}
<Field label="Prompt" htmlFor="region-prompt">
<Textarea id="region-prompt" value={prompt} onChange={(e) => setPrompt(e.target.value)} maxLength={2000} placeholder="e.g. “replace the cup with a glass of orange juice”" className="min-h-16 text-[13px]" />
@@ -1027,7 +1027,7 @@ function GradeTool() {
</Field>
{groups.map((g) => (
<fieldset key={g} className="space-y-2.5">
- <legend className="mb-1 text-[11px] font-semibold tracking-wide text-subtle-foreground uppercase">{g}</legend>
+ <legend className="mb-1 text-[11px] font-semibold tracking-wide text-muted-foreground uppercase">{g}</legend>
{CONTROLS.filter((c) => c.group === g).map((c) => (
<Field key={c.key} label={c.label} hint={grade[c.key]}>
<Slider aria-label={c.label} min={c.min} max={c.max} step={1} value={[grade[c.key]]} onValueChange={([v]) => setGrade({ ...grade, [c.key]: v })} />
@@ -1051,7 +1051,7 @@ function GradeTool() {
{saving && <Loader2 className="animate-spin" />} Apply grade
</Button>
</div>
- <p className="text-[11px] text-subtle-foreground">Runs in your browser — free on both engines.</p>
+ <p className="text-[11px] text-muted-foreground">Runs in your browser — free on both engines.</p>
</div>
);
}
@@ -1150,7 +1150,7 @@ export function ToolRail() {
</li>
))}
</ul>
- <p className="hidden px-4 pb-4 text-[11px] text-pretty text-subtle-foreground xl:block">Tools act on the selected layer. Deselect the layer to use a tool on the whole image.</p>
+ <p className="hidden px-4 pb-4 text-[11px] text-pretty text-muted-foreground xl:block">Tools act on the selected layer. Deselect the layer to use a tool on the whole image.</p>
</div>
</>
)}
diff --git a/src/components/layers/top-bar.tsx b/src/components/layers/top-bar.tsx
index b5a55c23..77d6c103 100644
--- a/src/components/layers/top-bar.tsx
+++ b/src/components/layers/top-bar.tsx
@@ -125,7 +125,7 @@ function SaveBadge({ state, onRetry }: { state: SaveState; onRetry: () => void }
</span>
</>
);
- const cls = cn("inline-flex h-7 shrink-0 items-center gap-1 rounded-md px-1 text-[12px] whitespace-nowrap", bad ? "text-warning" : "text-subtle-foreground");
+ const cls = cn("inline-flex h-7 shrink-0 items-center gap-1 rounded-md px-1 text-[12px] whitespace-nowrap", bad ? "text-warning" : "text-muted-foreground");
return (
<Tooltip>
<TooltipTrigger asChild>
diff --git a/src/components/library-view.tsx b/src/components/library-view.tsx
index 6ac82f71..501e91b0 100644
--- a/src/components/library-view.tsx
+++ b/src/components/library-view.tsx
@@ -668,7 +668,7 @@ function Inner() {
{isFetchingNextPage && <Loader2 className="size-3.5 animate-spin" />} Load more
</button>
) : (
- <p className="text-[12px] text-subtle-foreground">{items.length > 12 ? "That's everything" : ""}</p>
+ <p className="text-[12px] text-muted-foreground">{items.length > 12 ? "That's everything" : ""}</p>
)}
</div>
</div>
diff --git a/src/components/marketing/click-to-ad.tsx b/src/components/marketing/click-to-ad.tsx
index e9f8f9ea..27b74534 100644
--- a/src/components/marketing/click-to-ad.tsx
+++ b/src/components/marketing/click-to-ad.tsx
@@ -47,7 +47,7 @@ function KitProgress() {
<p className="text-[12px] font-semibold tracking-wide text-muted-foreground uppercase">Building your product kit</p>
<ol className="mt-2 grid gap-1 sm:grid-cols-2">
{KIT_LABELS.map((l, k) => (
- <li key={l} className={cn("flex items-center gap-2 text-[13px]", k > i && "text-subtle-foreground")}>
+ <li key={l} className={cn("flex items-center gap-2 text-[13px]", k > i && "text-muted-foreground")}>
{k < i ? <Check className="size-3.5 text-success" /> : k === i ? <Loader2 className="size-3.5 animate-spin text-brand-text" /> : <span className="size-3.5" />}
{l}
</li>
@@ -87,7 +87,7 @@ function KitBrand({ brand }: { brand: BrandKit }) {
<div className="space-y-2.5 rounded-xl border p-3">
<div className="flex items-center justify-between gap-2">
<p className="text-[12px] font-medium text-muted-foreground">Logo and colours</p>
- <span className="text-[11px] text-subtle-foreground">{update.isPending ? "Saving…" : `In the ${brand.name} brand kit`}</span>
+ <span className="text-[11px] text-muted-foreground">{update.isPending ? "Saving…" : `In the ${brand.name} brand kit`}</span>
</div>
<LogoField value={brand.logo} onChange={(v) => save({ logo: v ?? "" })} />
<ColorList
@@ -366,7 +366,7 @@ export function ClickToAd({ models }: { models: Record<string, ModelInfo> }) {
<div className="mt-6 flex flex-wrap items-center justify-end gap-3 border-t pt-4">
<p className="mr-auto text-[12px] text-muted-foreground">9:16 · up to 12 s · voiceover and captions{est.data?.steps.length ? ` · ${est.data.steps.length} steps` : ""}</p>
{cost && <span className="font-mono text-[13px] text-muted-foreground">{cost}</span>}
- <Button size="lg" onClick={() => void generate()} aria-disabled={!!blocker || busy} className={cn(blocker && "bg-muted text-subtle-foreground hover:bg-muted")} title={blocker}>
+ <Button size="lg" onClick={() => void generate()} aria-disabled={!!blocker || busy} className={cn(blocker && "bg-muted text-muted-foreground hover:bg-muted")} title={blocker}>
{busy ? <Loader2 className="animate-spin" /> : <Wand2 />} Generate video
</Button>
</div>
@@ -386,7 +386,7 @@ export function ClickToAd({ models }: { models: Record<string, ModelInfo> }) {
}
/>
</div>
- <p className="flex items-center justify-center gap-1.5 pt-4 text-[12px] text-subtle-foreground">
+ <p className="flex items-center justify-center gap-1.5 pt-4 text-[12px] text-muted-foreground">
<Sparkles className="size-3" /> Cloud: Seedance 2.5 shots or an OmniHuman presenter, ElevenLabs voice, Auto Subtitle · Open source: Wan 2.2, InfiniteTalk, Chatterbox (your voice sample), caption burn-in
</p>
</div>
diff --git a/src/components/marketing/marketing-studio.tsx b/src/components/marketing/marketing-studio.tsx
index ab03da49..06d90a26 100644
--- a/src/components/marketing/marketing-studio.tsx
+++ b/src/components/marketing/marketing-studio.tsx
@@ -131,9 +131,9 @@ function SettingsPanel({ draft, set, models, higgsfield, engine }: { draft: Draf
{f.durations && (
<div>
<p className="mb-1.5 text-[12px] font-medium text-muted-foreground">Length · {draft.duration}s</p>
- {f.pipeline === "ugc" && <p className="-mt-1 mb-1.5 text-[11px] text-subtle-foreground">The whole video: the script is sized to what&apos;s left after the hook and the product close-up</p>}
+ {f.pipeline === "ugc" && <p className="-mt-1 mb-1.5 text-[11px] text-muted-foreground">The whole video: the script is sized to what&apos;s left after the hook and the product close-up</p>}
<input type="range" min={f.durations.min} max={f.durations.max} step={1} value={draft.duration ?? f.durations.default} onChange={(e) => set({ duration: Number(e.target.value) })} aria-label="Length in seconds" className="w-full accent-[var(--primary)]" />
- <p className="mt-0.5 flex justify-between text-[11px] text-subtle-foreground">
+ <p className="mt-0.5 flex justify-between text-[11px] text-muted-foreground">
<span>{f.durations.min}s</span>
<span>{f.durations.max}s</span>
</p>
diff --git a/src/components/marketing/template-gallery.tsx b/src/components/marketing/template-gallery.tsx
index 2a6039fb..4a9160bf 100644
--- a/src/components/marketing/template-gallery.tsx
+++ b/src/components/marketing/template-gallery.tsx
@@ -17,7 +17,8 @@ function TemplateCard({ t, selected, onPick }: { t: MarketingTemplate; selected:
type="button"
onClick={() => onPick(t)}
aria-pressed={selected}
- aria-label={`${t.name} — ${f.cardLabel}${video ? " video" : ""} template`}
+ // Starts with what the card shows (the format chip, then the name), so speech users can say it.
+ aria-label={`${f.cardLabel} · ${t.name}${video ? " · video" : ""} template`}
className={cn("group/tpl min-w-0 rounded-2xl text-left outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2", selected && "ring-2 ring-primary ring-offset-2 ring-offset-background")}
>
<div className="relative aspect-[3/4] overflow-hidden rounded-2xl bg-muted transition-transform duration-300 ease-move group-hover/tpl:scale-[1.015]">
diff --git a/src/components/mixed-media/mixed-studio.tsx b/src/components/mixed-media/mixed-studio.tsx
index 0ae9eddd..2823a071 100644
--- a/src/components/mixed-media/mixed-studio.tsx
+++ b/src/components/mixed-media/mixed-studio.tsx
@@ -564,7 +564,7 @@ function Editor({
aria-disabled={!!blocker || previewBusy}
className={cn(
"flex h-9 w-full items-center justify-center gap-2 rounded-full border text-[13px] font-medium",
- blocker ? "text-subtle-foreground" : "bg-background hover:bg-accent",
+ blocker ? "text-muted-foreground" : "bg-background hover:bg-accent",
)}
>
{previewBusy ? <Loader2 className="size-4 animate-spin" /> : <ImageIcon className="size-4" />}
@@ -602,7 +602,7 @@ function Editor({
aria-describedby={blocker ? "mm-blocker" : undefined}
className={cn(
"flex h-11 w-full items-center justify-center gap-2 rounded-full text-[14px] font-medium transition-colors",
- blocker ? "bg-muted text-subtle-foreground" : "bg-primary text-primary-foreground hover:bg-primary/90",
+ blocker ? "bg-muted text-muted-foreground" : "bg-primary text-primary-foreground hover:bg-primary/90",
)}
>
{actions.render.isPending ? <Loader2 className="size-4 animate-spin" /> : <Sparkles className="size-4" />}
diff --git a/src/components/model3d/model3d-studio.tsx b/src/components/model3d/model3d-studio.tsx
index 4f98f23a..89aef244 100644
--- a/src/components/model3d/model3d-studio.tsx
+++ b/src/components/model3d/model3d-studio.tsx
@@ -59,7 +59,7 @@ export function Model3dStudio({ names }: { names: Record<string, string> }) {
</Select>
<p className="text-[12px] text-muted-foreground">{MODELS_3D[engine].find((m) => m.id === modelId)?.note}</p>
</div>
- <Button size="lg" className={cn("mt-4 w-full rounded-full", blocker && "bg-muted text-subtle-foreground hover:bg-muted")} onClick={go} disabled={create.isPending}>
+ <Button size="lg" className={cn("mt-4 w-full rounded-full", blocker && "bg-muted text-muted-foreground hover:bg-muted")} onClick={go} disabled={create.isPending}>
{create.isPending ? <Loader2 className="size-4 animate-spin" /> : <Box className="size-4" />} Make it 3D
</Button>
<p className="mt-2 text-[12px] text-muted-foreground">
diff --git a/src/components/models-table.tsx b/src/components/models-table.tsx
index cb177db4..ccf2cf3c 100644
--- a/src/components/models-table.tsx
+++ b/src/components/models-table.tsx
@@ -25,12 +25,13 @@ function RouteDetails({ row }: { row: ModelRow }) {
<button
type="button"
className="inline-flex h-7 items-center gap-1 rounded-full px-2 text-[12px] whitespace-nowrap text-muted-foreground hover:bg-accent hover:text-foreground"
- aria-label={`Where ${row.name} runs`}
>
<Info className="size-3.5" />
- <span className="hidden sm:inline">
+ {/* The name starts with the visible text ("3 routes"), so speech users can say it. */}
+ <span className="max-sm:sr-only">
{row.routes.length} route{row.routes.length === 1 ? "" : "s"}
</span>
+ <span className="sr-only">: where {row.name} runs</span>
</button>
</PopoverTrigger>
<PopoverContent align="end" collisionPadding={12} className="w-[min(92vw,420px)] p-3">
@@ -42,7 +43,7 @@ function RouteDetails({ row }: { row: ModelRow }) {
</li>
))}
</ul>
- <p className="mt-2 font-mono text-[11px] text-subtle-foreground">id {row.id}</p>
+ <p className="mt-2 font-mono text-[11px] text-muted-foreground">id {row.id}</p>
</PopoverContent>
</Popover>
);
@@ -71,8 +72,8 @@ const Row = memo(function Row({ m }: { m: ModelRow }) {
<div className="text-[12px] text-muted-foreground">
{m.vendor} — {m.tagline}
</div>
- {m.note && <div className="mt-0.5 text-[11px] text-subtle-foreground">{m.note}</div>}
- <div className="mt-1 text-[11px] text-subtle-foreground md:hidden">
+ {m.note && <div className="mt-0.5 text-[11px] text-muted-foreground">{m.note}</div>}
+ <div className="mt-1 text-[11px] text-muted-foreground md:hidden">
<span className="font-mono text-muted-foreground sm:hidden">{m.price} · </span>
{m.ops.join(" · ")}
</div>
diff --git a/src/components/preset-header.tsx b/src/components/preset-header.tsx
index e4514565..eec07112 100644
--- a/src/components/preset-header.tsx
+++ b/src/components/preset-header.tsx
@@ -60,10 +60,10 @@ export function PresetHeader({
<button
type="button"
className="inline-flex h-8 shrink-0 items-center gap-1 rounded-full px-2.5 text-[12px] font-medium text-muted-foreground hover:bg-accent hover:text-foreground"
- aria-label={`About ${preset.name}`}
>
<Info className="size-3.5" />
- <span className="hidden sm:inline">Details</span>
+ <span className="max-sm:sr-only">Details</span>
+ <span className="sr-only"> about {preset.name}</span>
</button>
</PopoverTrigger>
<PopoverContent align="end" collisionPadding={12} className="w-[min(92vw,360px)] space-y-2 p-3 text-[13px]">
@@ -73,7 +73,7 @@ export function PresetHeader({
<li key={r.engine} className="flex items-center gap-2">
{r.engine === "cloud" ? <Cloud className="size-3.5 shrink-0" /> : <Cpu className="size-3.5 shrink-0" />}
<span className="text-muted-foreground">{r.label}</span>
- <span className={cn("ml-auto truncate font-medium", !r.model && "font-normal text-subtle-foreground")}>{r.model ?? "Not available yet"}</span>
+ <span className={cn("ml-auto truncate font-medium", !r.model && "font-normal text-muted-foreground")}>{r.model ?? "Not available yet"}</span>
</li>
))}
</ul>
diff --git a/src/components/settings-form.tsx b/src/components/settings-form.tsx
index fc120e78..8e555193 100644
--- a/src/components/settings-form.tsx
+++ b/src/components/settings-form.tsx
@@ -104,7 +104,7 @@ function EngineModePicker({ value, onChange }: { value: string; onChange: (v: st
{active && <CheckCircle2 className="ml-auto size-4 text-brand-text" />}
</span>
<span className="text-[13px] leading-relaxed text-muted-foreground">{m.body}</span>
- <span className="text-[12px] text-subtle-foreground">Needs: {m.needs}</span>
+ <span className="text-[12px] text-muted-foreground">Needs: {m.needs}</span>
</button>
);
})}
@@ -335,6 +335,7 @@ export function SettingsForm() {
</Section>
<Section
+ id="enhance"
title="Prompt enhancement"
description="The Enhance toggle rewrites short ideas into rich prompts, and storyboards split stories into frames. Use Claude, a local Ollama model (fully open source), or the built-in offline rewriter. Claude also powers the Assist agent. In Open source only mode, Automatic skips Claude."
>
@@ -377,7 +378,7 @@ export function SettingsForm() {
<SecuritySettings />
</Section>
- <Section title="Demo mode" description="Lets you click through everything without keys or a GPU. Demo runs return clearly-labelled placeholder media and cost nothing.">
+ <Section id="demo" title="Demo mode" description="Lets you click through everything without keys or a GPU. Demo runs return clearly-labelled placeholder media and cost nothing.">
<Select value={get("demoMode")?.value || "auto"} onValueChange={set("demoMode")}>
<SelectTrigger aria-label="Demo mode" className="w-full max-w-80">
<SelectValue />
diff --git a/src/components/shorts/session-view.tsx b/src/components/shorts/session-view.tsx
index 4c44f5d4..feab9745 100644
--- a/src/components/shorts/session-view.tsx
+++ b/src/components/shorts/session-view.tsx
@@ -191,7 +191,7 @@ function Session({ s }: { s: View }) {
aria-disabled={!canStitch || actions.stitch.isPending}
className={cn(
"inline-flex h-9 items-center gap-1.5 rounded-full border px-4 text-[13px] font-medium",
- canStitch ? "bg-background hover:bg-accent" : "cursor-not-allowed text-subtle-foreground",
+ canStitch ? "bg-background hover:bg-accent" : "cursor-not-allowed text-muted-foreground",
)}
title={canStitch ? undefined : "Ready when every segment has rendered"}
>
diff --git a/src/components/shorts/shorts-studio.tsx b/src/components/shorts/shorts-studio.tsx
index e058d88c..216eebd6 100644
--- a/src/components/shorts/shorts-studio.tsx
+++ b/src/components/shorts/shorts-studio.tsx
@@ -518,7 +518,7 @@ function SetupPanel({
aria-describedby={blocker ? "shorts-blocker" : undefined}
className={cn(
"flex h-11 w-full items-center justify-center gap-2 rounded-full text-[14px] font-medium transition-colors",
- blocker ? "bg-muted text-subtle-foreground" : "bg-primary text-primary-foreground hover:bg-primary/90",
+ blocker ? "bg-muted text-muted-foreground" : "bg-primary text-primary-foreground hover:bg-primary/90",
)}
>
{busy ? <Loader2 className="size-4 animate-spin" /> : <Sparkles className="size-4" />}
diff --git a/src/components/shorts/ui.tsx b/src/components/shorts/ui.tsx
index 4ebe0550..d34916e0 100644
--- a/src/components/shorts/ui.tsx
+++ b/src/components/shorts/ui.tsx
@@ -135,7 +135,7 @@ export function ClipDrop({ accept, limits, onFile, onLibrary }: { accept: string
</PopoverContent>
</Popover>
</div>
- <p className="text-[11px] text-subtle-foreground">or drop it here</p>
+ <p className="text-[11px] text-muted-foreground">or drop it here</p>
<input
ref={input}
type="file"
diff --git a/src/components/studio/feed.tsx b/src/components/studio/feed.tsx
index f2524134..8fff5161 100644
--- a/src/components/studio/feed.tsx
+++ b/src/components/studio/feed.tsx
@@ -224,9 +224,9 @@ export const GenerationGroup = memo(function GenerationGroup({ g }: { g: Generat
<section data-gen-id={g.id} className="group/gen animate-fade-up space-y-2.5 [contain-intrinsic-size:auto_330px] [content-visibility:auto]">
<header className="flex items-start gap-3">
<div className="min-w-0 flex-1">
- <h3 className="line-clamp-2 font-heading text-[19px] leading-snug" title={g.prompt ?? undefined}>
+ <h2 className="line-clamp-2 font-heading text-[19px] leading-snug" title={g.prompt ?? undefined}>
{userTitle(g)}
- </h3>
+ </h2>
<p className="mt-0.5 flex flex-wrap items-center gap-x-1.5 text-[12px] text-muted-foreground">
<span className="inline-flex items-center gap-1">
{g.engine === "open" ? <Cpu className="size-3" /> : <Cloud className="size-3" />}
diff --git a/src/components/studio/model-picker.tsx b/src/components/studio/model-picker.tsx
index eff5850b..5b35909c 100644
--- a/src/components/studio/model-picker.tsx
+++ b/src/components/studio/model-picker.tsx
@@ -109,13 +109,13 @@ function ModelRow({
{m.vendor} · {m.tagline}
</span>
{m.worker === "isolated" && (
- <span className="mt-0.5 flex items-center gap-1 text-[11px] leading-snug text-subtle-foreground">
+ <span className="mt-0.5 flex items-center gap-1 text-[11px] leading-snug text-muted-foreground">
<Server className="size-3! shrink-0" aria-hidden />
{ISOLATED_NOTE}
</span>
)}
</span>
- <span className="shrink-0 text-right text-[11px] text-subtle-foreground tabular-nums">{priceHint(m)}</span>
+ <span className="shrink-0 text-right text-[11px] text-muted-foreground tabular-nums">{priceHint(m)}</span>
{/* Pointer only: inside an option it would be a nested control. Keyboard: Alt+S on the highlighted row (starKey). */}
<button
type="button"
diff --git a/src/components/train-dialog.tsx b/src/components/train-dialog.tsx
index 38fc0dc7..2217f7cf 100644
--- a/src/components/train-dialog.tsx
+++ b/src/components/train-dialog.tsx
@@ -131,7 +131,7 @@ export function TrainDialog({ element, open, onOpenChange }: { element: StudioEl
<div className="min-w-0 flex-1">
<p className="text-[14px] font-medium">{t.name}</p>
<p className="text-[12px] text-muted-foreground">{t.description}</p>
- <p className="mt-1 text-[11px] text-subtle-foreground">
+ <p className="mt-1 text-[11px] text-muted-foreground">
{t.price} · {t.eta}
</p>
</div>
diff --git a/src/components/virality/virality-studio.tsx b/src/components/virality/virality-studio.tsx
index 5c14bec9..1dafabdd 100644
--- a/src/components/virality/virality-studio.tsx
+++ b/src/components/virality/virality-studio.tsx
@@ -55,7 +55,7 @@ export function ViralityStudio() {
<div className="mx-auto mt-8 grid max-w-[880px] gap-3">
<MediaDrop kind="video" value={clip} onChange={change} title="Add your video" hint="MP4 (H.264) or WebM · the opening 3 seconds are what's checked" compact />
<div className="flex flex-wrap items-center gap-2">
- <Button size="lg" className={cn("rounded-full", (!clip || clip.uploading) && "bg-muted text-subtle-foreground hover:bg-muted")} onClick={go} disabled={current?.status === "running"}>
+ <Button size="lg" className={cn("rounded-full", (!clip || clip.uploading) && "bg-muted text-muted-foreground hover:bg-muted")} onClick={go} disabled={current?.status === "running"}>
{current?.status === "running" ? <Loader2 className="size-4 animate-spin" /> : current?.status === "done" ? <RefreshCw className="size-4" /> : <TrendingUp className="size-4" />}
{current?.status === "done" ? "Check again" : "Check the hook"}
</Button>
diff --git a/src/components/workflows-view.tsx b/src/components/workflows-view.tsx
index 8bd31856..85ed945f 100644
--- a/src/components/workflows-view.tsx
+++ b/src/components/workflows-view.tsx
@@ -72,7 +72,7 @@ function WorkflowCard({ wf, usedBy }: { wf: WF; usedBy: string[] }) {
) : m.present === false ? (
<CircleAlert className="size-3.5 shrink-0 text-warning" aria-label="Missing" />
) : (
- <Circle className="size-3.5 shrink-0 text-subtle-foreground" aria-label="Unknown" />
+ <Circle className="size-3.5 shrink-0 text-muted-foreground" aria-label="Unknown" />
)}
<span className="min-w-0 truncate font-mono" title={m.file}>
{m.file}
@@ -212,7 +212,7 @@ export function WorkflowsView({ routes = [] }: { routes?: ComfyRoute[] }) {
)}
>
{c}
- <span className="text-[11px] text-subtle-foreground tabular-nums">{n}</span>
+ <span className="text-[11px] text-muted-foreground tabular-nums">{n}</span>
</button>
))}
</div>