EDIT: I RECOMMEND TO USE lovelace-ios-themes
INSTEAD (WHICH INCLUDES DARK MODE), SEE THIS TOPIC!
Hi all,
Based on iOS in dark mode, I’ve created the iOS Dark Mode Theme using the colours from the iOS interface.
I post screenshots and installation instructions below!
Please it on GitHub to show me that there might be users, such that I keep motivated to improve it
iOS Dark Mode Theme
The iOS Dark Mode Theme by @basnijholt and modified from @kalkih’s Gist
Screenshots
Overview
With alternative background (https://raw.githubusercontent.com/basnijholt/lovelace-ios-dark-mode-theme/master/backgrounds/homekit-bg-4.jpeg
):
Map
Hass.io
History
Developer Tools
Configuration
Profile
Installation
- Add the following code to your
configuration.yaml
file (reboot required).
frontend:
... # your configuration.
themes: !include_dir_merge_named themes
... # your configuration.
- Add the following line to your
lovelace-ui.yaml
or use the RAW editor:
background: var(--background-image)
- (Optional) add the following to the same file to make the header smaller (you need to install cch too):
cch:
background: rgba(155, 155, 155, 0.25)
clock_format: 24
options: clock
swipe_animate: fade
swipe_prevent_default: true
HACS
- Go to the Community Store.
- Search for
iOS Dark Mode
. - Navigate to
iOS Dark Mode
theme. - Press
Install
.
Manual
Clone this repository in your existing (or create it) themes/
folder.
cd themes/
git clone https://github.com/basnijholt/lovelace-ios-dark-mode-theme.git
Or using submodules:
cd themes/
git submodule add https://github.com/basnijholt/lovelace-ios-dark-mode-theme.git