[GH-ISSUE #21] type-custom-stack-in-card should not include styling #21

Open
opened 2026-05-07 00:17:23 +02:00 by BreizhHardware · 2 comments

Originally created by @go6media on GitHub (Aug 11, 2025).
Original GitHub issue: https://github.com/Nezz/homeassistant-visionos-theme/issues/21

Similar to issue : https://github.com/Nezz/homeassistant-visionos-theme/issues/20

The custom-stack-in-card should be excluded from inheriting some classes.

With the Liquid Glass theme

Image

Without the theme applied ( as you can see the theme applies to all sub items of a stack in card making, it look weird)

Image
Originally created by @go6media on GitHub (Aug 11, 2025). Original GitHub issue: https://github.com/Nezz/homeassistant-visionos-theme/issues/21 Similar to issue : https://github.com/Nezz/homeassistant-visionos-theme/issues/20 The custom-stack-in-card should be excluded from inheriting some classes. **With the Liquid Glass theme** <img width="1920" height="1032" alt="Image" src="https://github.com/user-attachments/assets/0ea5fa77-c9c5-4937-913f-4ca29ce5080c" /> **Without the theme applied** ( as you can see the theme applies to all sub items of a stack in card making, it look weird) <img width="1920" height="1032" alt="Image" src="https://github.com/user-attachments/assets/1395b112-21ce-4a2f-a3f3-0f4cf37ffe4c" />
Author
Owner

@Nezz commented on GitHub (Aug 12, 2025):

I couldn't reproduce this issue. This is what it looks like for me:

Image

Do you have card-mod installed?
https://github.com/thomasloven/lovelace-card-mod

<!-- gh-comment-id:3178091498 --> @Nezz commented on GitHub (Aug 12, 2025): I couldn't reproduce this issue. This is what it looks like for me: <img width="600" alt="Image" src="https://github.com/user-attachments/assets/c395021e-3298-42d9-a613-3fe52d4bc5fe" /> Do you have card-mod installed? https://github.com/thomasloven/lovelace-card-mod
Author
Owner

@kaze892 commented on GitHub (Sep 2, 2025):

My cards are not perfect but i do agree stack cards should be exclude from inheriting some classes

this is how my card look like when applied the theme. You can see that there are extra border for each stack in card.
Image

by removing these two would fix the issue for any stack in card
--ha-card-backdrop-filter:
--ha-card-box-shadow:

without:
--ha-card-box-shadow:
Image

without:
--ha-card-backdrop-filter:
--ha-card-box-shadow:
Image

<!-- gh-comment-id:3244585611 --> @kaze892 commented on GitHub (Sep 2, 2025): My cards are not perfect but i do agree stack cards should be exclude from inheriting some classes this is how my card look like when applied the theme. You can see that there are extra border for each stack in card. <img width="596" height="411" alt="Image" src="https://github.com/user-attachments/assets/fd434f89-8d85-4c9c-887c-e02a80bc1d73" /> by removing these two would fix the issue for any stack in card --ha-card-backdrop-filter: --ha-card-box-shadow: without: --ha-card-box-shadow: <img width="581" height="392" alt="Image" src="https://github.com/user-attachments/assets/0fb1c187-ff90-40a4-8520-6b0b8147b25a" /> without: --ha-card-backdrop-filter: --ha-card-box-shadow: <img width="574" height="404" alt="Image" src="https://github.com/user-attachments/assets/be74347b-eb61-472f-a6ae-7a1ec65ffc6c" />
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/homeassistant-visionos-theme#21
No description provided.