Allow default theme to be customized from config file (#292)

* feat: customize default theme

Co-authored-by: llovvoll <Rick.Jiang@aol.com>
This commit is contained in:
Timothy
2021-12-15 16:48:16 +08:00
committed by GitHub
parent b1f07e6215
commit e48573e2bf
2 changed files with 3 additions and 1 deletions

View File

@ -4,6 +4,7 @@ const siteMetadata = {
headerTitle: 'TailwindBlog',
description: 'A blog created with Next.js and Tailwind.css',
language: 'en-us',
theme: 'system', // system, dark or light
siteUrl: 'https://tailwind-nextjs-starter-blog.vercel.app',
siteRepo: 'https://github.com/timlrx/tailwind-nextjs-starter-blog',
siteLogo: '/static/images/logo.png',