Skip to content

Commit

Permalink
统一分类、标签、归档三个页面的背景色
Browse files Browse the repository at this point in the history
  • Loading branch information
Hscpro committed Dec 9, 2022
1 parent 9abce27 commit 4757fd5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion themes/next/LayoutArchive.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 39,7 @@ export const LayoutArchive = (props) => {

return (
<LayoutBase {...props}>
<div className="mb-10 pb-20 bg-white md:p-12 p-3 dark:bg-gray-800 shadow-md min-h-full">
<div className="mb-10 pb-20 bg-white md:p-12 p-3 dark:bg-hexo-black-gray shadow-md min-h-full">
{Object.keys(archivePosts).map(archiveTitle => (
<BlogPostArchive
key={archiveTitle}
Expand Down
2 changes: 1 addition & 1 deletion themes/next/LayoutCategoryIndex.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 6,7 @@ export const LayoutCategoryIndex = (props) => {
const { allPosts, categories } = props
const { locale } = useGlobal()
return <LayoutBase totalPosts={allPosts} {...props}>
<div className='bg-white dark:bg-gray-700 px-10 py-10 shadow h-full'>
<div className='bg-white dark:bg-hexo-black-gray px-10 py-10 shadow h-full'>
<div className='dark:text-gray-200 mb-5'>
<i className='mr-4 fas faTh' />{locale.COMMON.CATEGORY}:
</div>
Expand Down
2 changes: 1 addition & 1 deletion themes/next/LayoutTagIndex.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 6,7 @@ export const LayoutTagIndex = (props) => {
const { tags } = props
const { locale } = useGlobal()
return <LayoutBase {...props}>
<div className='bg-white dark:bg-gray-700 px-10 py-10 shadow h-full'>
<div className='bg-white dark:bg-hexo-black-gray px-10 py-10 shadow h-full'>
<div className='dark:text-gray-200 mb-5'><i className='fas fa-tags mr-4'/>{locale.COMMON.TAGS}:</div>
<div id='tags-list' className='duration-200 flex flex-wrap'>
{ tags.map(tag => {
Expand Down

0 comments on commit 4757fd5

Please sign in to comment.