Releases: thutterer/initials
Releases · thutterer/initials
v0.4.3
Shrink ray!
Fixed:
- Now only files in the
lib/
folder are used when building the gem and files like thedemo.png
are not. This reduces the size of the gem by 90% 🙈
No name? No problem.
Fixed
- Instead of raising an error, it now shows a question mark on grey background when provided with an empty name.
Shape up!
New
- Adds an option to define the number of different background
colors
and makes sure that successive name values (A
,B
,C
, ...) result in successive colors, with colors evenly distributed around the color (hue) wheel, resulting in a nice color palette. - Adds an option to set the
shape
of the initials background. Use:rect
or the default:circle
.
v0.3.0
Ruby 3.0 compatibility
v0.2.1 Version 0.2.1
Hello World!
This is the first release of Initials. Checkout the README.md for instructions, but basically:
Initials.svg("Morty Smith", size: 64)