From f17eb11afc170003e1b8cd4f083830d13b2a71a6 Mon Sep 17 00:00:00 2001 From: quenousimporte Date: Fri, 21 Jul 2023 10:58:13 +0200 Subject: [PATCH] added: new theme white monkey improved titlebydefault setting --- main.js | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/main.js b/main.js index 9dc1762..982fd28 100644 --- a/main.js +++ b/main.js @@ -98,6 +98,16 @@ var themes = lineheight: "24px", accentcolor: "#5AA7CE" }, + "White monkey": + { + bgcolor: "white", + fontfamily: "'Inconsolata', 'Consolas', monospace", + fontsize: "18px", + fontcolor: "black", + lineheight: "150%", + accentcolor: "#5AA7CE", + titlebydefault: true + }, Mariana: { bgcolor: "rgb(48,56,65)", @@ -1116,6 +1126,11 @@ function applystyle() { title.style.color = settings.accentcolor; } + + if (settings.titlebydefault && title.hidden) + { + toggletitle(); + } } function loadsettings() @@ -1136,7 +1151,7 @@ function loadsettings() applystyle(); - if (settings.titlebydefault) + if (settings.titlebydefault && title.hidden) { toggletitle(); }