1- import { searchCatalogCourses } from "@/lib/backend/db" ;
21import { getCurrentSemester } from "@/lib/backend/audit-scraper" ;
2+ import { searchCatalogCourses } from "@/lib/backend/db" ;
33import type {
44 CatalogCourse ,
55 CourseCode ,
@@ -99,12 +99,12 @@ function DivisionToggle({
9999 >
100100 < div
101101 className = { cn (
102- "w-5 h-5 rounded-full transform transition-transform duration-200 absolute top-1/2 -translate-y-1/2 bg-white " ,
102+ "w-5 h-5 rounded-full transform transition-transform duration-200 absolute top-1/2 -translate-y-1/2 bg-background " ,
103103 checked ? "translate-x-[24px]" : "translate-x-1" ,
104104 ) }
105105 />
106106 </ button >
107- < span className = "text-base text-gray-900 " > { label } </ span >
107+ < span className = "text-base text-text " > { label } </ span >
108108 </ div >
109109 ) ;
110110}
@@ -423,12 +423,12 @@ function FulfillingCoursesContent({
423423 value = { query }
424424 onChange = { ( event ) => setQuery ( event . target . value ) }
425425 placeholder = "Search fulfilling courses"
426- className = "w-full h-12 px-4 border border-[#E5E1DA] rounded-md text-base font-semibold placeholder:text-gray-400 focus:outline-none focus:ring-2 focus:ring-[#579D42] focus:border-transparent transition-all"
426+ className = "w-full h-12 px-4 border border-dap-border rounded-md text-base font-semibold placeholder:text-gray-400 focus:outline-none focus:ring-2 focus:ring-dap-orange focus:border-transparent transition-all"
427427 />
428428
429429 < div className = "mt-4 space-y-3 max-h-[500px] overflow-y-auto pr-1" >
430430 { isLoading ? (
431- < div className = "flex items-center gap-2 text-gray-600 " >
431+ < div className = "flex items-center gap-2 text-muted " >
432432 < CircleNotchIcon className = "h-5 w-5 animate-spin" />
433433 < span > Loading fulfilling courses...</ span >
434434 </ div >
@@ -443,7 +443,7 @@ function FulfillingCoursesContent({
443443 key = { course . uniqueId }
444444 onClick = { ( ) => setSelectedCourseId ( course . uniqueId ) }
445445 className = { cn (
446- "w-full min-h-[70px] grid grid-cols-[22px_1fr] items-stretch overflow-hidden rounded-md border bg-white text-left transition-colors" ,
446+ "w-full min-h-[70px] grid grid-cols-[22px_1fr] items-stretch overflow-hidden rounded-md border bg-background text-left transition-colors" ,
447447 isSelected
448448 ? "border-2 border-[#579D42]"
449449 : "border-[#E5E1DA] hover:border-gray-300" ,
@@ -457,24 +457,24 @@ function FulfillingCoursesContent({
457457 />
458458 </ div >
459459 < div className = "px-3 py-3" >
460- < p className = "text-base font-semibold text-gray-900 leading-tight" >
460+ < p className = "text-base font-semibold leading-tight" >
461461 { courseCode }
462462 </ p >
463- < p className = "mt-2 text-sm font-medium text-black leading-tight" >
463+ < p className = "mt-2 text-sm font-medium leading-tight" >
464464 { course . fullName }
465465 </ p >
466466 </ div >
467467 </ button >
468468 ) ;
469469 } )
470470 ) : (
471- < div className = "min-h-[180px] rounded-md border border-dashed border-[#E5E1DA] bg-[#FAFAF9] px-6 py-8 flex flex-col items-center justify-center text-center" >
472- < p className = "text-lg font-semibold text-gray-900 " >
471+ < div className = "min-h-[180px] rounded-md border border-dashed border-dap-border bg-background px-6 py-8 flex flex-col items-center justify-center text-center" >
472+ < p className = "text-lg font-semibold text-text " >
473473 { hasSearchQuery
474474 ? "No matching fulfilling courses"
475475 : "No fulfilling courses found" }
476476 </ p >
477- < p className = "mt-2 text-sm text-gray-600 " >
477+ < p className = "mt-2 text-sm text-muted " >
478478 { hasSearchQuery
479479 ? "Try a different course number, title, or instructor."
480480 : "This requirement does not have any catalog matches yet." }
@@ -578,13 +578,13 @@ export default function CourseAddModal({
578578 >
579579 < div
580580 className = { cn (
581- "bg-white rounded-md border border-dap-border shadow-2xl w-full max-w-[550px] max-h-[90vh] mx-4 transform transition-all duration-200 overflow-hidden" ,
581+ "bg-background rounded-md border border-dap-border shadow-2xl w-full max-w-[550px] max-h-[90vh] mx-4 transform transition-all duration-200 overflow-hidden" ,
582582 isOpen ? "scale-100 opacity-100" : "scale-95 opacity-0" ,
583583 ) }
584584 onClick = { ( e ) => e . stopPropagation ( ) }
585585 >
586586 < div className = "px-7 pt-7 pb-7" >
587- < h2 className = "text-3xl leading-none font-bold text-gray-900 mb-8" >
587+ < h2 className = "text-3xl leading-none font-bold text-text mb-8" >
588588 Fulfilling courses
589589 </ h2 >
590590 < FulfillingCoursesContent
0 commit comments