Skip to content

Commit

Permalink
fix-#275: Correct the icon color in dark mode (#441)
Browse files Browse the repository at this point in the history
  • Loading branch information
krishnaacharyaa authored Jul 3, 2024
2 parents aaf569d + aa7445c commit c7df8ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/blog-feed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default function BlogFeed() {
const [loading, setLoading] = useState(true);

useEffect(() => {
let categoryEndpoint =
const categoryEndpoint =
selectedCategory === 'featured'
? '/api/posts/featured'
: `/api/posts/categories/${selectedCategory}`;
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/latest-post-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default function LatestPostCard({
<CategoryPill key={`${category}-${index}`} category={category} />
))}
</div>
<img src={linkIcon} alt={post.title} className="h-3 w-3" />
<img src={linkIcon} alt={post.title} className="h-4 w-4 dark:invert" />
</div>
<div className="mb-2 line-clamp-1 font-semibold text-light-title dark:text-dark-title">
{post.title}
Expand Down

0 comments on commit c7df8ad

Please sign in to comment.