From e465ec88354a0c4e293ef9f827fdf0852f3202f9 Mon Sep 17 00:00:00 2001 From: Kendell R Date: Mon, 14 Sep 2020 00:39:47 -0700 Subject: [PATCH] Make code editor font family follow theme (#6958) --- src/components/ha-code-editor.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/ha-code-editor.ts b/src/components/ha-code-editor.ts index 452e75dffd..dbbc9b616f 100644 --- a/src/components/ha-code-editor.ts +++ b/src/components/ha-code-editor.ts @@ -97,6 +97,7 @@ export class HaCodeEditor extends UpdatingElement { .CodeMirror { height: var(--code-mirror-height, auto); direction: var(--code-mirror-direction, ltr); + font-family: var(--code-font-family, monospace); } .CodeMirror-scroll { max-height: var(--code-mirror-max-height, --code-mirror-height);