Skip to content

Commit

Permalink
Merge pull request #2963 from tangly1024/fix/theme-movie
Browse files Browse the repository at this point in the history
movie-photo主题浅色模式字体颜色
  • Loading branch information
tangly1024 authored Nov 13, 2024
2 parents 5e35fdf + d18b3ed commit 4fb56d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions themes/movie/components/BlogPostCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'>
Expand All @@ -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} />
)}
Expand Down
4 changes: 2 additions & 2 deletions themes/photo/components/BlogPostCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'>
Expand All @@ -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} />
)}
Expand Down

0 comments on commit 4fb56d2

Please sign in to comment.