Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request - Vision OS Theme #61

Open
yigitgungor opened this issue Mar 7, 2024 · 7 comments
Open

Request - Vision OS Theme #61

yigitgungor opened this issue Mar 7, 2024 · 7 comments

Comments

@yigitgungor
Copy link

Vision OS Theme using transparency and shadows to create a 3d feeling theme with materials like glass or metal.

Inspiration:
https://dribbble.com/shots/21914237-File-Management-Application-VISION-OS-Style-Design
https://dribbble.com/shots/22185983-Smart-Home-for-Vision-OS
https://dribbble.com/shots/21951864-Smart-Home-App-Spatial-UI-Concept
https://dribbble.com/shots/21860045-Smart-Home-UI-Apple-Vision-Pro

@yigitgungor yigitgungor changed the title Vision OS Theme Request - Vision OS Theme Mar 7, 2024
@Nezz
Copy link
Contributor

Nezz commented Apr 5, 2024

@Nezz
Copy link
Contributor

Nezz commented Apr 5, 2024

@basnijholt How reasonable would it be to add theming support in the frontend for backdrop-filter? Looks like a pretty simple change, but I'm not sure what the general policy is for changes that are only done for the sake of theming.

@basnijholt
Copy link
Owner

What do you mean with “theming support”?

@Nezz
Copy link
Contributor

Nezz commented Apr 5, 2024

Introducing a variable for setting a card's backdrop-filter from a theme, similar to this one:
https://github.com/home-assistant/frontend/blob/dd082c204b45df55663dc257ee83f5efe1a9ab88/src/components/ha-dialog.ts#L78-L79

That variable can then be overridden by themes, making it possible to have blurred card backgrounds.

@yigitgungor
Copy link
Author

Looks like something like this gives a nice blurred-transparent effect

-–ha-card-box-shadow: none;
--ha-card-background: rgba(50, 50, 50, 0.3);
backdrop-filter: blur(18px) saturate(180%);

image

@Nezz
Copy link
Contributor

Nezz commented Apr 6, 2024

I added the required properties that enable blurred backgrounds:
home-assistant/frontend#20447

@basnijholt
Copy link
Owner

That looks great! Would definitely be a valuable improvement to these themes 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants