movie-photo主题浅色模式字体颜色

This commit is contained in:
tangly1024
2024-11-13 20:16:43 +08:00
parent 5e35fdf968
commit d18b3ed336
2 changed files with 4 additions and 4 deletions

View File

@@ -14,7 +14,7 @@ const BlogPostCard = ({ index, post, showSummary, siteInfo }) => {
return (
<article
data-wow-delay='.2s'
className='wow fadeInUp w-full mb-4 cursor-pointer overflow-hidden shadow-movie dark:bg-hexo-black-gray'>
className='wow fadeInUp w-full mb-4 cursor-pointer overflow-hidden shadow-movie dark:bg-hexo-black-gray text-white'>
<Link href={post?.href} passHref legacyBehavior>
{/* 固定高度 ,空白用图片拉升填充 */}
<div className='group flex flex-col aspect-[2/3] justify-between relative'>
@@ -39,7 +39,7 @@ const BlogPostCard = ({ index, post, showSummary, siteInfo }) => {
)}
</div>
{/* 阴影遮罩 */}
<h2 className='absolute bottom-10 px-6 transition-all duration-200 text-white text-2xl font-semibold break-words shadow-text z-20'>
<h2 className='absolute bottom-10 px-6 transition-all duration-200 text-2xl font-semibold break-words shadow-text z-20'>
{siteConfig('POST_TITLE_ICON') && (
<NotionIcon icon={post.pageIcon} />
)}

View File

@@ -14,7 +14,7 @@ const BlogPostCard = ({ index, post, showSummary, siteInfo }) => {
return (
<article
data-wow-delay='.2s'
className='wow fadeInUp w-full mb-4 cursor-pointer overflow-hidden shadow-movie dark:bg-hexo-black-gray'>
className='wow fadeInUp w-full mb-4 cursor-pointer overflow-hidden shadow-movie dark:bg-hexo-black-gray text-white'>
<Link href={post?.href} passHref legacyBehavior>
{/* 固定高度 ,空白用图片拉升填充 */}
<div className='group flex flex-col aspect-[2/3] justify-between relative'>
@@ -39,7 +39,7 @@ const BlogPostCard = ({ index, post, showSummary, siteInfo }) => {
)}
</div>
{/* 阴影遮罩 */}
<h2 className='absolute bottom-10 px-6 transition-all duration-200 text-white text-2xl font-semibold break-words shadow-text z-20'>
<h2 className='absolute bottom-10 px-6 transition-all duration-200 text-2xl font-semibold break-words shadow-text z-20'>
{siteConfig('POST_TITLE_ICON') && (
<NotionIcon icon={post.pageIcon} />
)}