mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-11-04 06:02:08 +08:00
fix(editor): update theme mode for MonacoEditor to use 'light' instead of 'vs' in multiple components #5440
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user