fix handle system theme

This commit is contained in:
DefectingCat
2023-11-10 10:46:25 +08:00
parent 91ea0280fb
commit 6f6f24a050
2 changed files with 24 additions and 8 deletions

View File

@ -17,20 +17,20 @@ const PostCard = ({ post }: Props) => {
'hover:bg-sky-100 hover:bg-opacity-50',
// 'hover:bg-rua-gray-100 hover:bg-opacity-10',
'dark:hover:bg-rua-gray-800 dark:hover:bg-opacity-100',
'flex justify-between text-gray-800 ',
'flex justify-between text-gray-800',
'mb-4 dark:text-gray-200',
'flex-col',
)}
>
<div className="flex justify-between">
<h2 className="mb-4 text-3xl font-semibold font-Barlow">
<h2 className="mb-4 text-3xl font-semibold font-Barlow">
{post.title}
</h2>
<div className="hidden lg:block">{post.date}</div>
</div>
<div className="flex justify-between">
<div className="flex justify-between text-subtext0">
<div className="flex items-center text-sm">
{Array.isArray(post.tags) ? (
post.tags.map((tag) => (