Skip to content

Commit c0c68d8

Browse files
committed
chore: themeColor added in viewport
1 parent 9f8b435 commit c0c68d8

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/app/layout.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Metadata } from "next";
1+
import type { Metadata, Viewport } from "next";
22
import { Montserrat, Open_Sans } from "next/font/google";
33
import "./globals.css";
44
import ScrollToTop from "./components/ScrollToTop";
@@ -73,7 +73,6 @@ export const metadata: Metadata = {
7373
],
7474
locale: "en_US",
7575
},
76-
themeColor: "#151414",
7776
robots: {
7877
index: true,
7978
follow: true,
@@ -92,6 +91,10 @@ export const metadata: Metadata = {
9291
},
9392
};
9493

94+
export const viewport: Viewport = {
95+
themeColor: "#0d1117",
96+
}
97+
9598
export default function RootLayout({
9699
children,
97100
}: Readonly<{

0 commit comments

Comments
 (0)