generated from Fascinated/nextjs-13-template-with-tailwindcss
fix theme color?
This commit is contained in:
parent
1ac5c4ba72
commit
445cf3b1fd
@ -20,7 +20,7 @@
|
|||||||
"metadata": {
|
"metadata": {
|
||||||
"title": "Your Name",
|
"title": "Your Name",
|
||||||
"description": "website description",
|
"description": "website description",
|
||||||
"color": "#6441a5"
|
"themeColor": "#6441a5"
|
||||||
},
|
},
|
||||||
"links": [
|
"links": [
|
||||||
{
|
{
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
import { Inter } from "next/font/google";
|
import { Inter } from "next/font/google";
|
||||||
import "./globals.css";
|
import "./globals.css";
|
||||||
|
|
||||||
import Head from "next/head";
|
|
||||||
import Config from "../../config.json";
|
import Config from "../../config.json";
|
||||||
|
|
||||||
const inter = Inter({ subsets: ["latin"] });
|
const inter = Inter({ subsets: ["latin"] });
|
||||||
@ -15,9 +14,6 @@ export default function RootLayout({
|
|||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<Head>
|
|
||||||
<meta name="theme-color" content={Config.metadata.color} />
|
|
||||||
</Head>
|
|
||||||
<body className={inter.className}>{children}</body>
|
<body className={inter.className}>{children}</body>
|
||||||
</html>
|
</html>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user