+
{loading && !events.length ? (
) : error ? (
diff --git a/inventory/src/components/dashboard/MiniRealtimeAnalytics.jsx b/inventory/src/components/dashboard/MiniRealtimeAnalytics.jsx
index 600a806..92f4d3d 100644
--- a/inventory/src/components/dashboard/MiniRealtimeAnalytics.jsx
+++ b/inventory/src/components/dashboard/MiniRealtimeAnalytics.jsx
@@ -14,7 +14,9 @@ import { format } from "date-fns";
import { processBasicData } from "./RealtimeAnalytics";
import { DashboardStatCardMini, DashboardStatCardMiniSkeleton, TOOLTIP_THEMES } from "@/components/dashboard/shared";
import { Skeleton } from "@/components/ui/skeleton";
-import { METRIC_COLORS } from "@/lib/dashboard/designTokens";
+
+// Brighter color for dark glass background
+const MINI_BAR_COLOR = "#38bdf8"; // sky-400
const MiniRealtimeAnalytics = () => {
@@ -93,7 +95,7 @@ const MiniRealtimeAnalytics = () => {
-
+
@@ -156,7 +158,7 @@ const MiniRealtimeAnalytics = () => {
/>
-
+
@@ -195,7 +197,7 @@ const MiniRealtimeAnalytics = () => {
return null;
}}
/>
-
+
diff --git a/inventory/src/components/dashboard/MiniSalesChart.jsx b/inventory/src/components/dashboard/MiniSalesChart.jsx
index f4c5262..ad95275 100644
--- a/inventory/src/components/dashboard/MiniSalesChart.jsx
+++ b/inventory/src/components/dashboard/MiniSalesChart.jsx
@@ -24,6 +24,12 @@ import {
TOOLTIP_THEMES,
} from "@/components/dashboard/shared";
+// Brighter chart colors for dark glass backgrounds
+const MINI_CHART_COLORS = {
+ revenue: "#34d399", // emerald-400
+ orders: "#60a5fa", // blue-400
+};
+
const MiniSalesChart = ({ className = "" }) => {
const [data, setData] = useState([]);
const [loading, setLoading] = useState(true);
@@ -166,7 +172,7 @@ const MiniSalesChart = ({ className = "" }) => {
{/* Chart Card */}
-
+
@@ -213,7 +219,7 @@ const MiniSalesChart = ({ className = "" }) => {