Skip to content

Commit

Permalink
fix(ui): theme on editor was not applied (#1268)
Browse files Browse the repository at this point in the history
  • Loading branch information
Skraye authored May 10, 2023
1 parent 74d8e82 commit 35662f1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ui/src/components/inputs/Editor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@
!this.input ? "" : "single-line",
!this.fullHeight ? "" : "full-height",
!this.original ? "" : "diff",
"theme-" + this.themeComputed
"theme-" + this.themeComputed,
this.themeComputed === "dark" ? "custom-dark-vs-theme" : ""
]
},
showPlaceholder() {
Expand Down Expand Up @@ -436,7 +437,7 @@
}
}
html.dark {
.custom-dark-vs-theme {
.monaco-editor, .monaco-editor-background {
background-color: var(--input-bg);
--vscode-editor-background: var(--input-bg);
Expand Down

0 comments on commit 35662f1

Please sign in to comment.