Skip to content

Commit

Permalink
Merge branch 'main' into turbo-module/release-995e85fe713b-canary
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiakhq[bot] authored Aug 26, 2024
2 parents f8ce055 + 54114e2 commit 6f4262d
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions packages/frosted-ui/src/components/avatar.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@
width: var(--avatar-size);
height: var(--avatar-size);
flex-shrink: 0;
outline-offset: -1px;

outline: 1px solid var(--accent-a5);
outline-offset: -1px;

background-color: var(--accent-a3);
border-radius: max(25%, var(--radius-full));

Expand All @@ -24,7 +25,7 @@
}
}
.fui-AvatarRoot[data-status='loaded'] {
outline: 1px solid var(--gray-a5);
outline: none;
background: none;
}

Expand All @@ -35,6 +36,11 @@
border-radius: inherit;
/* Fix safari issue where animated avatars were blurred */
transform: translateZ(0px);

&:where(.fui-AvatarRoot[data-status='loaded'] &) {
outline: 1px solid var(--gray-a5);
outline-offset: -1px;
}
}

.fui-AvatarFallback {
Expand Down

0 comments on commit 6f4262d

Please sign in to comment.