element-hq/element-web

Should be able to remove custom themes that were added

turt2live opened this issue · 5 comments

Should be able to remove custom themes that were added

This issue is quite annoying considering we also have:

  • No way of updating the custom theme (#13222)
  • Local config.json is ignored once you added a remote theme (#13585)

This was really annoying when trying to set up a custom theme matching my system.
For anyone browsing this, here's a quick way to fix it:

  • Open devtools (go to a room, and run /devtools in chat)
  • Go to Explore Account Data
  • Then im.vector.web.settings
  • You'll see a JSON with the themes, hit Edit.
  • Delete "custom_themes" and everything inside that array
    All done! Your custom local themes should work now
  • im.vector.web.settings

That does not exist any more, but this could work:

  • Open devtools (go to a room, and run /devtools in chat)
  • Go to Other > Settings Explorer
  • Then filter for im.vector.web.settings, click the edit-button on this entry (pencil icon)
  • Remove the content of the config attributes in both textboxes

Then filter for im.vector.web.settings, click the edit-button on this entry (pencil icon)

now THAT doesn't seem to exist hahaha
but it seems more simple now as the item name is custom_themes so it makes more sense.

however clicking them and saving and editing doesn't seem to work at all.. and I don't see the delete button nor does deleting all the content do anything?

I see, it saves doesn't say anything. sometimes requires element restart but usually saves just doesn't say so
(but there's no way to remove it)

Yes this would be a nice to have it.
Anyhow workaround is here: aaronraimist/element-themes#55 (comment)