From 83f338db4a7f724bb69c21006d712114c207500a Mon Sep 17 00:00:00 2001 From: Kendell R Date: Mon, 14 Sep 2020 09:28:22 -0700 Subject: [PATCH 01/20] Update hui-error-card.ts --- src/panels/lovelace/cards/hui-error-card.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/panels/lovelace/cards/hui-error-card.ts b/src/panels/lovelace/cards/hui-error-card.ts index b995c6c04d43..074b779fd6ef 100644 --- a/src/panels/lovelace/cards/hui-error-card.ts +++ b/src/panels/lovelace/cards/hui-error-card.ts @@ -50,6 +50,9 @@ export class HuiErrorCard extends LitElement implements LovelaceCard { user-select: text; cursor: default; } + pre { + font-family: var(--code-font-family); + } `; } } From c330ef7f12ef5ec7bb8c264d56dac81b123a6b32 Mon Sep 17 00:00:00 2001 From: Kendell R Date: Mon, 14 Sep 2020 09:44:01 -0700 Subject: [PATCH 02/20] Update developer-tools-service.js --- src/panels/developer-tools/service/developer-tools-service.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/panels/developer-tools/service/developer-tools-service.js b/src/panels/developer-tools/service/developer-tools-service.js index a0478ac55d18..b812b486f72f 100644 --- a/src/panels/developer-tools/service/developer-tools-service.js +++ b/src/panels/developer-tools/service/developer-tools-service.js @@ -75,6 +75,7 @@ class HaPanelDevService extends LocalizeMixin(PolymerElement) { pre { margin: 0; + font-family: var(--code-font-family); } h1 { From 75fb3cef3a923d28f363ab2a81ebea3e05cf9e00 Mon Sep 17 00:00:00 2001 From: Kendell R Date: Mon, 14 Sep 2020 09:45:30 -0700 Subject: [PATCH 03/20] Update event-subscribe-card.ts --- src/panels/developer-tools/event/event-subscribe-card.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/panels/developer-tools/event/event-subscribe-card.ts b/src/panels/developer-tools/event/event-subscribe-card.ts index 826eb7689a38..51c2d39d721e 100644 --- a/src/panels/developer-tools/event/event-subscribe-card.ts +++ b/src/panels/developer-tools/event/event-subscribe-card.ts @@ -143,6 +143,9 @@ class EventSubscribeCard extends LitElement { .event:last-child { border-bottom: 0; } + pre { + font-family: var(--code-font-family); + } `; } } From ea4007ad66aea9e2c5dc8102726326311dae614d Mon Sep 17 00:00:00 2001 From: Kendell R Date: Mon, 14 Sep 2020 09:47:13 -0700 Subject: [PATCH 04/20] Update dialog-system-log-detail.ts --- src/panels/config/logs/dialog-system-log-detail.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/panels/config/logs/dialog-system-log-detail.ts b/src/panels/config/logs/dialog-system-log-detail.ts index 34d05afca98c..f8299ebbd8b1 100644 --- a/src/panels/config/logs/dialog-system-log-detail.ts +++ b/src/panels/config/logs/dialog-system-log-detail.ts @@ -202,6 +202,7 @@ class DialogSystemLogDetail extends LitElement { } pre { margin-bottom: 0; + font-family: var(--code-font-family); } .heading { display: flex; From 69189cd8fbf4f703357c03465852175e1f7efb00 Mon Sep 17 00:00:00 2001 From: Kendell R Date: Mon, 14 Sep 2020 09:52:15 -0700 Subject: [PATCH 05/20] Update zwave-usercodes.js --- .../integrations/integration-panels/zwave/zwave-usercodes.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/panels/config/integrations/integration-panels/zwave/zwave-usercodes.js b/src/panels/config/integrations/integration-panels/zwave/zwave-usercodes.js index fcdd09918512..887f0d7fca69 100644 --- a/src/panels/config/integrations/integration-panels/zwave/zwave-usercodes.js +++ b/src/panels/config/integrations/integration-panels/zwave/zwave-usercodes.js @@ -29,6 +29,10 @@ class ZwaveUsercodes extends PolymerElement { padding-right: 24px; padding-bottom: 24px; } + + pre { + font-family: var(--code-font-family); + }
From 44b7b7f0288ca135d56daf8d64f6dc834bf3cb5d Mon Sep 17 00:00:00 2001 From: Kendell R Date: Mon, 14 Sep 2020 09:57:09 -0700 Subject: [PATCH 06/20] Update zwave-log-dialog.js --- .../integration-panels/zwave/zwave-log-dialog.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/panels/config/integrations/integration-panels/zwave/zwave-log-dialog.js b/src/panels/config/integrations/integration-panels/zwave/zwave-log-dialog.js index 14fe3153f373..117ba300e81f 100644 --- a/src/panels/config/integrations/integration-panels/zwave/zwave-log-dialog.js +++ b/src/panels/config/integrations/integration-panels/zwave/zwave-log-dialog.js @@ -15,6 +15,11 @@ class ZwaveLogDialog extends EventsMixin(PolymerElement) {

OpenZwave internal logfile

[[_ozwLog]]
+ `; From e99339a5602051b949d8e8a1e7e8f5da515f5c3d Mon Sep 17 00:00:00 2001 From: Kendell R Date: Mon, 14 Sep 2020 10:01:24 -0700 Subject: [PATCH 07/20] Update hassio-addon-config.ts --- hassio/src/addon-view/config/hassio-addon-config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hassio/src/addon-view/config/hassio-addon-config.ts b/hassio/src/addon-view/config/hassio-addon-config.ts index 82755a98405d..415e3e3e919d 100644 --- a/hassio/src/addon-view/config/hassio-addon-config.ts +++ b/hassio/src/addon-view/config/hassio-addon-config.ts @@ -175,7 +175,7 @@ class HassioAddonConfig extends LitElement { } iron-autogrow-textarea { width: 100%; - font-family: monospace; + font-family: var(--code-font-family, monospace); } .syntaxerror { color: var(--error-color); From 480cf2b1e3a1dd31eb1cb8874993b24d1f2b1d93 Mon Sep 17 00:00:00 2001 From: Kendell R Date: Mon, 14 Sep 2020 10:10:42 -0700 Subject: [PATCH 08/20] Update mqtt-subscribe-card.ts --- .../integration-panels/mqtt/mqtt-subscribe-card.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/panels/config/integrations/integration-panels/mqtt/mqtt-subscribe-card.ts b/src/panels/config/integrations/integration-panels/mqtt/mqtt-subscribe-card.ts index b74a5a76fbf7..194a96e33dd4 100644 --- a/src/panels/config/integrations/integration-panels/mqtt/mqtt-subscribe-card.ts +++ b/src/panels/config/integrations/integration-panels/mqtt/mqtt-subscribe-card.ts @@ -155,6 +155,9 @@ class MqttSubscribeCard extends LitElement { font-size: 80%; color: var(--secondary-text-color); } + pre { + font-family: var(--code-font-family, monospace); + } `; } } From f47445aaac69989a69ed564d4e974df1fa4223f2 Mon Sep 17 00:00:00 2001 From: Kendell R Date: Mon, 14 Sep 2020 10:11:59 -0700 Subject: [PATCH 09/20] Update hui-error-card.ts --- src/panels/lovelace/cards/hui-error-card.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panels/lovelace/cards/hui-error-card.ts b/src/panels/lovelace/cards/hui-error-card.ts index 074b779fd6ef..194a423a3210 100644 --- a/src/panels/lovelace/cards/hui-error-card.ts +++ b/src/panels/lovelace/cards/hui-error-card.ts @@ -51,7 +51,7 @@ export class HuiErrorCard extends LitElement implements LovelaceCard { cursor: default; } pre { - font-family: var(--code-font-family); + font-family: var(--code-font-family, monospace); } `; } From 9552ca1244f8aff6dee9618ba5cc8b598c1dcb21 Mon Sep 17 00:00:00 2001 From: Kendell R Date: Mon, 14 Sep 2020 10:13:14 -0700 Subject: [PATCH 10/20] Update developer-tools-service.js --- src/panels/developer-tools/service/developer-tools-service.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panels/developer-tools/service/developer-tools-service.js b/src/panels/developer-tools/service/developer-tools-service.js index b812b486f72f..04b49e9c4efa 100644 --- a/src/panels/developer-tools/service/developer-tools-service.js +++ b/src/panels/developer-tools/service/developer-tools-service.js @@ -75,7 +75,7 @@ class HaPanelDevService extends LocalizeMixin(PolymerElement) { pre { margin: 0; - font-family: var(--code-font-family); + font-family: var(--code-font-family, monospace); } h1 { From e8ad72322b5d423eacfdb45410f0fee345820932 Mon Sep 17 00:00:00 2001 From: Kendell R Date: Mon, 14 Sep 2020 10:13:37 -0700 Subject: [PATCH 11/20] Update event-subscribe-card.ts --- src/panels/developer-tools/event/event-subscribe-card.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panels/developer-tools/event/event-subscribe-card.ts b/src/panels/developer-tools/event/event-subscribe-card.ts index 51c2d39d721e..f2f386d1ec78 100644 --- a/src/panels/developer-tools/event/event-subscribe-card.ts +++ b/src/panels/developer-tools/event/event-subscribe-card.ts @@ -144,7 +144,7 @@ class EventSubscribeCard extends LitElement { border-bottom: 0; } pre { - font-family: var(--code-font-family); + font-family: var(--code-font-family, monospace); } `; } From a3211343e29456fcb16fdfb904569d85e02ba66c Mon Sep 17 00:00:00 2001 From: Kendell R Date: Mon, 14 Sep 2020 10:14:04 -0700 Subject: [PATCH 12/20] Update dialog-system-log-detail.ts --- src/panels/config/logs/dialog-system-log-detail.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panels/config/logs/dialog-system-log-detail.ts b/src/panels/config/logs/dialog-system-log-detail.ts index f8299ebbd8b1..9996de183b1c 100644 --- a/src/panels/config/logs/dialog-system-log-detail.ts +++ b/src/panels/config/logs/dialog-system-log-detail.ts @@ -202,7 +202,7 @@ class DialogSystemLogDetail extends LitElement { } pre { margin-bottom: 0; - font-family: var(--code-font-family); + font-family: var(--code-font-family, monospace); } .heading { display: flex; From 012347a51fda50cfec94f81d436593448aa6ccd0 Mon Sep 17 00:00:00 2001 From: Kendell R Date: Mon, 14 Sep 2020 10:14:42 -0700 Subject: [PATCH 13/20] Update zwave-usercodes.js --- .../integrations/integration-panels/zwave/zwave-usercodes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panels/config/integrations/integration-panels/zwave/zwave-usercodes.js b/src/panels/config/integrations/integration-panels/zwave/zwave-usercodes.js index 887f0d7fca69..7180f8d88007 100644 --- a/src/panels/config/integrations/integration-panels/zwave/zwave-usercodes.js +++ b/src/panels/config/integrations/integration-panels/zwave/zwave-usercodes.js @@ -31,7 +31,7 @@ class ZwaveUsercodes extends PolymerElement { } pre { - font-family: var(--code-font-family); + font-family: var(--code-font-family, monospace); }
From 03eac4a41baca66244de5166e9b2b6e1534429eb Mon Sep 17 00:00:00 2001 From: Kendell R Date: Mon, 14 Sep 2020 10:14:59 -0700 Subject: [PATCH 14/20] Update zwave-log-dialog.js --- .../integrations/integration-panels/zwave/zwave-log-dialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panels/config/integrations/integration-panels/zwave/zwave-log-dialog.js b/src/panels/config/integrations/integration-panels/zwave/zwave-log-dialog.js index 117ba300e81f..f97a9484148e 100644 --- a/src/panels/config/integrations/integration-panels/zwave/zwave-log-dialog.js +++ b/src/panels/config/integrations/integration-panels/zwave/zwave-log-dialog.js @@ -17,7 +17,7 @@ class ZwaveLogDialog extends EventsMixin(PolymerElement) {
[[_ozwLog]]
From 5236a863ca2d8f56d668b1af92174c19cf3266f2 Mon Sep 17 00:00:00 2001 From: Kendell R Date: Mon, 14 Sep 2020 10:16:39 -0700 Subject: [PATCH 15/20] Update mqtt-messages.ts --- .../device-detail/integration-elements/mqtt/mqtt-messages.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/panels/config/devices/device-detail/integration-elements/mqtt/mqtt-messages.ts b/src/panels/config/devices/device-detail/integration-elements/mqtt/mqtt-messages.ts index 1c6e65a8eb5b..7d036b03fbcc 100644 --- a/src/panels/config/devices/device-detail/integration-elements/mqtt/mqtt-messages.ts +++ b/src/panels/config/devices/device-detail/integration-elements/mqtt/mqtt-messages.ts @@ -174,6 +174,7 @@ class MQTTMessages extends LitElement { margin: 0; padding-left: 4px; padding-right: 4px; + font-family: var(--code-font-family, monospace); } `; } From c4d4eec2cc0a56a9ecad71a9424cd01a3da3522d Mon Sep 17 00:00:00 2001 From: Kendell R Date: Mon, 14 Sep 2020 10:16:59 -0700 Subject: [PATCH 16/20] Update mqtt-discovery-payload.ts --- .../integration-elements/mqtt/mqtt-discovery-payload.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/panels/config/devices/device-detail/integration-elements/mqtt/mqtt-discovery-payload.ts b/src/panels/config/devices/device-detail/integration-elements/mqtt/mqtt-discovery-payload.ts index 67be52c126f5..140d53c4de19 100644 --- a/src/panels/config/devices/device-detail/integration-elements/mqtt/mqtt-discovery-payload.ts +++ b/src/panels/config/devices/device-detail/integration-elements/mqtt/mqtt-discovery-payload.ts @@ -83,6 +83,7 @@ class MQTTDiscoveryPayload extends LitElement { font-size: 0.9em; padding-left: 4px; padding-right: 4px; + font-family: var(--code-font-family, monospace); } `; } From ab798ac30503d2d533d2bcfadaeb36762279eabd Mon Sep 17 00:00:00 2001 From: Kendell R Date: Mon, 14 Sep 2020 10:18:48 -0700 Subject: [PATCH 17/20] Update hassio-host-info.ts --- hassio/src/system/hassio-host-info.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hassio/src/system/hassio-host-info.ts b/hassio/src/system/hassio-host-info.ts index 5f44703ac364..f13d2af2e062 100644 --- a/hassio/src/system/hassio-host-info.ts +++ b/hassio/src/system/hassio-host-info.ts @@ -413,6 +413,9 @@ class HassioHostInfo extends LitElement { mwc-list-item ha-svg-icon { color: var(--secondary-text-color); } + pre { + font-family: var(--code-font-family, monospace); + } `, ]; } From 35228292034cccf89d7da3b580ec248f8dbadd41 Mon Sep 17 00:00:00 2001 From: Kendell R Date: Mon, 14 Sep 2020 10:36:02 -0700 Subject: [PATCH 18/20] Update ha-markdown.ts --- src/components/ha-markdown.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/ha-markdown.ts b/src/components/ha-markdown.ts index 978a97977650..484776a2b086 100644 --- a/src/components/ha-markdown.ts +++ b/src/components/ha-markdown.ts @@ -72,6 +72,7 @@ class HaMarkdown extends LitElement { padding: 16px; overflow: auto; line-height: 1.45; + font-family: var(--code-font-family, monospace); } ha-markdown-element h2 { font-size: 1.5em; From bb75bcdcd7da9e9d235d77605d67f4aadefd7cb4 Mon Sep 17 00:00:00 2001 From: Kendell R Date: Tue, 15 Sep 2020 06:39:37 -0700 Subject: [PATCH 19/20] Update hassio-host-info.ts --- hassio/src/system/hassio-host-info.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/hassio/src/system/hassio-host-info.ts b/hassio/src/system/hassio-host-info.ts index f13d2af2e062..5f44703ac364 100644 --- a/hassio/src/system/hassio-host-info.ts +++ b/hassio/src/system/hassio-host-info.ts @@ -413,9 +413,6 @@ class HassioHostInfo extends LitElement { mwc-list-item ha-svg-icon { color: var(--secondary-text-color); } - pre { - font-family: var(--code-font-family, monospace); - } `, ]; } From 0623dbdeb01791e7ad966463b2688c82d074b336 Mon Sep 17 00:00:00 2001 From: Kendell R Date: Wed, 16 Sep 2020 06:35:58 -0700 Subject: [PATCH 20/20] Update zwave-log-dialog.js --- .../integration-panels/zwave/zwave-log-dialog.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/panels/config/integrations/integration-panels/zwave/zwave-log-dialog.js b/src/panels/config/integrations/integration-panels/zwave/zwave-log-dialog.js index f97a9484148e..94edd092e968 100644 --- a/src/panels/config/integrations/integration-panels/zwave/zwave-log-dialog.js +++ b/src/panels/config/integrations/integration-panels/zwave/zwave-log-dialog.js @@ -10,16 +10,14 @@ class ZwaveLogDialog extends EventsMixin(PolymerElement) { static get template() { return html`

OpenZwave internal logfile

[[_ozwLog]]
-
`;