My CSS Theme
-
Maybe you can take a look at nodebb-theme-lavender, it is a child theme based on vanilla in nodebb 2.x and persona on nodebb 3.x
nodebb 2.x https://github.com/NodeBB/nodebb-theme-lavender/tree/v6
nodebb 3.x https://github.com/NodeBB/nodebb-theme-lavender/tree/masterIn theme.json the baseTheme is set to the parent theme "baseTheme": "nodebb-theme-persona" and in the main style file the scss/less of the parent theme is imported. https://github.com/NodeBB/nodebb-theme-lavender/blob/master/theme.scss
If you share the error messages you get we can help more.
-
I'm going to try again. If I have any problem I will discuss it with you.
One question, I don't know the roadmap well, but if I make the theme for v2.x later, will it be very difficult to migrate it to v3.x? Because in that case I don't know if it's worth investing effort
-
Sure, but currently the forum where I want to use it is in nodebb v2.x and I don't know when I'll be able to upgrade to v3 (I tried locally but couldn't)
-
I would really like to use nodebb v3 but the upgrade process doesn't work. I don't know when it will be stable.
-
When I change branches to 3 alpha it doesn't merge and the manual merge is complex because I don't know all the code (I'm using rebase)
-
That suggests that you modified the core code, so you'll have to either merge the code yourself, or abandon it by running the appropriate git commands:
git reset --hard HEAD # to get back to latest on your branch git fetch git checkout bootstrap5 git reset --hard origin/bootstrap5 # just in case
-
Thanks!
I have already migrated the theme to scss and I will work it for bootstrap 5.3 (I will see to force it) So when I have news I will show them