mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-09 22:52:58 +03:00
🐛 Bug Report: Set accent color with UI_CONFIG_DISABLED #156
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jeboehm on GitHub.
Reproduction steps
UI_CONFIG_DISABLEDin env.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.
@stonith404 commented on GitHub:
Thanks for reporting this. We actually support it with the
ACCENT_COLORenvironment variable but it wasn't documented. The docs should now be up to date.@jeboehm commented on GitHub:
Thank you! I've searched the code for myself, could you give me a hint where this is processed?
@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 inloadDbConfigInternal, which loads the environment variables from the database or from environment variables, based on the chosen strategy by the user.