Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

custom-badges

License Last commit Discord

Simple custom badges with modern design

Params

Everything must be URL encoded. For example, use %20 for the space and %23 for # (when defining a color).

Valid color formats: orange - any default web colors %23fF0/%2300AbcD - any HEX color

Add params to this URL: https://badges.immorrtalz.com/index.svg?

Params themselves:
icon - an image src (literally anything you can put into the src attribute of an <img>)

leftText - the left side text
rightText - the right side text

leftColor - the left side text color
rightColor - the right side text color

leftBold - if present, the left side text will be bold
rightBold - if present, the right side text will be bold\

backgroundColor - a background color

Usage example

Note

You need to have a way of executing JS, this will not work on GitHub or Modrinth, it'll just show an empty svg.
You could tweak this and deploy it on a server, which would give an svg to a client.

https://badges.immorrtalz.com/index.svg?icon=https://badges.immorrtalz.com/src/favicon.svg&leftText=custom&rightText=badges&rightColor=%23FFBF66&rightBold&backgroundColor=%23673A00

Font "Google Sans" - Copyright © Google LLC (https://fonts.google.com/specimen/Google+Sans)

About

Simple custom badges with modern design

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Used by

Contributors

Languages