You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A base theme is installed by default via npm package nodebb-theme-vanilla
It's primary purpose is to override the "bootstrappiness" of Bootstrap
If the meta config theme:id (referred to here as {theme:id}) is set, NodeBB will look for a theme in /node_modules/nodebb-theme-{theme:id}, and attempt to load its theme.json file
Installation script will automatically set theme:id to "vanilla", thus defaulting loading of nodebb-theme-vanilla
src in theme.json is now deprecated
If /node_modules/nodebb-theme-{theme:id}/{theme:id}.css exists, use that as the main CSS file for NodeBB. end., else...
theme.json will look for a .less file at /node_modules/nodebb-theme-{theme:id}/{theme:id}.less
This file will import (using less' @import) subsidiary LESS files as necessary
If the theme is a child of another theme, then the parent theme will be a dependency (included in the theme's package.json, so it is installed automatically)
e.g. @import "account.less";, @import "node_modules/nodebb-theme-vanilla/topic.less";
Then, NodeBB will automatically call a LESS compiler to combine and minify the .less file (/node_modules/nodebb-theme-{theme:id}/{theme:id}.less) into a single .css file
Allow users to plug in other bootstrap themes, settable via admin panel.
For kicks -- see if you can get this theme to be loaded
The text was updated successfully, but these errors were encountered: