set text color based on theme
This commit is contained in:
parent
563c2af2c3
commit
7f0d5efccd
1 changed files with 2 additions and 1 deletions
|
@ -61,7 +61,8 @@
|
|||
update.status.style.height = '16px';
|
||||
update.status.style.margin = 'auto';
|
||||
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.fontSize = '11px';
|
||||
document.querySelector('#loadingScreen').appendChild(update.status);
|
||||
|
|
Loading…
Reference in a new issue