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: Add border to Avatar in forced colors mode #1578

Merged
merged 2 commits into from
Sep 11, 2024

Conversation

alimpens
Copy link
Contributor

Describe the pull request

Thank you for contributing to the project!
Please use this template to help us handle your PR smoothly.

What

It adds a border to Avatar in forced colors mode.

Why

Avatar relies on a background color to show its edges. In forced colors mode, the background color isn't visible.

How

This adds a border to Avatar in forced colors mode, and subtracts the width of the border from the padding, in order to keep the same dimensions.

Checklist

Before submitting your pull request, please ensure you have done the following. Check each checkmark if you have done so or if it wasn't necessary:

  • Add or update unit tests
  • Add or update documentation
  • Add or update stories
  • Add or update exports in index.* files
  • Start the PR title with a Conventional Commit prefix, as explained here.

@github-actions github-actions bot temporarily deployed to demo-add-avatar-forced-colors-border September 11, 2024 09:49 Destroyed
@VincentSmedinga VincentSmedinga merged commit 1f29f35 into develop Sep 11, 2024
6 checks passed
@VincentSmedinga VincentSmedinga deleted the feature/add-avatar-forced-colors-border branch September 11, 2024 10:08
@github-actions github-actions bot mentioned this pull request Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants