[PR #7538] [MERGED] theme: the launcher redesign's glass tokens, fonts and icons #7655

Closed
opened 2026-11-03 07:21:30 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/7538
Author: @ludovic111
Created: 11/2/2026
Status: ✅ Merged
Merged: 11/2/2026
Merged by: @ludovic111

Base: main ← Head: feat/launcher-glass-tokens


📝 Commits (1)

  • 9f8eaba theme: the glass look's tokens, fonts and icons

📊 Changes

50 files changed (+496 additions, -2 deletions)

View changed files

📝 THIRD_PARTY_NOTICES.md (+7 -0)
➕ crates/horizon-theme/fonts/BricolageGrotesqueDisplay-SemiBold.ttf (+0 -0)
➕ crates/horizon-theme/fonts/BricolageGrotesqueHeading-SemiBold.ttf (+0 -0)
➕ crates/horizon-theme/icons/glass/LICENSE-hugeicons.txt (+21 -0)
➕ crates/horizon-theme/icons/glass/ai-chat-02.svg (+1 -0)
➕ crates/horizon-theme/icons/glass/arrow-down-01.svg (+1 -0)
➕ crates/horizon-theme/icons/glass/arrow-right-01.svg (+1 -0)
➕ crates/horizon-theme/icons/glass/cancel-01.svg (+1 -0)
➕ crates/horizon-theme/icons/glass/color-picker.svg (+1 -0)
➕ crates/horizon-theme/icons/glass/computer-terminal-01.svg (+1 -0)
➕ crates/horizon-theme/icons/glass/computer.svg (+1 -0)
➕ crates/horizon-theme/icons/glass/copy-01.svg (+1 -0)
➕ crates/horizon-theme/icons/glass/dashboard-square-01.svg (+1 -0)
➕ crates/horizon-theme/icons/glass/delete-02.svg (+1 -0)
➕ crates/horizon-theme/icons/glass/download-04.svg (+1 -0)
➕ crates/horizon-theme/icons/glass/earth.svg (+1 -0)
➕ crates/horizon-theme/icons/glass/favourite.svg (+1 -0)
➕ crates/horizon-theme/icons/glass/folder-01.svg (+1 -0)
➕ crates/horizon-theme/icons/glass/game-controller-01.svg (+1 -0)
➕ crates/horizon-theme/icons/glass/globe-02.svg (+1 -0)

...and 30 more files

📄 Description

🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself.

Redesign 3 of the series that ports Anthony S.'s launcher mockup (playhorizon.dev/launcher) 1:1 to the GPUI launcher. Design reviewer: dezer-x. Stacked on #7489 (the pixel sunset), which is stacked on #7447 (GPUI Fast 0.1.13).

This PR has no visible change. It adds the foundation the glass shell (next PR) and the pages draw with.

What it adds

  • horizon_theme::glass: the mockup's colours, corner radii, text and fill opacities, from horizon-site app/launcher/launcher.css and components/launcher/launcher-ui.tsx.
    • Glass::new(accent) does the mockup's color-mix sums: OKLab mixes, and the plate's premultiplied mix. They are checked against Chrome's own results, so a player's accent comes out as the website's would.
    • tokens.css carries them as --glass-*, so the site and the launcher share one source.
  • Fonts:
    • Bricolage Grotesque SemiBold at optical sizes 56 and 28. These are the cuts a browser picks for the mockup's headings; tools/bake_bricolage.py bakes them.
    • Geist Regular, Medium and SemiBold, registered in the launcher.
  • Icons: the 38 Hugeicons the mockup uses (@hugeicons/core-free-icons 4.4.0, MIT, credited in THIRD_PARTY_NOTICES.md). They are served to GPUI as icons/glass/<name>.svg.
  • Docs: docs/design-system.md gets a "Glass" section.
  • Scene: the background colour now comes from the theme (glass::PAGE). The value is the same as before.

Size: 9 text files, +437 lines; the rest are the font files and icon SVGs.

Self-check

pr_ready (tools/pr_ready.py on ludovics-mac-mini, against origin/main at 7504abf07, 5 min 6 s)

Check Result
Scope ⚠️ 54 files, +1850 −111; 1924 lines of code: over 500, split it if it can ship in parts; mixes game, launcher
Cargo.lock ✅ changes with a Cargo.toml
Public tree ✅
Python tests ✅ 612 passed (2 min 16 s)
rustfmt ✅ (6 s)
clippy ✅ (1 min 32 s)
tests: horizon-theme ✅ 12 passed
doc tests ✅ 0 passed (1 s)
content root tests ➖ content root untouched
mod API up to date ➖ native hooks untouched
tokens.css up to date ✅
launcher rustfmt ✅ (1 s)
launcher clippy ✅ (3 s)
launcher tests ✅ 452 passed (7 s)
Parity ➖ 137 affected, to run in CI (no vanilla data here): ambient_sound, anvil_turtle_egg, armor_stand_frost, armor_stand_turtle_egg, arrow, arrow_wind_charge, audio_attributes, auto_jump, block_entity_anim, block_entity_render, block_entity_tickers, block_particles and 125 more
Label player-facing: feature if players get something new, no label for a fix (release-now if urgent)

The Scope line counts the two PRs below this one, because pr_ready compares against main.

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/7538 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 11/2/2026 **Status:** ✅ Merged **Merged:** 11/2/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `feat/launcher-glass-tokens` --- ### 📝 Commits (1) - [`9f8eaba`](https://github.com/horizon-rust/horizon/commit/9f8eaba80ddd9b067bbb15b9472b5ef122f82421) theme: the glass look's tokens, fonts and icons ### 📊 Changes **50 files changed** (+496 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `THIRD_PARTY_NOTICES.md` (+7 -0) ➕ `crates/horizon-theme/fonts/BricolageGrotesqueDisplay-SemiBold.ttf` (+0 -0) ➕ `crates/horizon-theme/fonts/BricolageGrotesqueHeading-SemiBold.ttf` (+0 -0) ➕ `crates/horizon-theme/icons/glass/LICENSE-hugeicons.txt` (+21 -0) ➕ `crates/horizon-theme/icons/glass/ai-chat-02.svg` (+1 -0) ➕ `crates/horizon-theme/icons/glass/arrow-down-01.svg` (+1 -0) ➕ `crates/horizon-theme/icons/glass/arrow-right-01.svg` (+1 -0) ➕ `crates/horizon-theme/icons/glass/cancel-01.svg` (+1 -0) ➕ `crates/horizon-theme/icons/glass/color-picker.svg` (+1 -0) ➕ `crates/horizon-theme/icons/glass/computer-terminal-01.svg` (+1 -0) ➕ `crates/horizon-theme/icons/glass/computer.svg` (+1 -0) ➕ `crates/horizon-theme/icons/glass/copy-01.svg` (+1 -0) ➕ `crates/horizon-theme/icons/glass/dashboard-square-01.svg` (+1 -0) ➕ `crates/horizon-theme/icons/glass/delete-02.svg` (+1 -0) ➕ `crates/horizon-theme/icons/glass/download-04.svg` (+1 -0) ➕ `crates/horizon-theme/icons/glass/earth.svg` (+1 -0) ➕ `crates/horizon-theme/icons/glass/favourite.svg` (+1 -0) ➕ `crates/horizon-theme/icons/glass/folder-01.svg` (+1 -0) ➕ `crates/horizon-theme/icons/glass/game-controller-01.svg` (+1 -0) ➕ `crates/horizon-theme/icons/glass/globe-02.svg` (+1 -0) _...and 30 more files_ </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. Redesign 3 of the series that ports Anthony S.'s launcher mockup (playhorizon.dev/launcher) 1:1 to the GPUI launcher. Design reviewer: dezer-x. Stacked on #7489 (the pixel sunset), which is stacked on #7447 (GPUI Fast 0.1.13). This PR has **no visible change**. It adds the foundation the glass shell (next PR) and the pages draw with. ## What it adds - **`horizon_theme::glass`**: the mockup's colours, corner radii, text and fill opacities, from horizon-site `app/launcher/launcher.css` and `components/launcher/launcher-ui.tsx`. - `Glass::new(accent)` does the mockup's `color-mix` sums: OKLab mixes, and the plate's premultiplied mix. They are checked against Chrome's own results, so a player's accent comes out as the website's would. - `tokens.css` carries them as `--glass-*`, so the site and the launcher share one source. - **Fonts**: - Bricolage Grotesque SemiBold at optical sizes 56 and 28. These are the cuts a browser picks for the mockup's headings; `tools/bake_bricolage.py` bakes them. - Geist Regular, Medium and SemiBold, registered in the launcher. - **Icons**: the 38 Hugeicons the mockup uses (`@hugeicons/core-free-icons` 4.4.0, MIT, credited in THIRD_PARTY_NOTICES.md). They are served to GPUI as `icons/glass/<name>.svg`. - **Docs**: `docs/design-system.md` gets a "Glass" section. - **Scene**: the background colour now comes from the theme (`glass::PAGE`). The value is the same as before. Size: 9 text files, +437 lines; the rest are the font files and icon SVGs. ## Self-check **pr_ready** (`tools/pr_ready.py` on ludovics-mac-mini, against origin/main at 7504abf07, 5 min 6 s) | Check | Result | | --- | --- | | Scope | ⚠️ 54 files, +1850 −111; 1924 lines of code: over 500, split it if it can ship in parts; mixes game, launcher | | Cargo.lock | ✅ changes with a Cargo.toml | | Public tree | ✅ | | Python tests | ✅ 612 passed (2 min 16 s) | | rustfmt | ✅ (6 s) | | clippy | ✅ (1 min 32 s) | | tests: horizon-theme | ✅ 12 passed | | doc tests | ✅ 0 passed (1 s) | | content root tests | ➖ content root untouched | | mod API up to date | ➖ native hooks untouched | | tokens.css up to date | ✅ | | launcher rustfmt | ✅ (1 s) | | launcher clippy | ✅ (3 s) | | launcher tests | ✅ 452 passed (7 s) | | Parity | ➖ 137 affected, to run in CI (no vanilla data here): ambient_sound, anvil_turtle_egg, armor_stand_frost, armor_stand_turtle_egg, arrow, arrow_wind_charge, audio_attributes, auto_jump, block_entity_anim, block_entity_render, block_entity_tickers, block_particles and 125 more | | Label | player-facing: `feature` if players get something new, no label for a fix (`release-now` if urgent) | The Scope line counts the two PRs below this one, because pr_ready compares against main. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 07:21:30 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#7655
No description provided.