reverse colors

This commit is contained in:
Julian Freeman
2026-02-26 13:52:11 -04:00
parent 97a98b9774
commit f0ebeb1b2d

View File

@@ -245,8 +245,8 @@
document.getElementById('s-match').innerText = stats['='];
document.getElementById('s-mismatch').innerText = stats['*'];
document.getElementById('s-missing').innerText = stats['-'];
document.getElementById('s-extra').innerText = stats['+'];
document.getElementById('s-missing').innerText = stats['+'];
document.getElementById('s-extra').innerText = stats['-'];
document.getElementById('report-content').style.display = 'block';
document.getElementById('treeContainer').innerHTML = buildHtml(tree, "", folderErrors);
const t = allI18n[currentLang];
@@ -269,7 +269,7 @@
<details><summary>📁 ${name}/ ${hasErr?'<span class="error-dot">●</span>':''}</summary>${buildHtml(val, thisPath, folderErrors)}</details>
</li>`;
} else {
const colors = {'=':'#28a745', '*':'#dc3545', '-':'#ffc107', '+':'#17a2b8'};
const colors = {'=':'#28a745', '*':'#dc3545', '+': '#ffc107', '-': '#17a2b8'};
html += `<li class="file ${val==='='?'is-match':'is-error'}">
<span class="badge" style="background:${colors[val]}">${val}</span>${name}
</li>`;