We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add this to sample app, and create a code example guide:
Avatar: If possible, add a random color for the avatar’s bg. You can find 16 accessible colors here.
Implementation idea: create a custom avatar that users the default avatar component but sets background color dynamically
<ng-template #avatarTemplate let-name="name" let-imageUrl="imageUrl" let-size="size" let-user="user" let-channel="channel" > <stream-avatar style="--str-chat__avatar-background-color: customColor" [name]="name" [imageUrl]="imageUrl" [size]="size" [user]="user" [channel]="channel" ></stream-avatar> </ng-template>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Add this to sample app, and create a code example guide:
Avatar: If possible, add a random color for the avatar’s bg. You can find 16 accessible colors here.
Implementation idea: create a custom avatar that users the default avatar component but sets background color dynamically
The text was updated successfully, but these errors were encountered: