Skip to content

[Blazor] Set background through correct css var#1264

Open
onlyexeption wants to merge 1 commit into
vnextfrom
ibarakov/fix-avatar-styling
Open

[Blazor] Set background through correct css var#1264
onlyexeption wants to merge 1 commit into
vnextfrom
ibarakov/fix-avatar-styling

Conversation

@onlyexeption
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the Avatar styling sample to set the avatar background via the component’s expected CSS custom property, rather than overriding the ::part(base) background directly.

Changes:

  • Adds an igc-avatar rule that sets --ig-avatar-background to var(--ig-success-100).
  • Removes the direct background override from igc-avatar::part(base), leaving only the border styling.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@onlyexeption onlyexeption changed the title fix(avatar): set background through correct css var [Blazor] Set background through correct css var Jun 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants