JuanM
(JuanMTech)
August 10, 2020, 10:54pm
1
A Home Assistant theme inspired on the iOS light mode interface.
Preview
Preparation
Make sure that under the configuration.yaml file you have the following:
frontend:
themes: !include_dir_merge_named themes
Under the Home Assistant Config folder, create a new folder named themes
Restart Home assistant to apply the changes.
HACS installation
Go into the Community Store (HACS)
Search for iOS Light Mode
Open the theme
Press Install
Manual installation
In the Home assistant themes folder, create a file named ios_light_mode.yaml
In this GitHub repo , go into the themes folder, open the ios_light_mode.yaml file and copy the content
Paste the content in the ios_light_mode.yaml file created under your Home Assistant themes folder
Enable theme
Open your Home Assistant Profile
Under, Themes , select the new iOS Light Mode theme
Custom Header settings
When using the Custom Header plugin, add the following to make sure that the header matches the theme.
custom_header:
compact_mode: true
background: var(--app-header-background-color)
elements_color: var(--app-header-text-color)
active_tab_color: var(--state-icon-active-color)
tab_indicator_color: var(--state-icon-active-color)
3 Likes
KTibow
(Kendell R)
August 11, 2020, 1:32am
2
Why did you put the restart Home Assistant part in there? HACS should reload themes for you.
Bit of an issue with the transparency.
I’ve seen this with the other iOS themes in fairness.
Sorry it’s not a bug report on GitHub.
Lazy? I guess so. Oh well.
KTibow
(Kendell R)
August 15, 2020, 1:19am
4
I don’t see anything causing this, also get this with the default theme? Here’s the source I looked at:
# Theme based on the iOS Light Mode UI
# Creator: Juan - @juanmtech
# Website: https://www.juanmtech.com
# YouTube Channel: https://youtube.com/juanmtech
# My Home Assistant Config files: https://github.com/JuanMTech/Home_Assistant_files
#
#
iOS Light Mode:
# Header:
app-header-background-color: var(--primary-background-color)
app-header-text-color: rgb(28, 28, 30)
# Main Interface Colors
primary-color: rgb(0, 122, 255)
light-primary-color: var(--primary-color)
primary-background-color: rgb(242, 242, 247)
secondary-background-color: var(--primary-background-color)
divider-color: rgb(229, 229, 234)
accent-color: rgb(0, 122, 255)
# Text
primary-text-color: rgb(28, 28, 30)
This file has been truncated. show original