diff --git a/src/app/components/ResearchDashboard.tsx b/src/app/components/ResearchDashboard.tsx index 27ff7aa..a776d43 100644 --- a/src/app/components/ResearchDashboard.tsx +++ b/src/app/components/ResearchDashboard.tsx @@ -175,6 +175,8 @@ export function ResearchDashboard({ label: string; hint: string; Icon: typeof Network; + cardClass: string; + tileClass: string; target: NavTarget; }> = [ { @@ -182,6 +184,10 @@ export function ResearchDashboard({ label: "Knowledge", hint: "Observations EvoScientist has learned.", Icon: Network, + cardClass: + "border-cyan-100 bg-cyan-50 dark:border-cyan-900/50 dark:bg-cyan-950/40", + tileClass: + "bg-cyan-100 text-cyan-700 dark:bg-cyan-900/60 dark:text-cyan-300", target: { view: "memory", tab: "knowledge" }, }, { @@ -189,6 +195,10 @@ export function ResearchDashboard({ label: "Timeline", hint: "Runs and observations on the activity timeline.", Icon: Activity, + cardClass: + "border-violet-100 bg-violet-50 dark:border-violet-900/50 dark:bg-violet-950/40", + tileClass: + "bg-violet-100 text-violet-700 dark:bg-violet-900/60 dark:text-violet-300", target: { view: "memory", tab: "history" }, }, { @@ -197,6 +207,10 @@ export function ResearchDashboard({ label: "Workspace", hint: "Total size of files in the current workspace.", Icon: FolderOpen, + cardClass: + "border-amber-100 bg-amber-50 dark:border-amber-900/50 dark:bg-amber-950/40", + tileClass: + "bg-amber-100 text-amber-700 dark:bg-amber-900/60 dark:text-amber-300", target: { view: "workspace" }, }, { @@ -204,6 +218,10 @@ export function ResearchDashboard({ label: "Scheduled", hint: "Recurring scheduled tasks.", Icon: Clock, + cardClass: + "border-emerald-100 bg-emerald-50 dark:border-emerald-900/50 dark:bg-emerald-950/40", + tileClass: + "bg-emerald-100 text-emerald-700 dark:bg-emerald-900/60 dark:text-emerald-300", target: { view: "schedule" }, }, ]; @@ -212,34 +230,49 @@ export function ResearchDashboard({
{hasStats && (
- {stats.map(({ value, unit, label, hint, Icon, target }) => ( - - ))} + {stats.map( + ({ + value, + unit, + label, + hint, + Icon, + cardClass, + tileClass, + target, + }) => ( + + ) + )}
)}