Matthias Nott
2026-03-07 af1543135d42adc2e97dc5243aeef7418cd3b00d
components/ui/StatusDot.tsx
....@@ -8,17 +8,19 @@
88 }
99
1010 export function StatusDot({ status, size = 10 }: StatusDotProps) {
11
- const colorClass =
11
+ const color =
1212 status === "connected"
13
- ? "bg-pai-success"
13
+ ? "#22c55e"
14
+ : status === "compacting"
15
+ ? "#3b82f6"
1416 : status === "connecting"
15
- ? "bg-pai-warning"
16
- : "bg-pai-error";
17
+ ? "#eab308"
18
+ : "#ef4444";
1719
1820 return (
1921 <View
20
- className={`rounded-full ${colorClass}`}
21
- style={{ width: size, height: size }}
22
+ className="rounded-full"
23
+ style={{ width: size, height: size, backgroundColor: color }}
2224 />
2325 );
2426 }