1 parent 0e85c75 commit f89b305Copy full SHA for f89b305
1 file changed
ai/claude/statusline.js
@@ -90,8 +90,8 @@ try {
90
const fiveH = Math.round(rateLimits.five_hour.used_percentage);
91
const sevenD = Math.round(rateLimits.seven_day.used_percentage);
92
const maxPct = Math.max(fiveH, sevenD);
93
- const bgColor = maxPct > 75 ? "rgb(226, 0, 0)" : maxPct > 50 ? "rgb(217, 119, 87)" : "rgb(68, 68, 68)";
94
- const color = maxPct > 50 ? "rgb(0, 0, 0)" : "rgb(255, 255, 255)";
+ const bgColor = maxPct > 75 ? "rgb(226, 0, 0)" : maxPct > 50 ? "rgb(217, 119, 87)" : "rgb(70, 107, 62)";
+ const color = "rgb(255, 255, 255)";
95
sections.push({ text: `5h:${fiveH}% 7d:${sevenD}%`, bgColor, color });
96
}
97
0 commit comments