[PR #3636] [MERGED] Launcher: the night look's specimen page (redesign R1b, draft) #5111

Closed
opened 2026-11-03 05:10:19 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/3636
Author: @ludovic111
Created: 10/29/2026
Status: ✅ Merged
Merged: 10/29/2026
Merged by: @ludovic111

Base: main ← Head: feat/launcher-night-specimen


📝 Commits (3)

  • 3c6bdc2 Launcher: the night look's specimen (HORIZON_LAUNCHER_PAGE=specimen)
  • 768099d Merge feat/launcher-night-tokens into feat/launcher-night-specimen
  • cd44c4f Specimen: plates and the main action cut their corners in pixel steps

📊 Changes

5 files changed (+557 additions, -3 deletions)

View changed files

📝 docs/design-system.md (+2 -0)
📝 launcher/src/main.rs (+11 -0)
➕ launcher/src/plate.rs (+227 -0)
➕ launcher/src/specimen.rs (+310 -0)
📝 launcher/src/theme.rs (+7 -3)

📄 Description

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

Draft, stacked on #3635. Not for merge until Ludovic has seen the screenshots.

What

HORIZON_LAUNCHER_PAGE=specimen horizon-launcher draws the night look's type and colours in the launcher
itself (GPUI, the real fonts), over the six sky stops:

  • each type step: display cut, title, UI, caption, Geist Mono;
  • the four weights, a Latin Extended line, and a Russian line, in Geist's Cyrillic merged into the
    cuts (#3635);
  • each text colour with its contrast on a plate over the sunset's brightest stop, computed live;
  • Play (accent, 56 px), a secondary control, a focus ring, and the three state colours;
  • plates and the main action with pixel-cut corners (Ludovic's choice, 2026-10-29), beside the rounded
    controls. plate.rs draws a cut plate as rectangles that never overlap, so a translucent plate keeps
    one opacity and its 1 px stroke follows the steps (tests: no overlap, the steps, the stroke is exactly
    the fill's outer edge).

Players never reach this page. It is for checking tokens in the real renderer, and later token changes
can be screenshotted the same way. It also brings Theme.night and theme::DISPLAY_FONT, which R2 (the
sky) builds on. If Ludovic would rather not keep the page, those two lines move into R2.

Screenshots

On the Mac mini (real launcher, scratch homes, 1280×800 at 1x):
~/builds/horizon/launcher-redesign-1/r1-specimen-night-1280x800.png,
~/builds/horizon/launcher-redesign-1/r1-specimen-dawn-1280x800.png.

Self-check

pr_ready --quick passed on this exact tree (see #3635 for the block): rustfmt, clippy, horizon-theme
tests, launcher clippy and 254 launcher tests.

🤖 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/3636 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/29/2026 **Status:** ✅ Merged **Merged:** 10/29/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `feat/launcher-night-specimen` --- ### 📝 Commits (3) - [`3c6bdc2`](https://github.com/horizon-rust/horizon/commit/3c6bdc2e5bde42919ef4f19fa81787d11fd78ca8) Launcher: the night look's specimen (HORIZON_LAUNCHER_PAGE=specimen) - [`768099d`](https://github.com/horizon-rust/horizon/commit/768099d32cc7025c8164b9108ccda70c088bb787) Merge feat/launcher-night-tokens into feat/launcher-night-specimen - [`cd44c4f`](https://github.com/horizon-rust/horizon/commit/cd44c4f4954345b76b5ad8e127e67de972c0400f) Specimen: plates and the main action cut their corners in pixel steps ### 📊 Changes **5 files changed** (+557 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `docs/design-system.md` (+2 -0) 📝 `launcher/src/main.rs` (+11 -0) ➕ `launcher/src/plate.rs` (+227 -0) ➕ `launcher/src/specimen.rs` (+310 -0) 📝 `launcher/src/theme.rs` (+7 -3) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. **Draft, stacked on #3635.** Not for merge until Ludovic has seen the screenshots. ## What `HORIZON_LAUNCHER_PAGE=specimen horizon-launcher` draws the night look's type and colours in the launcher itself (GPUI, the real fonts), over the six sky stops: - each type step: display cut, title, UI, caption, Geist Mono; - the four weights, a Latin Extended line, and a Russian line, in Geist's Cyrillic merged into the cuts (#3635); - each text colour with its contrast on a plate over the sunset's brightest stop, computed live; - Play (accent, 56 px), a secondary control, a focus ring, and the three state colours; - plates and the main action with pixel-cut corners (Ludovic's choice, 2026-10-29), beside the rounded controls. `plate.rs` draws a cut plate as rectangles that never overlap, so a translucent plate keeps one opacity and its 1 px stroke follows the steps (tests: no overlap, the steps, the stroke is exactly the fill's outer edge). Players never reach this page. It is for checking tokens in the real renderer, and later token changes can be screenshotted the same way. It also brings `Theme.night` and `theme::DISPLAY_FONT`, which R2 (the sky) builds on. If Ludovic would rather not keep the page, those two lines move into R2. ## Screenshots On the Mac mini (real launcher, scratch homes, 1280×800 at 1x): `~/builds/horizon/launcher-redesign-1/r1-specimen-night-1280x800.png`, `~/builds/horizon/launcher-redesign-1/r1-specimen-dawn-1280x800.png`. ## Self-check pr_ready `--quick` passed on this exact tree (see #3635 for the block): rustfmt, clippy, horizon-theme tests, launcher clippy and 254 launcher tests. 🤖 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 05:10:19 +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#5111
No description provided.