Skip to content

Commit 5e3c366

Browse files
committed
style: chaneg dark theme colors
1 parent 5459814 commit 5e3c366

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/layouts/Layout.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const rev = import.meta.env.GIT_REV || "[object Object]";
3636
/>
3737
</head>
3838
<body
39-
class="mx-auto max-w-xl lg:max-w-4xl flex flex-col gap-8 py-4 px-4 dark:bg-slate-800 dark:text-gray-300"
39+
class="mx-auto max-w-xl lg:max-w-4xl flex flex-col gap-8 py-4 px-4 dark:bg-zinc-900 dark:text-zinc-400"
4040
hx-ext="preload"
4141
hx-boost="true"
4242
>

src/styles/global.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ html {
1313
}
1414

1515
a {
16-
@apply text-blue-500 underline;
16+
@apply text-blue-500 dark:text-blue-400 underline;
1717
}
1818

1919
h1 {
@@ -36,13 +36,13 @@ ul {
3636
}
3737

3838
#article pre {
39-
@apply p-4 text-sm border-solid border-2 border-black rounded bg-scroll overflow-scroll;
39+
@apply p-4 text-sm rounded bg-scroll overflow-scroll;
4040
}
4141

4242
#article p > code {
43-
@apply bg-gray-200 px-1 dark:bg-gray-600;
43+
@apply bg-gray-200 px-1 dark:bg-zinc-700 rounded;
4444
}
4545

4646
#article blockquote > p {
47-
@apply ml-4 flex flex-col text-gray-500;
47+
@apply ml-4 flex flex-col text-zinc-100;
4848
}

0 commit comments

Comments
 (0)