Add a dark mode, fixes #7

This commit is contained in:
Jeena 2016-07-20 17:32:33 +02:00
parent cca7f55760
commit 9a0e2e523a
7 changed files with 54 additions and 10 deletions

View file

@ -47,3 +47,8 @@ function setFont(font, size) {
document.body.style.fontFamily = font;
document.body.style.fontSize = size + "pt";
}
function setNightmode(nightmode) {
if(nightmode) document.body.className = "nightmode";
else document.body.className = "";
}