Hexo 适配夜间模式

This commit is contained in:
tangly1024
2022-03-03 16:21:52 +08:00
parent 7df84fa0dc
commit 066c7d5c1c
14 changed files with 21 additions and 23 deletions

View File

@@ -8,7 +8,7 @@ const MenuButtonGroup = (props) => {
const { postCount, customNav } = props
const { locale } = useGlobal()
const router = useRouter()
const archiveSlot = <div className='bg-blue-300 dark:bg-blue-500 rounded-md text-gray-50 px-1 text-xs'>{postCount}</div>
const archiveSlot = <div className='bg-blue-300 dark:bg-blue-400 rounded-md text-gray-50 px-1 text-xs'>{postCount}</div>
let links = [
{ icon: 'fas fa-home', name: locale.NAV.INDEX, to: '/' || '/', show: true },