fix: align settings, modernize notifications and remove branding overrides

This commit is contained in:
SantaSpeen committed 2026-10-22 13:17:18 +03:00
1 parent d3d164910b
commit 9110c8a9d5
55 files changed
+384 -304

No files matched your search

+4 -38
View File
@@ -1,45 +1,11 @@
# Customization
You can customize the styles, branding and icons of your File Browser instance in order to give it a personal touch.
The interface assets are embedded in the executable. The administrator can configure the instance name, default theme, external links and storage usage indicator in **Settings → Global Settings**.
## Custom Branding
You can customize File Browser to use your own branding. This includes the following:
- **Name**: the name of the instance that shows up on the tab title, login pages, and some other places.
- **Disable External Links**: disables all external links, except to the documentation.
- **Disable Used Percentage**: disables the disk usage information on the sidebar.
- **Branding Folder**: directory which can contain two items:
- `custom.css`, containing a global stylesheet to apply to all users.
- `img`, a directory which can replace all the [default logotypes](https://github.com/filebrowser/filebrowser/tree/master/frontend/public/img) from the application.
This can be configured by the administrator user, under **Settings → Global Settings**. You can also update the configuration directly using the [CLI](cli/filebrowser-config-set.md):
The same options are available through the CLI:
```sh
filebrowser config set --branding.name "My Name" \
--branding.files "/abs/path/to/my/dir" \
--branding.disableExternal
filebrowser config set --branding.name "My Files" --branding.theme dark
```
> [!NOTE]
>
> If you are using Docker, you need to mount a volume with the `branding` directory in order for it to be accessible from within the container.
### Custom Icons
To replace the default logotype and favicons, you need to create an `img` directory under the branding directory. The structure of this directory must mimic the one from the [default logotypes](https://github.com/filebrowser/filebrowser/tree/master/frontend/public/img):
```
img/
logo.svg
icons/
favicon.ico
favicon.svg
(...)
```
Note that there are different versions of the same favicon in multiple sizes. To replace all of them, you need to add versions for all of them. You can use the [Real Favicon Generator](https://realfavicongenerator.net/) to generate these for you from your base image.
> [!NOTE]
>
> The icons are cached by the browser, so you may not see your changes immediately. You can address this by clearing your browser's cache.
To change the built-in icons or styles, edit the frontend sources and rebuild the executable. Runtime branding directories and custom stylesheet overrides are no longer supported.