Skip to content

Commit fd9ff95

Browse files
authored
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 home-assistant/frontend#4409
1 parent 317507e commit fd9ff95

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

themes/synthwave.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ synthwave:
44
secondary-text-color: '#ffffffca'
55
text-primary-color: '#f4eee4'
66
disabled-text-color: '#bdbdbd'
7-
7+
88
# main interface colors
9-
primary-color: '#2a2139'
9+
primary-color: '#ffffff'
10+
primary-background-color: '#2a2139'
1011
dark-primary-color: '#f92aad'
1112
light-primary-color: '#241b2f'
1213
accent-color: '#f92aad'
@@ -17,6 +18,7 @@ synthwave:
1718

1819
# background and sidebar
1920
card-background-color: '#34294f88'
21+
app-header-background-color: 'var(--primary-background-color)'
2022
paper-card-background-color: 'var(--card-background-color)'
2123
primary-background-color: 'var(--primary-color)'
2224
secondary-background-color: 'var(--light-primary-color)' # behind the cards on state
@@ -80,4 +82,4 @@ synthwave:
8082

8183
# bar-card compatibility
8284
# https://github.com/custom-cards/bar-card
83-
custom-bar-card-color: 'var(--accent-color)'
85+
custom-bar-card-color: 'var(--accent-color)'

0 commit comments

Comments
 (0)