font family for codemirror.
This commit is contained in:
@@ -11,7 +11,7 @@ import { LANGUAGE } from "~/utils/types"
|
|||||||
import { isDark } from "./composables/dark"
|
import { isDark } from "./composables/dark"
|
||||||
|
|
||||||
const styleTheme = EditorView.baseTheme({
|
const styleTheme = EditorView.baseTheme({
|
||||||
"&.cm-scroller": {
|
"& .cm-scroller": {
|
||||||
"font-family": "Consolas",
|
"font-family": "Consolas",
|
||||||
},
|
},
|
||||||
"&.cm-editor.cm-focused": {
|
"&.cm-editor.cm-focused": {
|
||||||
|
|||||||
Reference in New Issue
Block a user