feat: add custom CSS styling#1745
Conversation
|
Hi, thanks for the contribution! |
|
Hello Timon, Thank you for your contribution. We are discussing if this feature makes sense as a user feature. Adding custom CSS is always risky. This is something not guaranteed to work across upgrades, and it may break the UI. If we add it, it shouldn't be so prominent for a general user. This is not something an average user would do on the same level as switching between a light/dark color scheme. Especially if it is a text area to manually input the CSS code. At the same time, for a sysadmin manually opening the client on every machine to insert the CSS may not be the most convenient solution. Instead of storing the CSS code in the config, I'd use a CSS file. For example, a fixed In the app settings then it should be indicated that the custom CSS is applied. An alternative way would be to include the styles via |
Signed-off-by: Timon Laptop <bedynek@themarmalade.com> Co-authored-by: Cursor <cursoragent@cursor.com>
|
ty for the feedback. Maintaining a custom build is something we would like to move away from in the future, so the .overrides approach would not be ideal for us long-term. I reworked the PR to avoid exposing custom CSS as a regular user-facing setting. It now loads a fixed custom.css file from the app data location, with support for %ProgramData%\Nextcloud Talk\custom.css on Windows for managed/multi-user deployments. The settings UI only indicates when custom CSS is applied. |
|
Hello there, We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process. Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6 Thank you for contributing to Nextcloud and we hope to hear from you soon! (If you believe you should not receive this message, you can add yourself to the blocklist.) |

Adds a local Custom CSS option to Talk Desktop settings using the existing app config storage. Changes apply immediately in the desktop renderer, and clearing the field removes the custom styling. We use custom CSS internally, for example to display ticket messages from our ticket system and for theming.