fix(editor): update theme mode for MonacoEditor to use 'light' instead of 'vs' in multiple components #5440

This commit is contained in:
Tunglies
2025-11-13 08:39:10 +08:00
parent 3db69bd816
commit d0d35da2f1
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -1040,7 +1040,7 @@ export function DnsViewer({ ref }: { ref?: Ref<DialogRef> }) {
height="100vh"
language="yaml"
value={yamlContent}
theme={themeMode === "light" ? "vs" : "vs-dark"}
theme={themeMode === "light" ? "light" : "vs-dark"}
className="flex-grow"
options={{
tabSize: 2,