Transparency in cards #9
-
Hello, First of all, thank you for your work, it's really great ! I have a question, in my dashboard I put a background image and I would like my cards to be transparent so I can see my background like in the iOS theme for example... Could you help me ? Thanks a lot :) |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 8 replies
-
I added a card_mod:
style: |
ha-card {
background: none;
} |
Beta Was this translation helpful? Give feedback.
-
Thanks for the theme, it looks great but I can't get transparency in cards to work. I have installed via HACS and selected Material Rounded Transparent Card at the card level but the card remains a solid colour. |
Beta Was this translation helpful? Give feedback.
-
I am using a background image. Here's a room I've set up with the
transparent theme.
…On Sat, 24 Aug 2024, 01:29 Nerwyn, ***@***.***> wrote:
Are you using a view background image? Can you share a screenshot? I had
to change transparent card backgrounds from true transparency to matching
the view background color to fix an issue with dropdowns and other overlay
elements, but I could possibly instead set --mdc-theme-surface to always
be the standard card background color.
—
Reply to this email directly, view it on GitHub
<#9 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AM2WMJWYOOBF3S5BAYJGD73ZS7AVHAVCNFSM6AAAAABEG3KFECVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANBTGUYTKNA>
.
You are receiving this because you commented.Message ID:
***@***.***
.com>
|
Beta Was this translation helpful? Give feedback.
-
I didn't? It's in the email, I'll add it as an attachment.
…On Sat, 24 Aug 2024, 21:02 Nerwyn, ***@***.***> wrote:
You didn't include a screenshot.
—
Reply to this email directly, view it on GitHub
<#9 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AM2WMJU7BE4FY2CUV6RWX7DZTDKDXAVCNFSM6AAAAABEG3KFECVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANBTHEZTSNI>
.
You are receiving this because you commented.Message ID:
***@***.***
.com>
|
Beta Was this translation helpful? Give feedback.
I added a
Material Rounded Transparent Card
version of the theme in v1.5.2 a couple of weeks ago that may work for you if you set the theme at the card level. Otherwise you should use card-mod: