From c98bebf3ba55944c1593ca656f5004680e858e2c Mon Sep 17 00:00:00 2001 From: ludeeus Date: Wed, 1 Jan 2020 00:35:33 +0000 Subject: [PATCH] Adds --app-header-(background|text)-color --- src/style/ha-style.ts | 4 ++-- src/style/nav-style.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/style/ha-style.ts b/src/style/ha-style.ts index 219c35a3..2699f81c 100644 --- a/src/style/ha-style.ts +++ b/src/style/ha-style.ts @@ -12,9 +12,9 @@ export const _haStyle = css` app-header, app-toolbar { - background-color: var(--primary-color); + background-color: var(--app-header-background-color, var(--primary-color)); font-weight: 400; - color: var(--text-primary-color, white); + color: var(--app-header-text-color, var(--text-primary-color, white)); } app-toolbar ha-menu-button + [main-title], diff --git a/src/style/nav-style.ts b/src/style/nav-style.ts index 402b8186..5429e2bc 100644 --- a/src/style/nav-style.ts +++ b/src/style/nav-style.ts @@ -16,10 +16,10 @@ export const _navStyle = css` app-header, app-toolbar, paper-tabs { - background-color: var(--primary-color); + background-color: var(--app-header-background-color, var(--primary-color)); + color: var(--app-header-text-color, var(--text-primary-color, white)); font-weight: 400; text-transform: uppercase; - color: var(--text-primary-color, white); } paper-tabs {