mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 03:36:44 +00:00
Allow theming of header edit background color (#8246)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
This commit is contained in:
parent
e1cf5919fa
commit
d4000cf662
@ -841,8 +841,6 @@ class HUIRoot extends LitElement {
|
|||||||
haStyle,
|
haStyle,
|
||||||
css`
|
css`
|
||||||
:host {
|
:host {
|
||||||
--dark-color: #455a64;
|
|
||||||
--text-dark-color: #fff;
|
|
||||||
-ms-user-select: none;
|
-ms-user-select: none;
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
-moz-user-select: none;
|
-moz-user-select: none;
|
||||||
@ -872,8 +870,8 @@ class HUIRoot extends LitElement {
|
|||||||
|
|
||||||
.edit-mode app-header,
|
.edit-mode app-header,
|
||||||
.edit-mode app-toolbar {
|
.edit-mode app-toolbar {
|
||||||
background-color: var(--dark-color, #455a64);
|
background-color: var(--app-header-edit-background-color, #455a64);
|
||||||
color: var(--text-dark-color);
|
color: var(--app-header-edit-text-color, #fff);
|
||||||
}
|
}
|
||||||
.edit-mode div[main-title] {
|
.edit-mode div[main-title] {
|
||||||
pointer-events: auto;
|
pointer-events: auto;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user