Move the Discord brand assets to the kira repo; this repo holds the game, launcher and website

The Discord server banner (page + PNG), the server icon render and Kira's avatar (SVG master +
render) now live in the private kira repo (ludovic111/kira#1). xtask icons no longer renders them;
the brand README points there, and CONTRIBUTING states what belongs in this repository.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Ludovic Marie
2026-10-15 14:23:14 +02:00
parent c6eb50f10b
commit 8dc2a0e90a
8 changed files with 8 additions and 44 deletions
+3
View File
@@ -4,6 +4,9 @@ Thanks for helping. Horizon is Minecraft: Java Edition 26.3 rewritten in Rust, a
everything is that **it plays exactly like vanilla**. This page is the short version of how we work; questions are
welcome on [Discord](https://discord.gg/HcTeMZxe5E).
This repository holds the game, the launcher and the website, plus the tools, tests and docs that build, check and
release them. Anything else (videos, Discord and other community material) lives elsewhere.
## Build it
You need Rust (stable), Python 3.10+, JDK 25, and on Linux the ALSA and udev headers (`libasound2-dev libudev-dev`).
+5 -11
View File
@@ -12,9 +12,8 @@ places it in the design system; `candidates/` keeps the two alternatives that we
| `icon.svg` | the app icon on the 16 grid: the full square with 22 % corners (Windows, Linux, favicons) |
| `icon-macos.svg` | the same tile on Apple's 1024 grid (824 px tile, 185 px corners, transparent margin) |
| `avatar.svg` | full-bleed square for services that round or crop the image (GitHub, Discord) |
| `avatar-kira.svg` | the bot's avatar: the mark on violet, so Kira reads apart from the project |
| `mark.svg`, `mark-dark.svg` | the mark alone, for light and for dark backgrounds |
| `social/card.html`, `social/banner.html` | the GitHub social preview and the Discord banner, as pages |
| `social/card.html` | the GitHub social preview, as a page |
## Generated (don't edit)
@@ -30,15 +29,13 @@ places it in the design system; `candidates/` keeps the two alternatives that we
| `website/public/favicon.svg`, `favicon-32.png`, `apple-touch-icon.png` | the website |
| `icon-1024.png`, `icon-macos-1024.png` | previews, store listings |
| `social/github-avatar-500.png` | GitHub: the organisation or account avatar |
| `social/discord-icon-512.png` | Discord: the server icon |
| `social/kira-avatar-512.png` | Discord: Kira's avatar |
The two pages in `social/` are screenshots, at their exact size, with Playwright from the
The page in `social/` is a screenshot, at their exact size, with Playwright from the
website's dev dependencies:
```sh
cd website && npm install
node -e 'const {chromium}=require("playwright");(async()=>{const b=await chromium.launch();for(const[f,w,h,o]of[["card",1280,640,"github-social-1280x640"],["banner",960,540,"discord-banner-960x540"]]){const p=await b.newPage({viewport:{width:w,height:h}});await p.goto("file://"+require("path").resolve("../docs/media/brand/social/"+f+".html"));await p.waitForTimeout(300);await p.screenshot({path:"../docs/media/brand/social/"+o+".png"})}await b.close()})()'
node -e 'const {chromium}=require("playwright");(async()=>{const b=await chromium.launch();for(const[f,w,h,o]of[["card",1280,640,"github-social-1280x640"]]){const p=await b.newPage({viewport:{width:w,height:h}});await p.goto("file://"+require("path").resolve("../docs/media/brand/social/"+f+".html"));await p.waitForTimeout(300);await p.screenshot({path:"../docs/media/brand/social/"+o+".png"})}await b.close()})()'
```
## Drawn in code
@@ -53,8 +50,5 @@ node -e 'const {chromium}=require("playwright");(async()=>{const b=await chromiu
picture, upload `social/github-avatar-500.png`.
- **GitHub social preview**: the repository's *Settings › General › Social preview › Edit*,
upload `social/github-social-1280x640.png`.
- **Discord server icon and banner**: *Server Settings › Server Profile*: icon
`social/discord-icon-512.png`; banner `social/discord-banner-960x540.png` (the banner needs
boost level 2).
- **Kira's avatar**: discord.com/developers/applications › Kira › *Bot* › icon, upload
`social/kira-avatar-512.png` (or *General Information › App Icon* for the application too).
- **Discord** (the server icon and banner, Kira's avatar): they live in the private kira repo since 2026-10-15
(`assets/`, its README's "Discord brand assets"): this repo holds only the game, the launcher and the website.
-8
View File
@@ -1,8 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
<rect width="16" height="16" fill="#5b3fd6"/>
<g transform="translate(2.4 2.4) scale(.7)">
<g fill="#ffffff"><rect x="4" y="3" width="2" height="4"/><rect x="10" y="3" width="2" height="4"/></g>
<g fill="#ffffff" opacity=".36"><rect x="4" y="8" width="2" height="4"/><rect x="10" y="8" width="2" height="4"/></g>
</g>
<rect y="7.3" width="16" height=".7" fill="#ffffff"/>
</svg>

Before

Width:  |  Height:  |  Size: 456 B

-19
View File
@@ -1,19 +0,0 @@
<!doctype html><meta charset=utf-8><style>
@font-face{font-family:Geist;src:url(/home/ludovic/.t3/worktrees/horizon/t3-1a6cb6c4/website/public/fonts/Geist-Regular.woff2);font-weight:400}
@font-face{font-family:Geist;src:url(/home/ludovic/.t3/worktrees/horizon/t3-1a6cb6c4/website/public/fonts/Geist-Medium.woff2);font-weight:500}
@font-face{font-family:"Geist Mono";src:url(/home/ludovic/.t3/worktrees/horizon/t3-1a6cb6c4/website/public/fonts/GeistMono-Regular.woff2)}
html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#0d0e13;color:#ecedf3;font-family:Geist}
.wrap{position:relative;height:100%;padding:var(--pad);box-sizing:border-box}
.top{display:flex;align-items:center;gap:12px;font-size:var(--small);font-weight:500}
.top img{width:calc(var(--small)*1.6)}
.top span{margin-left:auto;font:400 calc(var(--small)*.85) "Geist Mono";color:#8b8f9c;letter-spacing:.04em}
h1{margin:var(--gap) 0 0;font-weight:500;font-size:var(--display);line-height:1.05;letter-spacing:-.025em;max-width:16ch}
p{margin:calc(var(--gap)*.45) 0 0;color:#8b8f9c;font-size:var(--body);line-height:1.5;max-width:40ch}
.word{position:absolute;left:calc(var(--pad) - .06em);bottom:-.2em;font-weight:500;font-size:var(--word);letter-spacing:-.04em;line-height:.8;color:#181a22}
.line{position:absolute;left:0;right:0;bottom:var(--line);height:2px;background:#9a86ff}
</style><body style="--pad:48px;--small:18px;--gap:44px;--display:52px;--body:20px;--word:260px;--line:0px"><div class=wrap>
<div class=word>horizon</div>
<div class=top><img src=../icon.svg>Horizon<span>MINECRAFT: JAVA EDITION 26.3 · RUST</span></div>
<h1>The game you know, rebuilt in Rust.</h1>
<p>An unofficial client and game logic, checked against vanilla by differential harnesses.</p>
</div></body>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

-6
View File
@@ -192,12 +192,6 @@ fn icons() -> Result<(), String> {
500,
"docs/media/brand/social/github-avatar-500.png",
),
(&avatar, 512, "docs/media/brand/social/discord-icon-512.png"),
(
&brand.join("avatar-kira.svg"),
512,
"docs/media/brand/social/kira-avatar-512.png",
),
(&avatar, 180, "website/public/apple-touch-icon.png"),
(&square, 32, "website/public/favicon-32.png"),
(&square, 1024, "docs/media/brand/icon-1024.png"),