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

Add md icon slot to Avatar component #2722

Merged
merged 2 commits into from
Jun 13, 2022
Merged

Conversation

raimund-schluessler
Copy link
Contributor

@raimund-schluessler raimund-schluessler commented Jun 2, 2022

This PR adds a material design icon slot to the avatar component. Implements the second part of and closes #2707.
I also added an example for an avatar with a md icon.

Screenshot 2022-06-03 at 21-05-53 Nextcloud Vue Style Guide

Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
@raimund-schluessler raimund-schluessler added 3. to review Waiting for reviews feature: avatar Related to the avatar component labels Jun 3, 2022
@raimund-schluessler raimund-schluessler marked this pull request as ready for review June 3, 2022 19:08
Copy link
Contributor

@marcoambrosini marcoambrosini left a comment

Choose a reason for hiding this comment

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

yeah!

Copy link
Contributor

@GretaD GretaD left a comment

Choose a reason for hiding this comment

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

code looks good, i didnt test it

@GretaD GretaD merged commit 4196160 into master Jun 13, 2022
@GretaD GretaD deleted the feature/2707/avatar-icon branch June 13, 2022 15:58
@jancborchardt
Copy link
Contributor

@raimund-schluessler just a small thing about the example: On a blue button, the icons/text should be white for proper contrast, so probably good to reflect it in the example there? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews feature: avatar Related to the avatar component
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Components missing an icon slot
4 participants