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:
@@ -128,6 +128,15 @@ export class GetUserService {
|
||||
*/
|
||||
brand_chrome:
|
||||
isHamkarUi && ui?.brandManaged === true ? true : undefined,
|
||||
/** Hamkar brand_chrome: default / selected menu+header icon strokes */
|
||||
menu_icon_color:
|
||||
isHamkarUi && ui?.brandManaged === true
|
||||
? hamkarBrand?.menuIconColor || undefined
|
||||
: undefined,
|
||||
menu_icon_active_color:
|
||||
isHamkarUi && ui?.brandManaged === true
|
||||
? hamkarBrand?.menuIconActiveColor || undefined
|
||||
: undefined,
|
||||
/** Admin expiry modals — near/expired server, plugin, support */
|
||||
subscription_alerts,
|
||||
plugin_store_enabled: isKhanegi
|
||||
|
||||
Reference in New Issue
Block a user