editor
This commit is contained in:
parent
cced136a3b
commit
6b29213c6e
1 changed files with 4 additions and 2 deletions
|
@ -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")
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue