@Jarko Yes the id field in plugin.json is not used, you need to change the name field in package.json
...and that was the issue indeed! Thank you! 💃
@charles what about all the other css required for the theme?
@pichalite what other css is required for the theme?
Sorry if I didn't explain correctly. I'm looking for the very minimum to get a theme working for nodebb without linking to and depend on anything using imports, etc.
for example: all you need to get started for wordpress is style.css and index.php
I just want to create a blank theme with a few simple text and some styling.
nodebb equivalent to index.html + style.css
I hope that makes sense. Is that even possible?
@charles there are two ways to make a theme for NodeBB
@charles nodebb-theme-quickstart is basically a child theme for persona so, if you remove the import from theme.less NodeBB does not know where to get all the css required for the theme.
What do you mean by a blank theme?
@charles actually I thought about the css part...
the theme should work without the import line in theme.less (it should just show templates without css applied) so, I spun a new NodeBB install to verify.
looks like the problem is that some of the default plugins (mentions etc.) are using less variables from bootstrap which makes bootstrap a requirement for the theme that's why you are getting the error about LESS/CSS minify.
assign blame to @julian
@pichalite blank (fresh) theme that will simply display text
hello with custom style.
build from nothing at all and add the templates and css.
just like creating a new theme.json and then adding the details.
don't know the right nodebb words to describe a blank template
@charles you can do that but as I mentioned in my previous post... some of the default plugins are using bootstrap variables so you either need to define them in theme.less or add bootstrap to the theme or disable the plugins otherwise less compiler will keep throwing errors.
you can start building from scratch... that won't be a problem. the only thing you need to keep in mind is that if you don't define a template file in your theme (they can be empty), NodeBB takes the templates from persona theme and uses them as fallback.
@pichalite deactivate all plugin and still can't get it to work. didn't expect it to be this hard to create something blank.
@charles what's the error?
@charles well looks like bootstrap is required