Skip to content

Commit

Permalink
correct the theme in RunCard.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
TaiSakuma committed Sep 1, 2023
1 parent 9f4c46d commit 9fe7a8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/History/RunCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ watch(
selectionHighlight: false,
occurrencesHighlight: false,
renderLineHighlight: "none",
theme: isDark.value ? "nextline-viewer-dark" : "nextline-viewer-light",
theme: isDark.value ? "nextline-dark" : "nextline-light",
});
val.style.height = `${editor.getContentHeight()}px`;
},
Expand All @@ -95,7 +95,7 @@ watch(
isDark,
(val) => {
monaco.editor.setTheme(
val ? "nextline-viewer-dark" : "nextline-viewer-light"
val ? "nextline-dark" : "nextline-light"
);
},
{ immediate: true }
Expand Down

0 comments on commit 9fe7a8e

Please sign in to comment.