Skip to content

Commit

Permalink
disable dark mode on full-stack-tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
haydenbaker committed Aug 29, 2024
1 parent f423636 commit 78d113b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
14 changes: 3 additions & 11 deletions tutorials/full-stack-application/app/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,6 @@
--background-end-rgb: 255, 255, 255;
}

@media (prefers-color-scheme: dark) {
:root {
--foreground-rgb: 255, 255, 255;
--background-start-rgb: 0, 0, 0;
--background-end-rgb: 0, 0, 0;
}
}

body {
color: rgb(var(--foreground-rgb));
background: linear-gradient(
Expand All @@ -41,7 +33,7 @@ body {
}

.home_header_content {
@apply fixed bottom-0 left-0 flex h-48 w-full items-end justify-center bg-gradient-to-t from-white via-white dark:from-black dark:via-black lg:static lg:size-auto lg:bg-none;
@apply fixed bottom-0 left-0 flex h-48 w-full items-end justify-center bg-gradient-to-t from-white via-white lg:static lg:size-auto lg:bg-none;
}

.title_container {
Expand All @@ -60,7 +52,7 @@ body {
}

.menu-item_title {
@apply items-center mb-1 p-1 w-full border-b-2 border-gray-100 dark:text-gray-400;
@apply items-center mb-1 p-1 w-full border-b-2 border-gray-100;
}

.menu-item_title_text {
Expand Down Expand Up @@ -93,7 +85,7 @@ body {
}

.menu-item_box_list {
@apply mt-1 mb-3 space-y-2 text-gray-500 list-disc dark:text-gray-400 list-outside ms-4;
@apply mt-1 mb-3 space-y-2 text-gray-500 list-disc list-outside ms-4;
}

/* ----------- */
Expand Down
2 changes: 1 addition & 1 deletion tutorials/full-stack-application/app/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default async function Page() {
<Image
src="/coffee-cup.png"
alt="Logo"
className="dark:invert"
className=""
width={100}
height={24}
priority
Expand Down

0 comments on commit 78d113b

Please sign in to comment.