1
0

Add color coding to commitsToday in renderer.js

This commit is contained in:
2025-05-26 10:49:30 +02:00
parent 3d57dfae5a
commit eb1b384dd5

View File

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