basnijholt / lovelace-ios-themes

❤️📱🏠🤖 Themes inspired by iOS Dark ⬛️ and Light ◻️ Mode for Lovelace Home Assistant with different backgrounds
MIT License
639 stars 83 forks source link

Make transparency of cards blurry #49

Open Jopy2104 opened 1 year ago

Jopy2104 commented 1 year ago

Hi, cards in Apple's Home app are making the background (very) blurry, which greatly enhances read-ability of the text on the card. Is that something that can be set already in the theme or added as a future feature?

MasterDevwi commented 1 year ago

I'd like to second this. The cards look beautiful on the dashboard, and the entity info seems fine. But when I use Thomas Loven's custom:popup-card with any of these themes the background transparency makes it hard to read the content. For example:

image

I've tried to figure out how to adjust the transparency, but nothing seems to work.

sanderkooger commented 9 months ago

I'd also second this. And it should be easy to implement with CSS backdrop filter property. I'd add that the top menu should also be blurry, as well as the pull down boxes that now only have transparency.

Later next week if i find the time, Ill check if maybe I can make a pull request.... that is the author will permit me. @basnijholt Would you like me to take a quick look?

sanderkooger commented 9 months ago

I have been looking around, It seems like there is a solution for popups here https://community.home-assistant.io/t/assistance-with-adding-blur-transparency-effect-instead-of-regular-transparency/577259 but it would need to be implemented by the theme author.

The Variable used there is "dialog-backdrop-filter: blur(5px)". Maybe there is an :app-header-background-filter: blur(5px)" available too @basnijholt do you have any knowledge of this? Are there ways to add a smooth background filter to elements within home assistant?