Skip to content
New issue

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

feat(avatar): add styles for default (medium) size in ionic theme #29538

Merged
merged 10 commits into from
May 23, 2024

Conversation

brandyscarney
Copy link
Member

@brandyscarney brandyscarney commented May 22, 2024

Issue number: internal


What is the current behavior?

Avatar does not have any styles in the ionic theme.

What is the new behavior?

  • Adds background, border and font styles for avatar
  • Adds the styles for the medium size and defaults the size to medium
  • Adds e2e test for avatar sizes

Does this introduce a breaking change?

  • Yes
  • No

Other information

Preview

@brandyscarney brandyscarney requested a review from a team as a code owner May 22, 2024 20:47
Copy link

vercel bot commented May 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ionic-framework ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 23, 2024 3:44pm

@github-actions github-actions bot added package: core @ionic/core package package: angular @ionic/angular package package: vue @ionic/vue package labels May 22, 2024
@brandyscarney brandyscarney changed the title feat(avatar): add support for default (medium) size in ionic theme feat(avatar): add styles for default (medium) size in ionic theme May 22, 2024
Copy link
Contributor

@thetaPC thetaPC left a comment

Choose a reason for hiding this comment

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

Minor change

core/src/components/avatar/avatar.ionic.scss Outdated Show resolved Hide resolved
Copy link
Contributor

Choose a reason for hiding this comment

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

Just thinking out loud, not part of this PR: I wonder if we there's a way for Playwright to not had that extra space. It makes it seem that it's part of the background of avatar.

Copy link
Member Author

Choose a reason for hiding this comment

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

I don't see any extra space. Maybe it's the GitHub interface?

@brandyscarney brandyscarney dismissed thetaPC’s stale review May 23, 2024 15:40

Requested change made

@brandyscarney brandyscarney merged commit b9af47a into next May 23, 2024
46 checks passed
@brandyscarney brandyscarney deleted the ROU-10735 branch May 23, 2024 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: angular @ionic/angular package package: core @ionic/core package package: vue @ionic/vue package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants