After some more code digging and experiments I can answer my own question. A theme is a normal plugin and as such does not inherit any behavior from other plugins.
So you need to copy everything you need from the base theme library.js to your child theme. And of course, you need to declare client scripts explicitly.
Loading of missing templates from base theme is the only link between the base and the child theme.
[nodebb-theme-material] Theme for NodeBB using Material Design elements
-
Yeah, everything new is well-forgotten old.
-
demo link added to first post
-
When I changed the checkboxes to material design style, I lost the option to hold shift and check multiple checkboxes. Any suggestion on if and how I can make this work again?
-
Are you planning on making the theme completely material or just using certain elements here and there to make it have the material feel?
-
@pichalite said:
@trevor I wanted to make it completely material but right now I could only find time to add certain elements to get the material feel.
Ah okay, cool stuff so far man. Keep up the good work!