basnijholt / lovelace-ios-dark-mode-theme

🏠🤖 Theme by @basnijholt based on iOS Dark Mode for Lovelace Home Assistant
MIT License
457 stars 113 forks source link

Backgroung #88

Open ADMMishinA opened 10 months ago

ADMMishinA commented 10 months ago

Hi people, My solution to the problem

1) Create a WWW folder in the root directory 2) Copy from folder jpg files /config/themes/ios-themes to a folder /config/www

Screenshot_10

3) Edit the file in the path /config/themes/ios-themes/ios-themes.yaml

Change the path of the jpg files (total 28 lines)

before

background-image: "center / cover no-repeat fixed url('/hacsfiles/themes/ios-themes/homekit-bg-dark-green.jpg')"

later

background-image: "center / cover no-repeat fixed url('/local/homekit-bg-dark-green.jpg')"

4) Save, reboot HA.

sodu18 commented 7 months ago

please some one help i dont get how to make jpg to apair in dashboard i found jpg here homeassistant/themes/ios-themes

DaniMol commented 6 months ago

Well to be precise, that www folder needs to be in the homeassistant folder, instead of the actual root folder (which by default in inaccessable, but can be 'unlocked' easily in File Editor) Copied the jpgs (by downloading them to my remote computer and re-upload them into the www folder, since I'm a total noob when it comes to text-based anything and couldn't find a way to do this in the GUI) into this folder and it worked like a charm. Thanks!

ChrWieg commented 4 months ago

Solved the problem in my case as well.