Changing the theme? #654
-
|
Hey all, I use OpenCloud with docker compose and I am wondering, how to change the theme. I found the theme.json file in opencloud/services/web/assets/themes/opencloud and changed its content to what I would like it to be. What am I getting wrong? :D Thanks and Best, |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 19 replies
-
|
See here for some instructions on how to load a theme: https://github.com/opencloud-eu/opencloud/tree/main/services/web#loading-themes. Essentially you want to set it to something like this and then provide a custom theme under that path: |
Beta Was this translation helpful? Give feedback.
-
|
Thanks @JammingBen for pointing that out. I thought I understood it, but I still am not able to get it done ;) Now I tried this in the .env file as suggested: also tried it this way, as I was not sure, what the proper formatting was (I tried to use paths as with other variables in .env): both times it did not seem to work as my changes were not reflected when I opened OpenCloud. (an I always docker composed down and then docker compose up -d). What did I do wrong? And I am pretty sure I did something wrong :D btw. the theme.json is outside of the docker structure and it lives in an external folder like the data and config folders. Maybe I forgot something to add here and the path is wrong? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
I'm now one step further 👍🏼 I also have my logo on the login page; how can I adjust the size there? |
Beta Was this translation helpful? Give feedback.










Oh well, that could be the issue then 😅 1. The login screen it not affected by the theme because it's coming from the IDP. 2. The primary color is not being used at all since we use material design and it's common to use the secondary color for most of the call-to-actions. I suggest trying to change
secondary,surfaceorchrome.