Theme-maker - a tool for designing themes

That did the trick, sorry for not seeing your FAQ!

Should this still be working with most recent hassio version?
I’ve got installed lateatcard-tools and have read the faq bit can’t get it to work.

Only need to know if it should still be working. I’ll have to mess around to figure out so I can learn :slight_smile:

It should still work.

1 Like

I did get it to work half eventually :slight_smile:
Import/export not working but at least i can try out some live theme changes :slight_smile:

Import suddently stopped working for me after the latest patch update.
I’ve updated my plugin, cleared the cache, tried different themes.

I think this is the relevant log from chrome’s console.

dumper.js:756 Uncaught (in promise) i {name: "YAMLException", reason: "unacceptable kind of an object to dump [object HTMLElement]", mark: undefined, message: "unacceptable kind of an object to dump [object HTMLElement]", stack: "YAMLException: unacceptable kind of an object to d…cal:8123/frontend_latest/app.2d1ab8ac.js:2:12900)"}mark: undefinedmessage: "unacceptable kind of an object to dump [object HTMLElement]"name: "YAMLException"reason: "unacceptable kind of an object to dump [object HTMLElement]"stack: "YAMLException: unacceptable kind of an object to dump [object HTMLElement]↵    at Z (https://hassio.local:8123/frontend_latest/chunk.076aaca62db3e8acde76.js:2417:193326)↵    at ee (https://hassio.local:8123/frontend_latest/chunk.076aaca62db3e8acde76.js:2417:193917)↵    at e.exports.safeDump (https://hassio.local:8123/frontend_latest/chunk.076aaca62db3e8acde76.js:2417:194005)↵    at HTMLElement.value (https://hassio.local:8123/frontend_latest/chunk.076aaca62db3e8acde76.js:2503:32)↵    at HTMLElement.update (https://hassio.local:8123/frontend_latest/app.2d1ab8ac.js:2:17467)↵    at HTMLElement.performUpdate (https://hassio.local:8123/frontend_latest/app.2d1ab8ac.js:2:13270)↵    at HTMLElement._enqueueUpdate (https://hassio.local:8123/frontend_latest/app.2d1ab8ac.js:2:12900)"__proto__: Errorconstructor: ƒ i(e,t)toString: ƒ (e)__proto__: Object
_enqueueUpdate @ updating-element.js:469
async function (async)
_enqueueUpdate @ updating-element.js:446
_requestUpdate @ updating-element.js:413
initialize @ updating-element.js:268
initialize @ lit-element.js:95
O @ updating-element.js:98
V @ lit-element.js:46
F @ hui-error-card.ts:29
(anonymous) @ VM758:1
u @ card-mod.js:1
p @ card-mod.js:1
(anonymous) @ card-mod.js:1
create @ card-mod.js:1
setConfig @ card-mod.js:1
set config @ card-mod.js:1
S @ card-tools.js:1
yamlMode @ theme-maker.js:153
handleEvent @ parts.js:434
__boundHandleEvent @ parts.js:400
dumper.js:756 Uncaught (in promise) i {name: "YAMLException", reason: "unacceptable kind of an object to dump [object HTMLElement]", mark: undefined, message: "unacceptable kind of an object to dump [object HTMLElement]", stack: "YAMLException: unacceptable kind of an object to d…cal:8123/frontend_latest/app.2d1ab8ac.js:2:12900)"}mark: undefinedmessage: "unacceptable kind of an object to dump [object HTMLElement]"name: "YAMLException"reason: "unacceptable kind of an object to dump [object HTMLElement]"stack: "YAMLException: unacceptable kind of an object to dump [object HTMLElement]↵    at Z (https://hassio.local:8123/frontend_latest/chunk.076aaca62db3e8acde76.js:2417:193326)↵    at ee (https://hassio.local:8123/frontend_latest/chunk.076aaca62db3e8acde76.js:2417:193917)↵    at e.exports.safeDump (https://hassio.local:8123/frontend_latest/chunk.076aaca62db3e8acde76.js:2417:194005)↵    at HTMLElement.value (https://hassio.local:8123/frontend_latest/chunk.076aaca62db3e8acde76.js:2503:32)↵    at HTMLElement.update (https://hassio.local:8123/frontend_latest/app.2d1ab8ac.js:2:17467)↵    at HTMLElement.performUpdate (https://hassio.local:8123/frontend_latest/app.2d1ab8ac.js:2:13270)↵    at HTMLElement._enqueueUpdate (https://hassio.local:8123/frontend_latest/app.2d1ab8ac.js:2:12900)"__proto__: Error
_enqueueUpdate @ updating-element.js:469
async function (async)
_enqueueUpdate @ updating-element.js:446
_requestUpdate @ updating-element.js:413
initialize @ updating-element.js:268
initialize @ lit-element.js:95
O @ updating-element.js:98
V @ lit-element.js:46

Ah, right…
…forgot about that thing…

There’s a new version on github that fixes this.

1 Like

I’m shocked I got the right log :joy:

1 Like

Its working now, thanks!

Thanks! This also seems to have been my problem.
Fully working theme-maker now.
Great addition to messing with Home Assistanyt for me, just like your other works!

I’m having trouble getting this to work. I’m sure I probably just overlooked something, but when I try and create a manual card in lovelace and put:
type: custom: theme-maker
I’m getting the error:

Custom element doesn't exist: theme-maker.
type: 'custom:theme-maker'

I installed card-tools from HACS. I cloned the theme-maker github and placed the theme-maker.js into /config/www/js/theme-maker.js

This is my resources information from the raw config editor:

resources:
  - type: module
    url: /community_plugin/lovelace-card-tools/card-tools.js
  - type: js
    url: /local/js/theme-maker.js?v=1

I see nothing in the logs related to this and I’ve restarted hassio, cleared cache, refreshed, etc.

Any ideas what I’m doing wrong?

The see this guide link in the readme contains some troubleshooting tips that may help you get more information.

I cannot import a theme. I am not able to click anywhere in the popup. Everything else is working wonderfully. Any advice?

hello. this tool keep maintened?

Unfortunately I have the same problem, have you managed to solve it?

No, I hardly ever used the card.

Same problem here, any update on this issue?

If you want to have a good looking dark theme. Take a look at darkish-theme.

I also can’t import/export themes, and get the same as above. Shame.

Is there a way to mark a post as beginning broken or abandon?
Somewhere at the beginning of the post. LOL
I just spent almost two hours figuring how to install it. (I’m slow).
Then to read at the end here that its been broken for 2 years:(
hehe that’s no fun !!

I edited the first post. Sorry for the inconvenience, but I just don’t have the time.