How to change primary color in NC 25 trough themes/CUSTOM_THEME/defaults.php?

I’m struggling changing the default primary color. The only possible way was to change it trough the theming app. But what I want to achieve is to create a custom theme, with custom colors and images, logos, favicons etc.

Is there any documentation, tutorial about that?
Thanks in advance

You may change some setting with “occ” command. Here are the instructions: Theming — Nextcloud latest Administration Manual latest documentation

1 Like

Thanks @nicrame!
Have you any idea, how to delete background image trough occ, or other config settings and leave it for the primary color to fill out?
from this:
image
to this:
image

Sadly i didn’t find option with occ to do that.

I just figured out a workaround to accomplish this on my own site. I used the Custom CSS Plugin and added this snippet:

#content, body {
    background-image: none;
}