aboutsummaryrefslogtreecommitdiff
path: root/apps/web/app/layout.tsx
diff options
context:
space:
mode:
authorDhravya Shah <[email protected]>2024-06-18 17:58:46 -0500
committerDhravya Shah <[email protected]>2024-06-18 17:58:46 -0500
commitf4bb71e8f7e07bb2e919b7f222d5acb2905eb8f2 (patch)
tree7310dc521ef3559055bbe71f50c3861be2fa0503 /apps/web/app/layout.tsx
parentdarkmode by default - so that the colors don't f up on lightmode devices (diff)
parentCreate Embeddings for Canvas (diff)
downloadsupermemory-default-darkmode.tar.xz
supermemory-default-darkmode.zip
Diffstat (limited to 'apps/web/app/layout.tsx')
-rw-r--r--apps/web/app/layout.tsx6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/web/app/layout.tsx b/apps/web/app/layout.tsx
index 1b5558bb..52cd9d32 100644
--- a/apps/web/app/layout.tsx
+++ b/apps/web/app/layout.tsx
@@ -2,6 +2,7 @@ import "@repo/tailwind-config/globals.css";
import type { Metadata } from "next";
import { Inter } from "next/font/google";
+import { Toaster } from "@repo/ui/shadcn/toaster";
const inter = Inter({ subsets: ["latin"] });
@@ -63,7 +64,10 @@ export default function RootLayout({
return (
<html lang="en">
{/* TODO: when lightmode support is added, remove the 'dark' class from the body tag */}
- <body className={`${inter.className}`}>{children}</body>
+ <body className={`${inter.className} dark`}>
+ {children}
+ <Toaster />
+ </body>
</html>
);
}