README.md in letter_avatar-0.3.5 vs README.md in letter_avatar-0.3.6
- old
+ new
@@ -2,10 +2,11 @@
Gem for creating letter avatar from user's name (or any other strong / character).
Code extracted from [discourse](https://www.discourse.org/) source (thanks guys!) - I needed this functionality in three projects, so here's the gem! :-)
+[![Gem Version](https://badge.fury.io/rb/letter_avatar.svg)](https://badge.fury.io/rb/letter_avatar)
[![Code Climate](https://codeclimate.com/github/ksz2k/letter_avatar/badges/gpa.svg)](https://codeclimate.com/github/ksz2k/letter_avatar)
## Examples
#### Google's Inbox Palette
@@ -51,9 +52,11 @@
config.fill_color = 'rgba(255, 255, 255, 1)' # default is 'rgba(255, 255, 255, 0.65)'
config.cache_base_path = 'public/system/lets' # default is 'public/system'
config.colors_palette = :iwanthue # default is :google
config.weight = 500 # default is 300
config.annotate_position = '-0+10' # default is -0+5
+ config.letters_count = 2 # default is 1
+ config.pointsize = 70 # default is 140
end
```
#### Color palette