feat(get-user): expose Hamkar menu icon brand colors

Emit menu_icon_color and menu_icon_active_color when brandManaged so apps can theme nav icons separately.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-14 18:06:24 +03:30
co-authored by Cursor
parent 9031135797
commit 11887bc5ed
4 changed files with 25 additions and 0 deletions
+6
View File
@@ -170,6 +170,12 @@ async function main() {
backgroundColor: restore
? keepSnapshot.brand?.backgroundColor
: existing?.brand?.backgroundColor ?? brandBackground,
menuIconColor: restore
? keepSnapshot.brand?.menuIconColor
: existing?.brand?.menuIconColor ?? null,
menuIconActiveColor: restore
? keepSnapshot.brand?.menuIconActiveColor
: existing?.brand?.menuIconActiveColor ?? null,
settingsManaged: Boolean(existing?.settingsManaged),
brandManaged: Boolean(existing?.brandManaged),
registryMode: restore