diff --git a/frontend/src/app/modules/principal/principal-renderer.service.ts b/frontend/src/app/modules/principal/principal-renderer.service.ts index 41079dbc55..96abcb54e5 100644 --- a/frontend/src/app/modules/principal/principal-renderer.service.ts +++ b/frontend/src/app/modules/principal/principal-renderer.service.ts @@ -92,7 +92,13 @@ export class PrincipalRendererService { fallback.classList.add(`op-avatar_${type.replace('_', '-')}`); fallback.classList.add('op-avatar--fallback'); fallback.textContent = userInitials; - fallback.style.background = colorCode; + + if (type === "placeholder_user") { + fallback.style.color = colorCode; + fallback.style.borderColor = colorCode; + } else { + fallback.style.background = colorCode; + } // Image avatars are only supported for users if (type === 'user') {