JuanM
(JuanMTech)
January 17, 2020, 4:54pm
1
A Home Assistant theme inspired on Google app dark mode.
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 Google Dark Theme
Open the theme
Press Install
Manual installation
In the Home assistant themes folder, create a file named google_dark_theme.yaml
In this GitHub repo , go into the themes folder, open the google_dark_theme.yaml
file and copy the content
Paste the content in the google_dark_theme.yaml
file created under your Home Assistant themes folder
Enable theme
Open your Home Assistant Profile
Under, Themes , select the new Google Dark 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)
13 Likes
Ilmisu
February 19, 2020, 5:51pm
2
Hi Juan, forgive me but I couldnât find your themes by simply searching on HACSâŚcould you please help me to find some issues in my way to find them?
Thanks.
tbar05
February 20, 2020, 3:32am
3
just need to search âgoogle dark themeâ in HACS. make sure you are on the themes tab up the top
This feels like a dumb question, but where is this code supposed to go? Thanks.
Im using this with 0.106.2 and the cards look white, everything else is ok just the card background is white. How can I change this??
mattmoo
(Mattmoo)
March 19, 2020, 8:00am
6
Should that not be ./themes
, or just themes
?
1 Like
Make sure you have backend-selected in your profile.
?my media players are blank white with this theme.
Is it an idea to make these text colors the other way around? Because in this example the darkest are the ones disabled and the lightest are the ones enabled. And in most UI itâs the other way around.
1 Like
Dayve67
(Dave)
May 1, 2020, 8:52am
10
Is there a way to change the color of the drop down menus to a darker color? Mine show in white and makes it hard to read.
2 Likes
Cool theme!
I had to remove the ââŚ/ â on my installation.
themes: !include_dir_merge_named ../themes
frontend:
themes: !include_dir_merge_named themes
mirekmal
(Mirek Malinowski)
May 11, 2020, 8:20am
12
If I recall correctly from work done recently these are:
material-background-color: for background of drop down list (white in your screenshot)
material-secondary-background-color: for selection (light gray in your screenshot)
Dayve67
(Dave)
May 11, 2020, 8:27am
13
Ok. Kind of understanding. Do I need to change that variable in the theme configuration?
mirekmal
(Mirek Malinowski)
May 11, 2020, 11:37am
14
Yes, it need to point either to specific color:
material-background-color: â#080808 â
or to other (existing) variable with theme specific color:
material-background-color: var(âprimary-background-color)
1 Like
Dayve67
(Dave)
May 11, 2020, 12:37pm
15
Thank you. That worked perfect.
If there is an update will that get over written?
mirekmal
(Mirek Malinowski)
May 11, 2020, 1:07pm
16
Iâm afraid yes⌠usually the whole theme file is updated⌠unless author spots this post and add these options to his update
Submit a pr and he will likely merge it.
kg23
(Kip)
May 12, 2020, 2:27am
18
Yes. @JuanM , can you correct that typo and save noobs like me some pain?
frontend:
themes: !include_dir_merge_named ./themes
Dayve67
(Dave)
May 12, 2020, 6:46am
19
Thanks. I was just going to put in a PR and see you already did.
JuanMTech:master
â DavidFW1960:patch-1
opened 03:36AM - 12 May 20 UTC
1 Like
JuanM
(JuanMTech)
May 12, 2020, 1:15pm
20
If the themes
folder is inside the Config
folder and not any other folder, then it would just be:
frontend: themes: !include_dir_merge_named themes
I corrected the documentation because most people will have it like this.