1
0

Set commitsToday color based on commit count in renderer.js

This commit is contained in:
2025-05-26 10:52:16 +02:00
parent 3e327cc345
commit 260f46ba10

View File

@@ -371,7 +371,7 @@ async function updateInteractionBar(folderObj) {
}
// In die Bar schreiben
const [r, g, b] = getCommitColor(5);
const [r, g, b] = getCommitColor(50);
document.getElementById('commitsToday').textContent = commitsToday;
document.getElementById('commitsToday').style.color = `rgb(${r},${g},${b})`;
document.getElementById('linesUntilRewrite').textContent = linesUntilRewrite;