eliep / vue-avatar

An avatar component for vue.js
https://eliep.github.io/vue-avatar
MIT License
618 stars 70 forks source link

more shapes #8

Open michaelsogos opened 7 years ago

michaelsogos commented 7 years ago

Hi,

Can you also add more shape like:

saintplay commented 6 years ago

Message for anyone also interested on this:

Please share some thoughts on this (implementations and valid uses cases)

jacurtis commented 6 years ago

Seems like this would be out of scope. If you decide to be the first person in the world that uses a rhombus shape for your avatars, you could always add an '.avatar-rhombus' class to it via the customStyling prop and then create your rhombus (or pentagon, or hexagon) shape via that css class in your stylesheet. I am not sure it needs to be hardcoded into the codebase.

I could see rounded square however, that one makes sense and is fairly common. But again, that can be done with css.