Skip to content

Open source CapCut alternative.

TypeScript

site/app: white background and shared system font for /app

David Led6b1357a9958
diff --git a/site/src/app/app/layout.tsx b/site/src/app/app/layout.tsx
new file mode 100644
index 00000000..1f8d38ea
--- /dev/null
+++ b/site/src/app/app/layout.tsx
@@ -0,0 +1,12 @@
+import type { ReactNode } from "react";
+
+// The /app surface is the signed-in product UI. Unlike the cream landing page,
+// it always renders on a white background and uses the same system font as the
+// marketing site (the --font-system token shared by the landing page).
+export default function AppLayout({ children }: { children: ReactNode }) {
+ return (
+ <div className="min-h-screen bg-white font-system text-foreground">
+ {children}
+ </div>
+ );
+}
diff --git a/site/src/app/app/settings/SettingsShell.tsx b/site/src/app/app/settings/SettingsShell.tsx
index 8d804d00..f867a8e4 100644
--- a/site/src/app/app/settings/SettingsShell.tsx
+++ b/site/src/app/app/settings/SettingsShell.tsx
@@ -39,7 +39,7 @@ export function SettingsShell({ children }: { children: ReactNode }) {
}
return (
- <div className="min-h-screen bg-background text-foreground">
+ <div className="min-h-screen">
<header className="border-b">
<div className="mx-auto flex max-w-5xl items-center justify-between px-6 py-4">
<Link className="text-lg font-semibold" href="/app/settings">