Change theme with a file

Nextcloud version (eg, 12.0.2): 18.0.3
Operating system and version (eg, Ubuntu 17.04): Ubuntu18.04
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.29 (Ubuntu)
PHP version (eg, 7.1): PHP (cli)

The issue you are facing:
I’m trying to create a theme folder/file from the example folder in /nextcloud/theme/.
I have added ‘theme’ => ‘folder name in /nextcloud/theme/’,
I have changed the colors in there with mixed results, I have managed to change the button colors, but can’t change the background from the Nextcloud blue to something else, where do I change that?

Is this the first time you’ve seen this error? (Y/N):

Steps to replicate it:

  1. cp /nextcloud/theme/example /nextcloud/theme/new-theme
  2. add “‘theme’ => ‘new-theme’,” to /nextcloud/config/config.php
  3. Change some colors in ‘new-theme’ and check with no result

What am I doing wrong? you shouldn’t need to change in the source code right? Do I need to add some other variables to the files in new-theme? Any guide or anything that can help me?

maybe you’d be more lucky under admin - settings - administration - themings - login page?

The thing is that i need it to be changed in the cli
I already know that you can change it under the admin settings “window”

1 Like