夜间模式按钮

This commit is contained in:
tangly1024
2022-05-11 13:26:43 +08:00
parent 95b5299567
commit b409391ee7
15 changed files with 63 additions and 57 deletions

View File

@@ -15,7 +15,7 @@ import JumpToTopButton from './components/JumpToTopButton'
const LayoutBase = props => {
const { children, meta } = props
return (
<div className='dark:text-gray-300'>
<div className='dark:text-gray-300 bg-white dark:bg-black'>
<CommonHead meta={meta} />
{/* 顶栏LOGO */}
<Header {...props} />
@@ -24,7 +24,7 @@ const LayoutBase = props => {
<Nav {...props} />
{/* 主体 */}
<div className="w-full bg-white">
<div className="w-full">
<Title {...props} />