File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -319,17 +319,17 @@ const CatalogueContent = () => {
319319
320320 < div className = "flex items-center gap-2 p-7" >
321321 < div >
322- < p className = "text-s font-semibold text-white/80" >
322+ < p className = "text-s font-semibold text-gray-700 dark:text- white/80" >
323323 { subject ?. split ( "[" ) [ 1 ] ?. replace ( "]" , "" ) }
324324 </ p >
325- < h2 className = "text-2xl font-extrabold text-white md:text-3xl" >
325+ < h2 className = "text-2xl font-extrabold text-gray-700 dark:text- white md:text-3xl" >
326326 { subject ?. split ( " [" ) [ 0 ] }
327327 </ h2 >
328328 </ div >
329329 < div className = "mt-7" >
330330 < button onClick = { handlePinToggle } >
331331 < Pin
332- className = { `h-7 w-7 ${ pinned ? "fill-[#A78BFA]" : "" } stroke-white` }
332+ className = { `h-7 w-7 ${ pinned ? "fill-[#A78BFA]" : "" } stroke-gray-700 dark:stroke- white` }
333333 />
334334 </ button >
335335 </ div >
Original file line number Diff line number Diff line change @@ -58,14 +58,14 @@ function Navbar() {
5858
5959 < div className = "mt-3 hidden md:flex" >
6060 < Link href = "/pinned" >
61- < div className = "ml-2 flex items-center gap-2 rounded-full border border-[#3A3745] px-4 py-2 text-sm font-semibold text-white transition hover:bg-[#1A1823]" >
61+ < div className = "ml-2 flex items-center gap-2 rounded-full border bg-[#e8e9ff] dark:bg-black border-[#3A3745] px-4 py-2 text-sm font-semibold dark: text-white transition hover:bg-slate-50 text-gray-700 dark: hover:bg-[#1A1823]" >
6262 < Pin className = "h-4 w-4" />
6363 Pinned Subjects
6464 </ div >
6565 </ Link >
6666 < div className = "ml-2 hidden md:flex" >
6767 < Link href = "/request" >
68- < div className = "ml-2 flex items-center gap-2 rounded-full border border-[#3A3745] px-4 py-2 text-sm font-semibold text-white transition hover:bg-[#1A1823]" >
68+ < div className = "ml-2 flex items-center gap-2 rounded-full border bg-[#e8e9ff] dark:bg-black border-[#3A3745] px-4 py-2 text-sm font-semibold dark: text-white transition hover:bg-slate-50 text-gray-700 dark: hover:bg-[#1A1823]" >
6969 < ArrowUpRight className = "h-4 w-4" />
7070 Paper Request
7171 </ div >
@@ -86,7 +86,7 @@ function Navbar() {
8686 </ div >
8787
8888 < Link href = { pathname === "/upload" ? "/" : "/upload" } >
89- < div className = "flex items-center gap-2 rounded-full border border-[#3A3745] px-4 py-2 text-sm font-semibold text-white transition hover:bg-[#1A1823]" >
89+ < div className = "flex items-center gap-2 rounded-full border bg-[#e8e9ff] dark:bg-black border-[#3A3745] px-4 py-2 text-sm font-semibold dark: text-white transition hover:bg-slate-50 text-gray-700 dark: hover:bg-[#1A1823]" >
9090 < ArrowDownLeftIcon className = "h-4 w-4 rotate-90" />
9191 < span >
9292 { pathname === "/upload" ? "Search Papers" : "Upload Papers" }
Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ function SearchBarChild({
145145 </ div >
146146 < span
147147 id = "subject"
148- className = "items-center text-sm tracking-wide text-white sm:text-base"
148+ className = "items-center text-sm tracking-wide text-black dark:text- white sm:text-base"
149149 >
150150 { suggestion }
151151 </ span >
You can’t perform that action at this time.
0 commit comments