-
Notifications
You must be signed in to change notification settings - Fork 14
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
[component]: Avatar #3210
Comments
Tokens added |
@Vandapanda The token This is not working because the |
@oliverschuerch I should be able to fix this when not connecting to the real value for sandgrey 100 and sandgrey 000. This means if we ever switch something in those values we will have to update the alpha values by hand but that shouldnt be a problem I think |
Create a profile picture component.
Props
Default slot
Accessible name of the component in a hidden span or alt text for the image when email is provided.
Notes
Tokens
DEVs proposal
The
Avatar Group
will be another component and is therefore not part of this definition.Token set name:
Components/Avatar
post-avatar-size
post-avatar-bg
post-avatar-fg
post-avatar-border-width
post-avatar-border-color
post-avatar-border-radius
post-avatar-font-size
post-avatar-hover-bg
post-avatar-hover-bg-img-overlay
(not used, avatar has no focus state, instead use anchor (link) focus styles in Figma)post-avatar-focus-outline-width
(not used, avatar has no focus state, instead use anchor (link) focus styles in Figma)post-avatar-focus-outline-color
(not used, avatar has no focus state, instead use anchor (link) focus styles in Figma)post-avatar-focus-outline-offset
The text was updated successfully, but these errors were encountered: