mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 11:46:42 +00:00
Added new CSS property for styling of the app-header component (#4269)
This commit is contained in:
parent
8ef15c50b4
commit
e4c635c855
@ -145,6 +145,10 @@ documentContainer.innerHTML = `<custom-style>
|
||||
--mdc-theme-on-primary: var(--text-primary-color);
|
||||
--mdc-theme-on-secondary: var(--text-primary-color);
|
||||
--mdc-theme-on-surface: var(--primary-text-color);
|
||||
|
||||
/* app header background color */
|
||||
--app-header-text-color: var(--text-primary-color)
|
||||
--app-header-background-color: var(--primary-color)
|
||||
}
|
||||
</style>
|
||||
|
||||
|
@ -12,9 +12,9 @@ export const haStyle = css`
|
||||
|
||||
app-header,
|
||||
app-toolbar {
|
||||
background-color: var(--primary-color);
|
||||
background-color: var(--app-header-background-color);
|
||||
font-weight: 400;
|
||||
color: var(--text-primary-color, white);
|
||||
color: var(--app-header-text-color, white);
|
||||
}
|
||||
|
||||
app-toolbar ha-menu-button + [main-title],
|
||||
|
Loading…
x
Reference in New Issue
Block a user