1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-09-13 23:55:35 -04:00

update meta theme-color config

This commit is contained in:
2022-01-08 09:15:27 -05:00
parent dc7b2a88bb
commit 0954c78104
2 changed files with 4 additions and 1 deletions

View File

@@ -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 />

View File

@@ -18,6 +18,8 @@ module.exports = {
fathomSiteId: "WBGNQUKW",
fathomCustomDomain: "https://blue-chilly.jarv.is",
webmentionId: "jarv.is",
themeColorLight: "#fcfcfc",
themeColorDark: "#252525",
// Me info
authorName: "Jake Jarvis",