mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-27 19:26:36 +00:00
Add theme support for dialog surface background (#20653)
* Add theme support for dialog surface background * Change from review * Change from review Co-authored-by: Bram Kragten <mail@bramkragten.nl> * Run prettier --------- Co-authored-by: Bram Kragten <mail@bramkragten.nl>
This commit is contained in:
parent
7120ad99b9
commit
af9417f2a6
@ -127,6 +127,10 @@ export class HaDialog extends DialogBase {
|
||||
border-radius: var(--ha-dialog-border-radius, 28px);
|
||||
-webkit-backdrop-filter: var(--ha-dialog-surface-backdrop-filter, none);
|
||||
backdrop-filter: var(--ha-dialog-surface-backdrop-filter, none);
|
||||
background: var(
|
||||
--ha-dialog-surface-background,
|
||||
var(--mdc-theme-surface, #fff)
|
||||
);
|
||||
}
|
||||
:host([flexContent]) .mdc-dialog .mdc-dialog__content {
|
||||
display: flex;
|
||||
|
Loading…
x
Reference in New Issue
Block a user