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") });