@members
https://meta.discourse.org/t/splitting-up-theme-javascript-into-multiple-files/119369
Javascript files are treated exactly the same as they are in core/plugins, so you should follow the same file/folder structure. Theme files are loaded after core/plugins, so if the filenames match, the theme version will take precedence.
If don’t care about any of that, just override the template programatically as explained here https://thepavilion.io/t/how-to-override-component-templates-programatically/2451
It’s still useful though because it means you can potentially reskin an existing plugin for a new client without changing the plugin.
I don’t think this is always the case. For example the Pricemate Theme will not work if you install TLP or the Events plugin presently, all of which override the Topic List Item raw file.
This might work with CSS but from my tests this does not work with hbr templates.