set text color based on theme

This commit is contained in:
j 2016-02-15 21:22:47 +05:30
parent 563c2af2c3
commit 7f0d5efccd

View file

@ -61,7 +61,8 @@
update.status.style.height = '16px'; update.status.style.height = '16px';
update.status.style.margin = 'auto'; update.status.style.margin = 'auto';
update.status.style.textAlign = 'center'; update.status.style.textAlign = 'center';
update.status.style.color = 'rgb(16, 16, 16)'; update.status.style.color = theme == 'oxdark' ? 'rgb(244, 244, 244)'
: theme == 'oxmedium' ? 'rgb(0, 0, 0)' : 'rgb(16, 16, 16)';
update.status.style.fontFamily = 'Lucida Grande, Segoe UI, DejaVu Sans, Lucida Sans Unicode, Helvetica, Arial, sans-serif'; update.status.style.fontFamily = 'Lucida Grande, Segoe UI, DejaVu Sans, Lucida Sans Unicode, Helvetica, Arial, sans-serif';
update.status.style.fontSize = '11px'; update.status.style.fontSize = '11px';
document.querySelector('#loadingScreen').appendChild(update.status); document.querySelector('#loadingScreen').appendChild(update.status);