Beginner's guide to developing Discourse Themes

Is this guide even accurate anymore? I read thru the whole thing to try to create a theme component and then looked at the sample theme components and none of them use the instructions that they are supposed to. For example, in looking at discourse-brand-header theme component it seems to have been refactored from using stuff like api.createwidget in the header.html to using a totally different code with initializers, Components etc. Extremely complex code. The guide talks about using the API method with widgets, but that’s not what any of the components use at all. Is there an updated guide or something to use Components?

Edit: Supposedly widgets API is going away, but are there any guides on what to use instead? The entire guide here seems to be based on code that is deprecated?

2 Likes