mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-01-10 15:42:58 -05:00
update meta theme-color config
This commit is contained in:
@@ -2,6 +2,7 @@ import Head from "next/head";
|
||||
import { useTheme } from "next-themes";
|
||||
import Header from "./page-header/Header";
|
||||
import Footer from "./page-footer/Footer";
|
||||
import { themeColorLight, themeColorDark } from "../lib/config";
|
||||
|
||||
import styles from "./Layout.module.css";
|
||||
|
||||
@@ -11,7 +12,7 @@ const Layout = ({ children }) => {
|
||||
return (
|
||||
<>
|
||||
<Head>
|
||||
<meta name="theme-color" content={resolvedTheme === "dark" ? "#252525" : "#fcfcfc"} />
|
||||
<meta name="theme-color" content={resolvedTheme === "dark" ? themeColorDark : themeColorLight} />
|
||||
</Head>
|
||||
|
||||
<Header />
|
||||
|
||||
Reference in New Issue
Block a user