diff --git a/tailwind.config.js b/tailwind.config.js index bd57d456..829bee9f 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -13,6 +13,11 @@ module.exports = { }, night: { DEFAULT: BLOG.BACKGROUND_DARK || '#111827' + }, + hexo: { + 'background-gray': '#f5f5f5', + 'black-gray': '#101414', + 'light-gray': '#e5e5e5' } } } diff --git a/themes/hexo/LayoutBase.js b/themes/hexo/LayoutBase.js index 0c4b7600..4688c7cf 100644 --- a/themes/hexo/LayoutBase.js +++ b/themes/hexo/LayoutBase.js @@ -44,7 +44,7 @@ const LayoutBase = (props) => { return () => document.removeEventListener('scroll', scrollListener) }, [show]) - return (
+ return (
@@ -64,7 +64,7 @@ const LayoutBase = (props) => { {/* 右下角悬浮 */} -
+
{floatSlot} diff --git a/themes/hexo/LayoutCategoryIndex.js b/themes/hexo/LayoutCategoryIndex.js index 7b0e35a0..1556861a 100644 --- a/themes/hexo/LayoutCategoryIndex.js +++ b/themes/hexo/LayoutCategoryIndex.js @@ -25,7 +25,7 @@ export const LayoutCategoryIndex = props => {
diff --git a/themes/hexo/LayoutSearch.js b/themes/hexo/LayoutSearch.js index 60af7cd0..9b0803ec 100644 --- a/themes/hexo/LayoutSearch.js +++ b/themes/hexo/LayoutSearch.js @@ -55,7 +55,7 @@ export const LayoutSearch = props => { >
diff --git a/themes/hexo/LayoutSlug.js b/themes/hexo/LayoutSlug.js index 2103a3d3..76ff42de 100644 --- a/themes/hexo/LayoutSlug.js +++ b/themes/hexo/LayoutSlug.js @@ -53,7 +53,7 @@ export const LayoutSlug = props => { showTag={false} floatSlot={floatSlot} > -
+
{!lock && } {lock && }
diff --git a/themes/hexo/components/ArticleCopyright.js b/themes/hexo/components/ArticleCopyright.js index aadf73b9..9275a664 100644 --- a/themes/hexo/components/ArticleCopyright.js +++ b/themes/hexo/components/ArticleCopyright.js @@ -17,7 +17,7 @@ export default function ArticleCopyright () { const { locale } = useGlobal() return
-