3 ms·
Thank you! It handles last names and middle names as such: - your example would be JS, however if you specify a desired length of 3, it would be: JAS. I actu
by lasserafn 9y ago
Thank you!
It handles last names and middle names as such:
- your example would be JS, however if you specify a desired length of 3, it would be: JAS.
I actually haven’t tested commas and such but I will definitively add this! Added it to my todo
- cyberferret 9y agoBrilliant - thanks for this. Also, would be a nice feature to have the colours randomise themselves as an option, so that I could have different coloured avatars on my people listing without having to worry about generating pleasing colours and ensuring that the foreground and background do not clash.
- lasserafn 9y agoIt's funny you'd say this! I remember when I launched the core package on Github, someone suggested colors to be generated from the name or initials. I will look into this, it would be pretty neat! Thanks for the feedback :-)
- williamdclt 9y agoI'd say random is better than generated from initials, to avoid two persons with same initials having the same avatar! Random with font color depending on background color (so it's readable and pretty) would be even better :)
- lasserafn 9y agoI love the idea! It's added to my todo :D