Skip to content

Conversation

@sissbruecker
Copy link
Contributor

List Aura style variants and props in the Avatar styling docs. (moved changes over from #4848)

Part of #4801

@github-actions
Copy link

github-actions bot commented Dec 1, 2025

AI Language Review

The Avatar documentation and source code files do not contain any new modifications or differences between the .old and .new versions that require improvement or corrections. The relevant parts of the code are consistent, clear, and do not present any errors.

Avatar has four available size variants:
== Use Cases

Avatar can be paired with Popover to create a user account menu.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed the example using menu bar and included a similar example with popover instead. Hopefully that leads to less work to make it work with Aura later on.

--

|===
| Variant | Theme name
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed this table, as it only duplicates what's shown in the table right above.

Comment on lines 99 to +105
|Avatar Group overlap
|`--vaadin-avatar-group-overlap`
|`8px`
|Aura, Lumo

|Avatar Group overlap border
|`--vaadin-avatar-group-overlap-border`
|`2px`
|Avatar Group gap
|`--vaadin-avatar-group-gap`
|Aura, Lumo
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comments by @web-padawan from #4848:

This property is marked as deprecated in the source CSS, should we maybe remove it from here?

The --vaadin-avatar-group-gap custom CSS property is missing (also supported by Lumo).

Replaced --vaadin-avatar-group-overlap-border with --vaadin-avatar-group-gap.


|===

=== User Color Properties
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment by @web-padawan from #4848:

Should we remove or change "User Color Properties" below as that table lists Lumo default values?

Replaced default values with supported by column. Added more rows for the additional values that only Aura supports.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants