Skip to content

Commit

Permalink
make default dark mode filter color black again (instead of haiti) --…
Browse files Browse the repository at this point in the history
… adds more contrast when it is selected
  • Loading branch information
AbhiramTadepalli committed Nov 18, 2024
1 parent d3b8eeb commit 0799f59
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/search/Filters/filters.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ const Filters = ({
className={`w-full ${
minGPA
? '[&>.MuiInputBase-root]:bg-cornflower-50 [&>.MuiInputBase-root]:dark:bg-cornflower-900'
: '[&>.MuiInputBase-root]:bg-white [&>.MuiInputBase-root]:dark:bg-haiti'
: '[&>.MuiInputBase-root]:bg-white [&>.MuiInputBase-root]:dark:bg-black'
}`}
>
<InputLabel id="minGPA">Min Letter Grade</InputLabel>
Expand Down Expand Up @@ -172,7 +172,7 @@ const Filters = ({
className={`w-full ${
minRating
? '[&>.MuiInputBase-root]:bg-cornflower-50 [&>.MuiInputBase-root]:dark:bg-cornflower-900'
: '[&>.MuiInputBase-root]:bg-white [&>.MuiInputBase-root]:dark:bg-haiti'
: '[&>.MuiInputBase-root]:bg-white [&>.MuiInputBase-root]:dark:bg-black'
}`}
>
<InputLabel id="minRating">Min Rating</InputLabel>
Expand Down Expand Up @@ -221,7 +221,7 @@ const Filters = ({
className={`w-full ${
chosenSessions.length !== academicSessions.length
? '[&>.MuiInputBase-root]:bg-cornflower-50 [&>.MuiInputBase-root]:dark:bg-cornflower-900'
: '[&>.MuiInputBase-root]:bg-white [&>.MuiInputBase-root]:dark:bg-haiti'
: '[&>.MuiInputBase-root]:bg-white [&>.MuiInputBase-root]:dark:bg-black'
}`}
>
<InputLabel id="Semesters">Semesters</InputLabel>
Expand Down

0 comments on commit 0799f59

Please sign in to comment.