Skip to content

Commit 114b64b

Browse files
committed
style changes
1 parent bcc7c71 commit 114b64b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

app/[lang]/posts/[slug]/page.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export default function PostSlugPage({ params }: TProps) {
4949
const MDXContent = useMDXComponent(notFound ? "# NOT FOUND" : post.body.code);
5050
return (
5151
<div
52-
className="post-page hallway-size p-6 pt-20 dark:bg-zinc-800 shadow-lg font-serif bg-amber-50 text-zinc-800 dark:text-yellow-50"
52+
className="post-page hallway-size p-6 pt-20 dark:bg-stone-950 shadow-lg font-serif bg-amber-50 text-zinc-800 dark:text-yellow-50"
5353
style={{ minHeight: "100dvh" }}
5454
>
5555
<NoSsr>

app/components/postBody/postBody.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export default function PostBody({ children }: Props) {
99
return (
1010
<div
1111
className={clsx(
12-
`prose lg:prose-lg max-w-none lg:max-w-[90vw] transition-colors dark:prose-invert prose-neutral ${roboto_serif.variable} ${ubuntu_mono.variable} font-serif`,
12+
`lg:prose-lg prose dark:prose-invert max-w-none lg:max-w-[90vw] transition-colors ${roboto_serif.variable} ${ubuntu_mono.variable} font-serif`,
1313
styles.postBody
1414
)}
1515
>

app/styles/globals.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
@apply justify-center pt-16 max-w-[100vw] lg:max-w-[60vw];
3838
}
3939
body {
40-
@apply dark:bg-zinc-900 dark:from-slate-900 dark:to-zinc-900 bg-gradient-to-b bg-orange-100 from-orange-100 to-orange-200 dark:text-slate-50 text-slate-900;
40+
@apply dark:bg-zinc-900 dark:from-slate-950 dark:to-zinc-950 bg-gradient-to-b bg-orange-100 from-orange-100 to-orange-200 dark:text-slate-50 text-slate-900;
4141
}
4242

4343
::-webkit-scrollbar-thumb {

0 commit comments

Comments
 (0)