diff --git a/main.js b/main.js index 27611f1..cf74e3f 100644 --- a/main.js +++ b/main.js @@ -1,7 +1,5 @@ var defaultsettings = { - bgcolor: "white", - fontfamily: "system-ui", fontsize: "16px", fontcolor: "rgb(55, 53, 47)", lineheight: "24px", @@ -18,7 +16,6 @@ var defaultsettings = sync: false, tagsinlists: true, tagfilter: "", - darkcode: true, uselinkpopup: true }; @@ -674,7 +671,7 @@ function shownotelinks() { color: { - background: settings.bgcolor, + background: "white", border: settings.fontcolor, }, font: @@ -1317,8 +1314,6 @@ function loadstorage() function applystyle() { - document.body.style.background = settings.bgcolor; - document.body.style.fontFamily = settings.fontfamily; document.body.style.fontSize = settings.fontsize; document.body.style.lineHeight = settings.lineheight; document.body.style.color = settings.fontcolor; @@ -2162,19 +2157,13 @@ function rawline2html(line, index, options) { options.code = true; options.language = line.substring(3); - if (settings.darkcode) - { - line = "