Skip to content

Conversation

@dobrinyonkov
Copy link
Contributor

@dobrinyonkov dobrinyonkov commented Mar 25, 2025

Fixes: #11113

This PR enhances Avatar and AvatarGroup components with a new Auto color scheme, improving flexibility and simplifying color handling.

Key Changes

  • New "Auto" Color Scheme: Default color scheme is now Auto, allowing avatars to inherit dynamic colors in groups.
  • Avatar & AvatarGroup Updates: Improved color assignment logic, ensuring avatars only get dynamic colors when Auto is set.
  • Test Improvements: Added new Cypress test for _color-scheme behavior and removed outdated test cases.
  • Typo Fix: Fixed a typo (еffectiveBackgroundColor → effectiveBackgroundColor).

@dobrinyonkov dobrinyonkov requested a review from NakataCode March 27, 2025 08:33
@dobrinyonkov dobrinyonkov merged commit be8925d into main Mar 30, 2025
12 checks passed
@dobrinyonkov dobrinyonkov deleted the avatar-group-automatic-colorScheme branch March 30, 2025 12:42
@ui5-webcomponents-bot
Copy link
Collaborator

🎉 This PR is included in version v2.9.0-rc.3 🎉

The release is available on v2.9.0-rc.3

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[AvatarGroup]: Missing automatic colorScheme

5 participants