OMG - Redis didn't setup properly all along!
I was using make and make install cmd that no longer worked.
@pichalite error after running grunt
verbose: [plugins] Loading templates (nodebb-plugin-composer-default) error: [meta/css] Could not minify LESS/CSS: variable @btn-primary-bg is undefined
the only line in theme.less is background color of black
@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 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.