diff --git a/dashboard/src/lib/components/ModelCard.svelte b/dashboard/src/lib/components/ModelCard.svelte
index 9046d2a6..7d3056da 100644
--- a/dashboard/src/lib/components/ModelCard.svelte
+++ b/dashboard/src/lib/components/ModelCard.svelte
@@ -6,6 +6,27 @@
TopologyEdge,
} from "$lib/stores/app.svelte";
import { debugMode, topologyData } from "$lib/stores/app.svelte";
+ import { theme } from "$lib/stores/theme.svelte";
+
+ // Theme-aware colors for SVG elements
+ let tc = $derived({
+ accent: theme.isLight ? "#374151" : "#FFD700",
+ accentDim: theme.isLight ? "rgba(26,26,26,0.06)" : "rgba(255,215,0,0.1)",
+ accentGlow: theme.isLight ? "rgba(0,0,0,0.03)" : "rgba(255,215,0,0.1)",
+ outlineActive: theme.isLight ? "#374151" : "#FFD700",
+ outlineInactive: theme.isLight ? "#d1d5db" : "#4B5563",
+ strokeActive: theme.isLight ? "#374151" : "#FFD700",
+ strokeInactive: theme.isLight ? "#d1d5db" : "#4B5563",
+ caseFill: theme.isLight ? "#f3f4f6" : "#0a0a0a",
+ caseDetail: theme.isLight ? "#d1d5db" : "#374151",
+ errorDot: theme.isLight ? "#dc2626" : "#f87171",
+ statusInactive: theme.isLight ? "#9ca3af" : "#4B5563",
+ connGood: theme.isLight ? "rgba(30,30,30,0.85)" : "rgba(255,255,255,0.85)",
+ connBad: theme.isLight ? "rgba(220,38,38,0.85)" : "rgba(248,113,113,0.85)",
+ scanlineColor: theme.isLight
+ ? "rgba(0,0,0,0.01)"
+ : "rgba(255,215,0,0.02)",
+ });
interface Props {
model: { id: string; name?: string; storage_size_megabytes?: number };
@@ -491,7 +512,7 @@
@@ -589,7 +610,8 @@
>