Skip to content

A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.

fix(beszel): align usage color thresholds with upstream (#7244)

Thomas08830c181e9e
diff --git a/packages/widgets/src/beszel/_shared/colors.ts b/packages/widgets/src/beszel/_shared/colors.ts
index 4c5e72ad9..0a1388175 100644
--- a/packages/widgets/src/beszel/_shared/colors.ts
+++ b/packages/widgets/src/beszel/_shared/colors.ts
@@ -1,8 +1,8 @@
import type { BeszelSystemStatus } from "./types";
export const thresholdColor = (value: number): string => {
- if (value >= 80) return "red";
- if (value >= 50) return "yellow";
+ if (value >= 90) return "red";
+ if (value >= 65) return "yellow";
return "green";
};