Skip to content

Commit e6ca086

Browse files
committed
fix: fixed inconsistent background color
1 parent 38d807e commit e6ca086

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

site/src/app/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export default function RootLayout({
5757
return (
5858
<html lang="en" className={`${inter.className} ${spaceMono.variable}`} suppressHydrationWarning>
5959
<body>
60-
<div className={`min-h-screen`}>
60+
<div className={`min-h-screen bg-neutral-100 dark:bg-neutral-950 text-gray-800 dark:text-gray-200`}>
6161
<Providers> {children} </Providers>
6262
</div>
6363
</body>

site/src/app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function SmoothScroll() {
4949

5050
export default function Portfolio() {
5151
return (
52-
<div className="bg-neutral-100 dark:bg-neutral-950 text-gray-800 dark:text-gray-200 transition-colors duration-300">
52+
<div className="transition-colors duration-300">
5353
<SmoothScroll />
5454
<Navbar />
5555
<div className="mx-auto max-w-full px-4 sm:px-12 md:px-16 lg:max-w-5xl xl:max-w-6xl 2xl:max-w-7xl">

0 commit comments

Comments
 (0)