From dfb5317a1f4d7c353a2d215a08b4034178f2306a Mon Sep 17 00:00:00 2001 From: kaje94 Date: Sat, 25 Nov 2023 12:23:52 +0530 Subject: [PATCH] Add theme color to layout --- src/app/layout.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 5cf295f..d70ff58 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,5 +1,5 @@ import { Toaster } from "react-hot-toast"; -import type { Metadata } from "next"; +import type { Metadata, Viewport } from "next"; import { Footer } from "@/components/LayoutElements/Footer"; import { NavBar } from "@/components/LayoutElements/NavBar"; import { ScrollToTop } from "@/components/LayoutElements/ScrollToTop"; @@ -62,6 +62,10 @@ export const metadata: Metadata = { ], }; +export const viewport: Viewport = { + themeColor: "#000033", +}; + export default function RootLayout({ children }: ChildrenProps) { return (