From 31628f5f6ed8806740d4dcf330eba4048ae4cbbf Mon Sep 17 00:00:00 2001 From: tika <48658947+tika@users.noreply.github.com> Date: Mon, 22 Dec 2025 13:47:12 +0000 Subject: [PATCH 1/8] ref: tailwind colours -> shadcn colours --- src/app/graphs/page.tsx | 48 +++++++++++----------- src/app/schools/[name]/page.tsx | 26 ++++++------ src/app/schools/page.tsx | 2 +- src/components/Breadcrumbs.tsx | 6 +-- src/components/Calendar.tsx | 6 +-- src/components/Checkbox.tsx | 4 +- src/components/Dashboard.tsx | 6 +-- src/components/DataTableSchools.tsx | 8 ++-- src/components/FileUpload.tsx | 4 +- src/components/GraphFilters.tsx | 14 +++---- src/components/InputField.tsx | 10 ++--- src/components/SchoolSearchbar.tsx | 4 +- src/components/Sidebar.tsx | 18 ++++---- src/components/Slider.tsx | 10 ++--- src/components/SpreadsheetConfirmation.tsx | 2 +- src/components/SpreadsheetPreview.tsx | 8 ++-- src/components/SpreadsheetPreviewFail.tsx | 6 +-- src/components/SpreadsheetState.tsx | 4 +- src/components/SpreadsheetStatusBar.tsx | 4 +- src/components/Tooltip.tsx | 4 +- src/components/YearDropdown.tsx | 2 +- src/components/ui/table.tsx | 4 +- 22 files changed, 100 insertions(+), 100 deletions(-) diff --git a/src/app/graphs/page.tsx b/src/app/graphs/page.tsx index f466709..71baf84 100644 --- a/src/app/graphs/page.tsx +++ b/src/app/graphs/page.tsx @@ -310,9 +310,9 @@ export default function GraphsPage() { ).sort(); return ( -
+
{/* Left Sidebar - Filter Panel */} -
+
{loading ? ( -

+

Loading project data...

) : (
{/* Header */} -
-

+
+

Projects by {groupByLabels[filters.groupBy]}

- - - {response &&

{response}

} + {response &&

{response}

}
); diff --git a/src/components/Checkbox.tsx b/src/components/Checkbox.tsx index 841eb26..7201ad1 100644 --- a/src/components/Checkbox.tsx +++ b/src/components/Checkbox.tsx @@ -33,11 +33,11 @@ export default function Checkbox({ type="checkbox" checked={isChecked || false} onChange={handleChange} - className="peer appearance-none w-6 h-6 flex-shrink-0 border-2 border-gray-400 rounded transition-colors" + className="peer appearance-none w-6 h-6 flex-shrink-0 border-2 border-border rounded transition-colors" /> {/* X overlay */} - + diff --git a/src/components/Dashboard.tsx b/src/components/Dashboard.tsx index 0a32277..bd804d7 100644 --- a/src/components/Dashboard.tsx +++ b/src/components/Dashboard.tsx @@ -60,7 +60,7 @@ export default function Dashboard() {

); diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx index a9a5686..732775b 100644 --- a/src/components/Sidebar.tsx +++ b/src/components/Sidebar.tsx @@ -67,7 +67,7 @@ export default function Sidebar() { ]; return ( -