From fd9ff9534b49aba09fcb932a08316c2aaef0e569 Mon Sep 17 00:00:00 2001 From: David Cramer Date: Thu, 2 Jan 2020 13:43:57 -0800 Subject: [PATCH] Correct header background color This binds the primary-color to be used primarily for text, and overrides app-header's background color (which defaults to primary-color). It resolves a few situations such as links in the notifications pullout, and with the upstream change, the toolbar on other pages. See also https://github.com/home-assistant/home-assistant-polymer/pull/4409 --- themes/synthwave.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/themes/synthwave.yaml b/themes/synthwave.yaml index 96d6e2a..4b797b1 100644 --- a/themes/synthwave.yaml +++ b/themes/synthwave.yaml @@ -4,9 +4,10 @@ synthwave: secondary-text-color: '#ffffffca' text-primary-color: '#f4eee4' disabled-text-color: '#bdbdbd' - + # main interface colors - primary-color: '#2a2139' + primary-color: '#ffffff' + primary-background-color: '#2a2139' dark-primary-color: '#f92aad' light-primary-color: '#241b2f' accent-color: '#f92aad' @@ -17,6 +18,7 @@ synthwave: # background and sidebar card-background-color: '#34294f88' + app-header-background-color: 'var(--primary-background-color)' paper-card-background-color: 'var(--card-background-color)' primary-background-color: 'var(--primary-color)' secondary-background-color: 'var(--light-primary-color)' # behind the cards on state @@ -80,4 +82,4 @@ synthwave: # bar-card compatibility # https://github.com/custom-cards/bar-card - custom-bar-card-color: 'var(--accent-color)' \ No newline at end of file + custom-bar-card-color: 'var(--accent-color)'