docs: Add Info Regarding Theme Settings Config (#6198)

This commit is contained in:
Michael Genson
2025-09-20 12:58:59 -05:00
committed by GitHub
parent 078b4563b3
commit 9e5a54477f
2 changed files with 12 additions and 5 deletions

View File

@@ -111,7 +111,7 @@
You can change the theme by settings the environment variables. You can change the theme by settings the environment variables.
- [Backend Config - Themeing](./installation/backend-config.md#themeing) - [Backend Config - Theming](./installation/backend-config.md#theming)
??? question "How can I change the login session timeout?" ??? question "How can I change the login session timeout?"

View File

@@ -138,6 +138,13 @@ For custom mapping variables (e.g. OPENAI_CUSTOM_HEADERS) you should pass values
Setting the following environmental variables will change the theme of the frontend. Note that the themes are the same for all users. This is a break-change when migration from v0.x.x -> 1.x.x. Setting the following environmental variables will change the theme of the frontend. Note that the themes are the same for all users. This is a break-change when migration from v0.x.x -> 1.x.x.
!!! info
If you're setting these variables but not seeing these changes persist, try removing the `#` character. Also, depending on which syntax you're using, double-check you're using quotes correctly.
If using YAML mapping syntax, be sure to include quotes around these values, otherwise they will be treated as comments in your YAML file:<br>`THEME_LIGHT_PRIMARY: '#E58325'` or `THEME_LIGHT_PRIMARY: 'E58325'`
If using YAML sequence syntax, don't include any quotes:<br>`THEME_LIGHT_PRIMARY=#E58325` or `THEME_LIGHT_PRIMARY=E58325`
| Variables | Default | Description | | Variables | Default | Description |
| --------------------- | :-----: | --------------------------- | | --------------------- | :-----: | --------------------------- |
| THEME_LIGHT_PRIMARY | #E58325 | Light Theme Config Variable | | THEME_LIGHT_PRIMARY | #E58325 | Light Theme Config Variable |