From 168d4b035b7576119f98d736a589cb4764d34c17 Mon Sep 17 00:00:00 2001 From: kachbit Date: Sat, 18 Nov 2023 23:19:34 -0800 Subject: [PATCH] updated codemirror theme --- frontend/src/components/CodeMirror.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/CodeMirror.tsx b/frontend/src/components/CodeMirror.tsx index 3ba1c51..9f29976 100644 --- a/frontend/src/components/CodeMirror.tsx +++ b/frontend/src/components/CodeMirror.tsx @@ -1,7 +1,7 @@ import { useRef, useEffect } from "react"; import { EditorState } from "@codemirror/state"; import { EditorView, keymap, lineNumbers } from "@codemirror/view"; -import { cobalt } from "thememirror"; +import { espresso } from "thememirror"; import { defaultKeymap, history, @@ -36,7 +36,7 @@ function CodeMirror({ code }: Props) { lineNumbers(), bracketMatching(), html(), - cobalt, + espresso, EditorView.lineWrapping, ], }), @@ -60,6 +60,6 @@ function CodeMirror({ code }: Props) { } }, [code]); - return
; + return
; } export default CodeMirror;