Skip to content

Commit 55369b2

Browse files
authored
Merge pull request #98 from UTDNebula/light-mode-bg
Light mode bg
2 parents b642b72 + 455c31b commit 55369b2

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/app/index.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,8 @@ const Index = () => {
269269
<TopMenu />
270270
<div
271271
className={
272-
'h-fit dark:bg-black' + (page !== 'list' ? ' hidden' : '')
272+
'h-fit bg-[rgb(246,246,246)] dark:bg-black' +
273+
(page !== 'list' ? ' hidden' : '')
273274
}
274275
>
275276
<div className="p-4">
@@ -292,7 +293,7 @@ const Index = () => {
292293
/>
293294
</div>
294295
{page !== 'list' && (
295-
<div className="h-fit min-h-full p-4 dark:bg-black">
296+
<div className="h-fit min-h-full p-4 bg-[rgb(246,246,246)] dark:bg-black">
296297
<ProfessorOverview
297298
professor={convertToProfOnly(page)}
298299
grades={grades[searchQueryLabel(convertToProfOnly(page))]}

src/components/Landing.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const ExplanatoryPage = ({
2525
next?: number;
2626
}) => {
2727
return (
28-
<div className="h-full w-full flex flex-col dark:bg-black">
28+
<div className="h-full w-full flex flex-col bg-[rgb(246,246,246)] dark:bg-black">
2929
<img
3030
src={src}
3131
alt="tutorial descriptive"

0 commit comments

Comments
 (0)