Replies: 1 comment 19 replies
-
The themes entry belongs under the frontend entry. 😝 So instead of this... ...it belongs like this
|
Beta Was this translation helpful? Give feedback.
19 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have tried for hours to make the templates work and I'm starting to doubt my abilities to follow instructions...
frontend: themes: !include_dir_merge_named themes
The indentation is correct (two spaces before themes) and my folder "themes" does exist and contains the two folder with the desktop and mobile themes respectively. The folder is in the same directory as the configuration.yaml. The desktop theme starts as follows:
etc.
What's weird is that before I installed those two themes I had installed an iOS Dark Theme through HACS and it worked without adding the inclusion on top of this post.
I'm getting the following error when checking my config:
Invalid config for [frontend]: value should be a string for dictionary value @ data['frontend']['themes']['minimalist-desktop']['modes']. Got OrderedDict([('light', OrderedDict([('primary-text-color', '#212121'), ('primary-color', '#434343'), ('google-red', '#F54436'), ('google-green', '#01C852'), ('google-yellow', '#FF9101'), ('google-blue', '#3D5AFE'), ('google-violet', '#661FFF'), ('google-grey', '#BBBBBB'), ('color-red', '245, 68, 54'), ('color-green', '1, 200, 82'), ('color-yellow', '255, 145, 1'), ('color-blue', '61, 90, 254'), ('color-purple', '102, 31, 255'), ('color-grey', '187, 187, 187'), ('color-pink', '233, 30, 99'), (.... (See /config/configuration.yaml, line 5).
Line 5 refers to the include statement posted on top.
The template list is shown in settings, and they can be selected but won't be applied upon selection. Please not that I deleted all other templates to avoid any side effects caused by those.
I have no idea how to proceed after I've found quite a few similar problems on Google which always stated that people are including themes the wrong way but I can't figure out what's supposed to be wrong here.
Any help would be appreciated! Thanks!
Beta Was this translation helpful? Give feedback.
All reactions