Theming


目录

The theming feature lets you customize the look and feel of your Nextcloud instance to match your organization's design (or - if for personal use - your own style). You can replace the Nextcloud logo and background images with your own assets, customize colors and slogans, and add dedicated legal and privacy links.

Theme customization is provided by the shipped and always-enabled theming app. Use the Theming section within the Administration settings menu to access all theming-related settings.

Customize the appearance of Nextcloud

You can change the following aspects of your instance's appearance:

Configure theming via CLI

You can also configure theming using the occ theming:config command.

Available settings include:

提示

Images must be read from a local file on the Nextcloud server.

To use a color (instead of an image) for the background:

occ theming:config background_color "#0082c9"
occ theming:config background backgroundColor

Icon theming

Based on your settings, Nextcloud will automatically generate favicons and a header logo using your logo and theme color.

This requires:

  • The PHP imagick module.
  • SVG support for imagick (e.g., libmagickcore-7.q16-10-extra on Debian 13 and libmagickcore-6.q16-7-extra on Ubuntu 24.04).

提示

In the advanced options of the theming app, you can set a custom favicon if you do not want to use auto-generated resources or install the above dependencies.

Branded clients

提示

Nextcloud GmbH - the company that employs Nextcloud's core maintainers - offers branding services, providing sync clients (mobile and desktop) that use your corporate identity and are pre-configured for your users. For more information on advanced branding and enterprise support offerings, contact Nextcloud GmbH.

The theming app supports changing the URLs for the mobile apps (Android and iOS) that appear when users access the web interface from mobile devices. By default, these links point to the official Nextcloud apps, but you can set them to branded versions.

occ config:app:set theming AndroidClientUrl --value "https://play.google.com/store/apps/details?id=com.nextcloud.client"
occ config:app:set theming iTunesAppId --value "1125420102"
occ config:app:set theming iOSClientUrl --value "https://itunes.apple.com/us/app/nextcloud/id1125420102?mt=8"

版本号 #2
由 cocobook-sync 创建于 2026-10-28 16:27:16 UTC
由 cocobook-sync 更新于 2026-10-29 01:09:17 UTC