[GH-ISSUE #30] Allow no border stack-in-card #28

Open
opened 2026-05-07 00:17:34 +02:00 by BreizhHardware · 3 comments

Originally created by @nubbymong on GitHub (Nov 4, 2025).
Original GitHub issue: https://github.com/Nezz/homeassistant-visionos-theme/issues/30

Is it possible to update the theme to allow for no borders on internal elements in stack-in-card. Please see the difference between the default theme and liquid glass in attached images (same happens for visionOS). Absolutely love these themes by the way thank you so much.

Image Image
Originally created by @nubbymong on GitHub (Nov 4, 2025). Original GitHub issue: https://github.com/Nezz/homeassistant-visionos-theme/issues/30 Is it possible to update the theme to allow for no borders on internal elements in stack-in-card. Please see the difference between the default theme and liquid glass in attached images (same happens for visionOS). Absolutely love these themes by the way thank you so much. <img width="366" height="404" alt="Image" src="https://github.com/user-attachments/assets/9d855545-52cb-433c-ae4a-2c5cea8831b3" /> <img width="374" height="412" alt="Image" src="https://github.com/user-attachments/assets/4549abd1-f8cd-40ff-a6f8-53d13144bc16" />
Author
Owner

@ProjectInkfish commented on GitHub (Dec 1, 2025):

I have gone down the rabbit hole with this issue and there is no way to fix it by adding further card-mod CSS. +1 for fixing this as the theme level please!

<!-- gh-comment-id:3594306338 --> @ProjectInkfish commented on GitHub (Dec 1, 2025): I have gone down the rabbit hole with this issue and there is no way to fix it by adding further card-mod CSS. +1 for fixing this as the theme level please!
Author
Owner

@Nezz commented on GitHub (Dec 1, 2025):

The only way themes can fix how cards work is by applying card-mod, but if there is no way to fix it then sadly we are out of luck. This is a case where a card is nested inside another card, so any theme that uses transparency will look wrong.

<!-- gh-comment-id:3596324708 --> @Nezz commented on GitHub (Dec 1, 2025): The only way themes can fix how cards work is by applying card-mod, but if there is no way to fix it then sadly we are out of luck. This is a case where a card is nested inside another card, so any theme that uses transparency will look wrong.
Author
Owner

@LevyKo commented on GitHub (Jan 7, 2026):

I had a similar problem with a stacked Mini Graph Card. The following code worked for me:
# Mini Graph Card :host(custom-mini-graph-card) ha-card { --ha-card-background: rgba(0, 0, 0, 0); --ha-card-backdrop-filter: none !important; --ha-card-box-shadow: none !important; --ha-card-border-radius: 0px !important; } ha-card.type-custom-mini-graph-card { --ha-card-background: rgba(0, 0, 0, 0); --ha-card-backdrop-filter: none !important; --ha-card-box-shadow: none !important; --ha-card-border-radius: 0px !important; }
It's added at the end of the theme file (yaml).

<!-- gh-comment-id:3719337856 --> @LevyKo commented on GitHub (Jan 7, 2026): I had a similar problem with a stacked Mini Graph Card. The following code worked for me: ` # Mini Graph Card :host(custom-mini-graph-card) ha-card { --ha-card-background: rgba(0, 0, 0, 0); --ha-card-backdrop-filter: none !important; --ha-card-box-shadow: none !important; --ha-card-border-radius: 0px !important; } ha-card.type-custom-mini-graph-card { --ha-card-background: rgba(0, 0, 0, 0); --ha-card-backdrop-filter: none !important; --ha-card-box-shadow: none !important; --ha-card-border-radius: 0px !important; } ` It's added at the end of the theme file (yaml).
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#28
No description provided.