Skip to content

Conversation

@tylersticka
Copy link
Member

@tylersticka tylersticka commented May 15, 2023

Overview

While designing a new marketing landing page, I wanted to use media elements to represent related content. The circular appearance of avatars worked great when the content was associated with a person, but when associated with a website or application, it often contradicted the original design intent of the project's touch icon.

This introduces two new modifiers (c-avatar--square and c-avatar--squircle) to be used in these situations.

Screenshots

Screenshot 2023-05-15 at 9 16 27 AM

Testing

View the avatar docs on the deploy preview, trying out the new shape control across the different demos to ensure compatibility in:

  • Chrome
  • Edge
  • Firefox
  • Safari

@changeset-bot
Copy link

changeset-bot bot commented May 15, 2023

🦋 Changeset detected

Latest commit: 611dbf6

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@cloudfour/patterns Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@netlify
Copy link

netlify bot commented May 15, 2023

Deploy Preview for cloudfour-patterns ready!

Name Link
🔨 Latest commit 611dbf6
🔍 Latest deploy log https://app.netlify.com/sites/cloudfour-patterns/deploys/64625bb6300c420008dbc61b
😎 Deploy Preview https://deploy-preview-2163--cloudfour-patterns.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@tylersticka tylersticka marked this pull request as ready for review May 15, 2023 16:33
@tylersticka tylersticka requested a review from a team May 15, 2023 16:33
Copy link
Contributor

@Paul-Hebert Paul-Hebert left a comment

Choose a reason for hiding this comment

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

Looks great! I like the squircle 🙂

@tylersticka tylersticka merged commit 3027fa3 into main May 15, 2023
@tylersticka tylersticka deleted the feature/avatar-shapes branch May 15, 2023 16:58
@github-actions github-actions bot mentioned this pull request May 15, 2023
tylersticka added a commit that referenced this pull request May 16, 2023
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