From 5eae32ba47fd2e6479cbc1cef1ef4f2fb992fe15 Mon Sep 17 00:00:00 2001 From: r00t <106870489+shekharcharles@users.noreply.github.com> Date: Wed, 17 Jun 2026 22:13:29 +0530 Subject: [PATCH] fix(dashboard): light-mode backgrounds + aligned savings tables (#1064) ## Description Several dashboard cards and tables hardcoded a dark background (`bg-[#141414]`) that ignored the light theme. The most visible case was the **Agent Usage** section, which rendered black in light mode while every other surface flipped correctly. This converts those hardcoded backgrounds to the theme-aware `bg-card-alt` utility so the whole dashboard responds to the active theme, and tightens table column alignment. ## Type of Change - [x] Bug fix (non-breaking change that fixes an issue) - [ ] New feature (non-breaking change that adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] Documentation update - [ ] Performance improvement - [ ] Code refactoring (no functional changes) ## Changes Made - Replace hardcoded `bg-[#141414]` with the `bg-card-alt` utility (`var(--card-alt-bg)`: `#f3f4f6` light / `#141414` dark) across Agent Usage cards, the request-count badge, and per-agent rows. 0 hardcoded darks remain. - Per-model and per-project savings tables: `table-layout:fixed` + explicit `
| Model | +||||||||
|---|---|---|---|---|---|---|---|---|
| Model | Requests | Tokens Saved | Tokens Sent | @@ -1089,14 +1099,14 @@|||||
| + | - | - | - | + | + | + | - + | |
| Project | +||||||||
|---|---|---|---|---|---|---|---|---|
| Project | Requests | Tokens Saved | Saved $ | Savings % | +||||
| - + | + | -- | - | + | + | + |
-
+
+
+
+
+
+ |
+
| - | Time | -Model | -Input | -Output | -Saved | -Latency | -|
|---|---|---|---|---|---|---|---|
|
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
-
-
-
+
+
+
+
+
+
+
+
+
+
+
-
-
-
- Original Tokens
-
-
-
- Compressed Tokens
-
-
-
- Tokens Removed
-
-
-
+
+
+ Optimization Time
-
+
+
+
+
+
+
+
+ Original Tokens
+
+
+
+ Compressed Tokens
+
+
+
+ Tokens Removed
+
+
+
+ Optimization Time
+
+
+
-
-
- Transforms Applied
+
+
+
+
- Transforms Applied
-
-
-
-
-
+
+
+
+
+
-
- Waste Detected
+
+
+
+
-
-
-
-
-
-
- Waste Detected
-
-
-
-
-
- |
- |||||||
| - No requests yet. Start using the proxy to see activity here. - | -|||||||