From 6b29213c6eb9e854d8311a002e33d82adf68c3c4 Mon Sep 17 00:00:00 2001 From: Nova Cat Date: Sat, 30 Nov 2024 21:46:05 -0800 Subject: [PATCH] editor --- script.user.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/script.user.js b/script.user.js index 7a1e519..81db880 100644 --- a/script.user.js +++ b/script.user.js @@ -18,7 +18,7 @@ color: white !important; .ui-widget-content, ui-dialog-title, .dashboard-panel__headline a, text-muted, h1 small { color: white; } -input, .form-control { +input, .form-control, splitter-bar splitter-pane { background: black; color: white; } @@ -56,6 +56,9 @@ opacity: 1; } `; +document.body.appendChild(style); + +// Totally didn't take this code from Stack Overflow :3 function waitForElm(selector) { return new Promise(resolve => { if (document.querySelector(selector)) { @@ -76,7 +79,6 @@ function waitForElm(selector) { }); }); } -document.body.appendChild(style); waitForElm('.ace_gutter').then((elm) => { Anywhere.Editor.editor.setOption("theme", "ace/theme/tomorrow_night") });