Skip to content

Commit

Permalink
Use hosted background for HACS 2.0 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Nezz committed Aug 22, 2024
1 parent 15a585d commit 05f43f1
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@ Theme inspired by visionOS for Home Assistant with automatic dark mode support.

[![Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.](https://my.home-assistant.io/badges/hacs_repository.svg)](https://my.home-assistant.io/redirect/hacs_repository/?owner=Nezz&repository=homeassistant-visionos-theme&category=theme)

> [!NOTE]
> **If HACS is in experimental mode, the background images will not load.**
> You can disable it from Settings > Devices & services > HACS > Configure.
>
> [!NOTE]
> The background blur effects require Home Assistant 2024.5
2. You should see the "visionos" theme appear in your list of themes.
Expand Down
Binary file removed themes/day.jpg
Binary file not shown.
Binary file removed themes/night.jpg
Binary file not shown.
4 changes: 2 additions & 2 deletions themes/visionos.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
visionos:
modes:
light:
background-image: "center / cover no-repeat fixed url('/hacsfiles/themes/visionos/day.jpg')"
background-image: "center / cover no-repeat fixed url('https://raw.githubusercontent.com/Nezz/homeassistant-visionos-theme/1.1/themes/day.jpg')"
primary-background-color: rgb(52, 50, 47)
secondary-background-color: rgb(84, 80, 76)
app-header-background-color: rgba(84, 80, 76, 0.3)
ha-card-background: rgba(128, 128, 128, 0.3)
app-theme-color: rgb(122, 114, 106) # Average header color, used on the top of the browser
dark:
background-image: "center / cover no-repeat fixed url('/hacsfiles/themes/visionos/night.jpg')"
background-image: "center / cover no-repeat fixed url('https://raw.githubusercontent.com/Nezz/homeassistant-visionos-theme/1.1/themes/night.jpg')"
primary-background-color: rgb(25, 24, 22)
secondary-background-color: rgb(25, 24, 22)
app-header-background-color: rgba(25, 24, 22, 0.3)
Expand Down

0 comments on commit 05f43f1

Please sign in to comment.