🐛 Bug Report: Set accent color with UI_CONFIG_DISABLED #156

Closed
opened 2025-10-09 16:29:48 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @jeboehm on GitHub.

Reproduction steps

  1. Enable UI_CONFIG_DISABLED in env.
  2. Find a way to set accent color :-)

Expected behavior

In documentation describe a way to set the accent color when UI_CONFIG_DISABLED is set to true.

Version and Environment

v1.4.1

PS: This project is awesome! Thanks for your work.

Originally created by @jeboehm on GitHub. ### Reproduction steps 1. Enable `UI_CONFIG_DISABLED` in env. 2. Find a way to set accent color :-) ### Expected behavior In documentation describe a way to set the accent color when UI_CONFIG_DISABLED is set to true. ### Version and Environment v1.4.1 PS: This project is awesome! Thanks for your work.
OVERLORD added the bug label 2025-10-09 16:29:48 +03:00
Author
Owner

@stonith404 commented on GitHub:

Thanks for reporting this. We actually support it with the ACCENT_COLOR environment variable but it wasn't documented. The docs should now be up to date.

@stonith404 commented on GitHub: Thanks for reporting this. We actually support it with the `ACCENT_COLOR` environment variable but it wasn't documented. The [docs](https://pocket-id.org/docs/configuration/environment-variables#overriding-the-ui-configuration) should now be up to date.
Author
Owner

@jeboehm commented on GitHub:

Thank you! I've searched the code for myself, could you give me a hint where this is processed?

@jeboehm commented on GitHub: Thank you! I've searched the code for myself, could you give me a hint where this is processed?
Author
Owner

@stonith404 commented on GitHub:

It's a bit complicated but everything is defined in the app_config_service.go. All variables are defined here. The actual loading of the variables happens in loadDbConfigInternal, which loads the environment variables from the database or from environment variables, based on the chosen strategy by the user.

@stonith404 commented on GitHub: It's a bit complicated but everything is defined in the [`app_config_service.go`](https://github.com/pocket-id/pocket-id/blob/be15eccea72512278ff1fce40c010ff50d34642f/backend/internal/service/app_config_service.go). All variables are defined [here](https://github.com/pocket-id/pocket-id/blob/be15eccea72512278ff1fce40c010ff50d34642f/backend/internal/service/app_config_service.go#L62). The actual loading of the variables happens in [`loadDbConfigInternal`](https://github.com/pocket-id/pocket-id/blob/be15eccea72512278ff1fce40c010ff50d34642f/backend/internal/service/app_config_service.go#L371), which loads the environment variables from the database or from environment variables, based on the chosen strategy by the user.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pocket-id-pocket-id-2#156