Skip to content

Commit fbb5c55

Browse files
committed
fix-dark-theme
1 parent a5f19dd commit fbb5c55

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

app/blog/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export default function Page() {
1616
<div className="flex items-start justify-between">
1717
<h1 className="font-semibold mb-2 tracking-tighter">Blog</h1>
1818
<Link
19-
className="flex items-center transition-all text-neutral-600 hover:text-neutral-800 dark:hover:text-neutral-100"
19+
className="flex items-center transition-all text-neutral-200 hover:text-neutral-800 dark:hover:text-neutral-100"
2020
rel="noopener noreferrer"
2121
target="_blank"
2222
href="/rss"

app/components/blogPosts.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const BlogPosts: FC<TBlogPostsProps> = ({ posts }) => {
4242
/>
4343
)}
4444
</p>
45-
<span className="text-neutral-500 text-sm">
45+
<span className="text-neutral-400 text-sm">
4646
{post.tags.join(", ")}
4747
</span>
4848
</div>

app/components/socials.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,13 @@ const Socials = () => {
103103
/>
104104
</span>
105105
{drawerOpened && (
106-
<div className="absolute right-0 top-6 flex flex-col gap-0.5 py-2 bg-white border border-neutral-100 rounded-xs shadow-lg z-10">
106+
<div className="absolute right-0 top-6 flex flex-col gap-0.5 py-2 bg-white dark:bg-black border border-neutral-100 dark:border-neutral-800 rounded-xs shadow-lg z-10">
107107
{socials.map((social) => (
108108
<Link
109109
href={social.url}
110110
key={social.title}
111111
target="_blank"
112-
className="py-1 px-2 w-[9.375rem] flex flex-row items-center gap-2 text-neutral-600 hover:text-neutral-800 transition-colors text-sm"
112+
className="py-1 px-2 w-[9.375rem] flex flex-row items-center gap-2 text-neutral-600 dark:text-white hover:text-neutral-800 dark:hover:text-neutral-200 transition-colors text-sm"
113113
>
114114
{social.icon}
115115
{social.title}

app/global.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,5 +157,5 @@ table {
157157
.navbar {
158158
position: sticky;
159159
top: 0;
160-
background-color: #fff;
160+
@apply bg-white dark:bg-black;
161161
}

app/views/blogPost.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const BlogPost: FC<TBlogPostProps> = ({ post }) => {
4141
{post.metadata.title}
4242
</h1>
4343
<Link
44-
className="flex items-center transition-all text-neutral-600 hover:text-neutral-800 dark:hover:text-neutral-100"
44+
className="flex items-center transition-all text-neutral-200 hover:text-neutral-800 dark:hover:text-neutral-100"
4545
rel="noopener noreferrer"
4646
target="_blank"
4747
href="/rss"
@@ -54,7 +54,7 @@ const BlogPost: FC<TBlogPostProps> = ({ post }) => {
5454
<p className="text-sm text-neutral-600 dark:text-neutral-400">
5555
{formatDate(new Date(post.metadata.publishedAt), true)}
5656
</p>
57-
<span className="text-neutral-500 text-sm">
57+
<span className="text-neutral-400 text-sm">
5858
{post.metadata.tags?.join(", ")}
5959
</span>
6060
</div>

0 commit comments

Comments
 (0)