Medium 适配夜间模式

This commit is contained in:
tangly1024
2022-03-03 16:27:51 +08:00
parent 066c7d5c1c
commit e8a8ef3b89
8 changed files with 16 additions and 16 deletions

View File

@@ -23,7 +23,7 @@ const LayoutBase = props => {
const router = useRouter()
return (
<div className='bg-white w-full h-full min-h-screen justify-center'>
<div className='bg-white dark:bg-gray-800 w-full h-full min-h-screen justify-center dark:text-gray-300'>
<CommonHead meta={meta} />
<main id='wrapper' className='flex justify-between w-full h-full mx-auto'>
{/* 桌面端左侧菜单 */}
@@ -39,7 +39,7 @@ const LayoutBase = props => {
</div>
{/* 桌面端右侧 */}
<div className='hidden xl:block border-l w-96'>
<div className='hidden xl:block border-l dark:border-gray-500 w-96'>
<Tabs className='py-14 px-6 sticky top-0'>
{slotRight}
<div key={locale.NAV.ABOUT}>