Fix #1193: Change memory balloon segment color from yellow to blue (#1194)

Change memory balloon segment color from yellow to blue to avoid confusion with warning threshold colors
This commit is contained in:
Abhishek Kudwa
2026-02-05 23:05:22 +05:30
committed by GitHub
parent f1ad0ffe06
commit c2daf4b167

View File

@@ -27,7 +27,7 @@ const anomalySeverityClass: Record<string, string> = {
// Colors for memory segments
const MEMORY_COLORS = {
active: 'rgba(34, 197, 94, 0.6)', // green (base, overridden by threshold)
balloon: 'rgba(234, 179, 8, 0.6)', // yellow
balloon: 'rgba(59, 130, 246, 0.6)', // yellow to blue
swap: 'rgba(168, 85, 247, 0.6)', // purple
};
@@ -253,7 +253,7 @@ export function StackedMemoryBar(props: StackedMemoryBarProps) {
<Show when={(props.balloon || 0) > 0 && (props.balloon || 0) < props.total}>
<div class="flex justify-between gap-3 py-0.5 border-t border-gray-700/50">
<span class="text-yellow-400">Balloon Limit</span>
<span class="text-blue-400">Balloon Limit</span>
<span class="whitespace-nowrap text-gray-300">
{formatBytes(props.balloon || 0)}
</span>