mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-09 02:49:51 +00:00
Make it possible for themes to blur backgrounds (#20447)
* Make it possible for themes to blur card backgrounds * Make it possible for themes to blur dialog backgrounds * Add ha prefix Co-authored-by: Bram Kragten <mail@bramkragten.nl> * Rename dialog-backdrop-filter to ha-dialog-scrim-backdrop-filter With backwards compatibility * Run prettier --------- Co-authored-by: Bram Kragten <mail@bramkragten.nl>
This commit is contained in:
@@ -14,6 +14,8 @@ export class HaCard extends LitElement {
|
||||
--ha-card-background,
|
||||
var(--card-background-color, white)
|
||||
);
|
||||
-webkit-backdrop-filter: var(--ha-card-backdrop-filter, none);
|
||||
backdrop-filter: var(--ha-card-backdrop-filter, none);
|
||||
box-shadow: var(--ha-card-box-shadow, none);
|
||||
box-sizing: border-box;
|
||||
border-radius: var(--ha-card-border-radius, 12px);
|
||||
|
||||
Reference in New Issue
Block a user