commit df69d870f290d615e2aeb4c049b9db0c9d6f2bd5
parent a4be7966a3c81347c575e9ef86896ef0095ef8a3
Author: notamitgamer-bot <noreply@github.com>
Date: Wed, 30 Sep 2026 09:42:35 +0000
fix(ui): zip modal file count/size were hardcoded white (invisible in light mode)
The JS-built modal text used inline color:#fff; now uses the text token.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/templates/index.html b/app/templates/index.html
@@ -1703,7 +1703,7 @@
const label = batchId ? 'this batch' : (path ? path.split('/').pop() : 'root');
document.getElementById('zip-modal-text').innerHTML =
`Are you sure you want to download <strong>${label}</strong>?<br><br>` +
- `This will package <strong style="color:#fff;">${data.file_count} file(s)</strong> totaling <strong style="color:#fff;">${data.size_str}</strong> into a .zip.`;
+ `This will package <strong style="color:var(--text-main);">${data.file_count} file(s)</strong> totaling <strong style="color:var(--text-main);">${data.size_str}</strong> into a .zip.`;
document.getElementById('zip-modal-confirm').href = downloadUrl;
zipModalOverlay.style.display = 'flex';