Request: include LESS package
According to the HumHub docs when you want to adjust colours of the themes in HumHub you have to create a Child-Theme and then edit .less files and then use LESS to compile them.
As far as I can discover LESS is not installed in the package and therefore you can't change colours.
Step 2: Adjust colors and build CSS
Open the command console and execute:
npm install less -g
@imc67 turns out even if we install lessc, building it is quite a pain because the build is referencing code outside the theme . i.e the theme is inside /app/data/theme/xxx but it's referencing with ../.. to reach into files inside /app/code . I guess this would have worked if Cloudron didn't use a separate directory.
I was able to build this quite easily on the desktop though:
- Extract above
cp -r HumHub Example# copy over them
- Make theme changes as desired
cd Example/lessand then
lessc build.less ../css/theme.css
I used the CLI tool to push the files :
cloudron push --app humhub Example /app/data/themes/. Of course, you can always zip up that folder and upload it via File manager.
Then, I select Example in the Appearance.