Give Horizon a mark, and its icon everywhere

The mark is an H whose crossbar is the horizon: a violet line edge to edge, the stems above it
and their reflection below at a third, on whole units of a 16-unit grid so it stays sharp at
16 px. docs/media/brand holds the SVG masters (square icon, macOS tile, avatars, the mark for
light and dark backgrounds), the two alternatives that were shown with it, the GitHub social
preview and the Discord banner, and a README of what goes where and how to upload what only
Ludovic's accounts can.

`cargo run -p xtask -- icons` renders the masters (rsvg-convert) and packs, in plain Rust:
packaging/icons/horizon.ico and horizon.icns, Linux's hicolor icons 16–512 and the scalable
SVG, the game's run-time window icon, the avatars and the website's favicons.
packaging/linux has .desktop entries for the launcher and the game.

On Windows, build.rs embeds the .ico as icon resource 1 in horizon-client (and its tools) and
horizon-launcher (winresource, a Windows-only build dependency); gpui loads that resource as
the launcher's window icon. The game window sets the icon itself (X11, Windows) and names
itself `horizon` on Wayland so the desktop entry matches.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Ludovic Marie
2026-10-14 19:59:44 +02:00
parent 7d26cb0a5b
commit fcbbff26a7
46 changed files with 461 additions and 61 deletions
+10
View File
@@ -0,0 +1,10 @@
[Desktop Entry]
Type=Application
Name=Horizon
GenericName=Game launcher
Comment=Install, prepare and play Horizon, Minecraft: Java Edition 26.3 rewritten in Rust
Exec=horizon-launcher
Icon=horizon
Terminal=false
Categories=Game;
StartupWMClass=horizon-launcher
+10
View File
@@ -0,0 +1,10 @@
[Desktop Entry]
Type=Application
Name=Horizon
Comment=Minecraft: Java Edition 26.3, rewritten in Rust
Exec=horizon-client
Icon=horizon
Terminal=false
Categories=Game;
StartupWMClass=horizon
NoDisplay=true