![]()
Drawn by scripts/badges.ts, which pnpm build runs; pnpm build:badges builds only these.
The look
- A tile in the brand's background, with a border in its rule colour.
- The logo in the brand's accent, the only colour on the badge.
- JetBrains Mono, the face every brand shares: a muted
//kicker ("// RUNS ON") over the name, or both on one line on compact. - On cozy, the horizon along the bottom edge: the planet in the brand's raised colour with its rim in the accent, stepped into pixels for the plugins.
Themes
| Theme | Folder | Accent |
|---|---|---|
| Xena Studios | badges/xena/ |
Ion Blue |
| NeoSkript | badges/neoskript/ |
Neo Magenta |
| Raptor | badges/raptor/ |
Signal Red |
| Each plugin | badges/plugins/<id>/ |
The plugin's accent, lifted where it's too dark to read, as the docs do |
Badges
Each theme has every badge in two styles: cozy/ (48px tall, two lines) and compact/ (32px, one line).
| Badge | Says | Link it to |
|---|---|---|
modrinth |
Available on Modrinth | The Modrinth page |
github |
Available on GitHub | The download page or releases |
paper, purpur, folia |
Runs on Paper / Purpur / Folia | Nothing |
docs |
Read the Docs | The docs |
website |
Visit the Website | The product's website |
discord |
Chat on Discord | The Discord invite |
The platforms' logos are Devin's Badges' drawings of them (intergrav/devins-badges, CC0), in scripts/badge-icons.ts. Folia's leaf is PaperMC's (MIT), from Material Design Icons (Apache 2.0). The book is our own.
To add a badge, add it to badges in scripts/badges.ts: the kicker, the name, and a one-colour icon. Then run pnpm build:badges. Every theme gets it.
Where they go
| Page | Style | Badges, in this order |
|---|---|---|
| A repo README on GitHub | compact |
Where to get it, what it runs on, the docs |
| A Modrinth page | cozy |
What it runs on, the docs |
| The website, the org profile | None | Their own links and logos already say it |
- Use the project's own theme: a plugin's from
badges/plugins/<id>/, the plugins repo's own README frombadges/xena/. - Where to get it comes first:
modrinthonce it's on Modrinth, otherwisegithublinking to its download page. Don't put it on the Modrinth page itself, since that's where the reader already is. - What it runs on: only the platforms it really runs on. A plugin's
build.gradle.ktssays whether it runs on Folia. - One row, under the tagline. Never above the banner, and never more than five badges: past that they stop being read.
- Write the
altas the badge reads ("Runs on Folia"), so it makes sense without the picture.
Link them from a release, through jsDelivr pinned to the major version (https://cdn.jsdelivr.net/gh/xena-studios/brand@1/badges/...), as Linking files explains. On GitHub use the .svg; on Modrinth the .png. Modrinth shows images from hosts it doesn't list, jsDelivr among them, through its wsrv.nl proxy, which turns an SVG into a PNG at its 1× size, blurry on a sharp screen. The PNGs are 2× and pass through as they are. The plugins repo writes its rows itself, with its docs/scripts/catalog.ts between badges:start and badges:end. Elsewhere, write the HTML by hand so the height is set:
<a href="https://modrinth.com/plugin/neoskript"><img alt="Available on Modrinth" height="32" src="https://cdn.jsdelivr.net/gh/xena-studios/brand@1/badges/neoskript/compact/modrinth.svg"></a>