- Fix incorrect hashtag(
#
) prefix.
- Minor logo color adjustments.
- Adjust the logo color according to the background color.
- Supports simple-icons.
- Supports Java 9 and above.
String svg = Badge.builder().label("hello").message("world").build();
Badge.builder()
.style(Style) /* Flat(default), FlatSquare, ForTheBadge, Plastic, Social */
.label(String)
.message(String)
.color(String)
.labelColor(String)
.logo(String) /* data:image/svg+xml;base64,.. */
.logoWidth(int)
.links(String[])
.build();
-
Named color by shields.io
-
Any valid CSS color