diff --git a/frontend/src/lib/components/StatsPanel.svelte b/frontend/src/lib/components/StatsPanel.svelte index 49a565b..d7a2f12 100644 --- a/frontend/src/lib/components/StatsPanel.svelte +++ b/frontend/src/lib/components/StatsPanel.svelte @@ -91,13 +91,13 @@ // Chart colors (resolved from CSS vars, must match app.css) const C_ACCENT = '#5e8c58'; - const C_ACCENT_FILL = 'rgba(94,140,88,0.08)'; + const C_ACCENT_FILL = 'rgba(94,140,88,0.13)'; const C_BLUE = '#5a9fd4'; - const C_BLUE_FILL = 'rgba(90,159,212,0.07)'; + const C_BLUE_FILL = 'rgba(90,159,212,0.11)'; const C_AMBER = '#d4a73c'; - const C_AMBER_FILL = 'rgba(212,167,60,0.07)'; - const C_GRID = 'rgba(255,255,255,0.04)'; - const C_TICK = '#454340'; + const C_AMBER_FILL = 'rgba(212,167,60,0.11)'; + const C_GRID = 'rgba(255,255,255,0.05)'; + const C_TICK = '#635f5c'; const FONT_MONO = "'JetBrains Mono', monospace"; const BASE_CHART_OPTIONS = { @@ -150,7 +150,7 @@ data: [], borderColor: C_ACCENT, backgroundColor: C_ACCENT_FILL, - borderWidth: 1.5, + borderWidth: 2, fill: true, tension: 0, pointRadius: 0, @@ -169,7 +169,7 @@ data: [], borderColor: C_BLUE, backgroundColor: C_BLUE_FILL, - borderWidth: 1.5, + borderWidth: 2, fill: true, tension: 0, pointRadius: 0, @@ -200,7 +200,7 @@ data: [], borderColor: C_AMBER, backgroundColor: C_AMBER_FILL, - borderWidth: 1.5, + borderWidth: 2, fill: true, tension: 0, pointRadius: 0, @@ -250,7 +250,7 @@ } -
+
@@ -298,21 +298,21 @@
-
+
- + Running Capsules
-
-
Now
-
+
+
Now
+
{loading ? '—' : (stats?.current.running_count ?? 0)}
-
+
Peak · 30d
-
+
{loading ? '—' : (stats?.peaks.running_count ?? 0)}
@@ -320,21 +320,21 @@
-
+
- + CPU · vCPUs
-
-
Reserved now
-
+
+
Reserved now
+
{loading ? '—' : (stats?.current.vcpus_reserved ?? 0)}
-
+
Peak · 30d
-
+
{loading ? '—' : (stats?.peaks.vcpus ?? 0)}
@@ -342,21 +342,21 @@
-
+
- + RAM
-
-
Reserved now
-
+
+
Reserved now
+
{loading ? '—' : fmtGB(stats?.current.memory_mb_reserved ?? 0)}
-
+
Peak · 30d
-
+
{loading ? '—' : fmtGB(stats?.peaks.memory_mb ?? 0)}
@@ -382,11 +382,11 @@
- +
Running Capsules
-
+
@@ -398,7 +398,7 @@
- + CPU · vCPUs
@@ -411,7 +411,7 @@
- + RAM · GB