Skip to content

Open source CapCut alternative.

TypeScript

fix(site): mock chat composer is white on the cream landing

David Lefd6afb4822b3
diff --git a/site/src/app/cut/_components/landing/editor-mock/MockAiPanel.tsx b/site/src/app/cut/_components/landing/editor-mock/MockAiPanel.tsx
index cabfef0d..3e8e2afe 100644
--- a/site/src/app/cut/_components/landing/editor-mock/MockAiPanel.tsx
+++ b/site/src/app/cut/_components/landing/editor-mock/MockAiPanel.tsx
@@ -47,7 +47,10 @@ export function MockAiPanel({ project }: { project: MockProject }) {
</div>
<div className="shrink-0 px-2.5 pb-2.5">
- <div className="rounded-xl border border-input bg-background">
+ {/* The real composer is bg-background, which the editor's app-surface
+ paints white; on the cream landing that token stays cream, so the
+ mock pins white directly. */}
+ <div className="rounded-xl border border-input bg-white">
<div className="min-h-9 px-3 pt-2 text-[12.5px] leading-relaxed text-muted-foreground/70">
Ask about your video, or tell me what to change… @ references media
</div>