[PR #7839] Launcher: First Light, a launcher theme worn from the Wardrobe #7853

Open
opened 2026-11-03 07:25:29 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/7839
Author: @ludovic111
Created: 11/2/2026
Status: 🔄 Open

Base: feat/cosmetics-wardrobe-client ← Head: feat/cosmetics-first-light


📝 Commits (2)

  • 2b2dfaa Launcher: a launcher theme worn in the Wardrobe brings its sky and accent
  • 4444825 Merge feat/cosmetics-wardrobe-client into feat/cosmetics-first-light

📊 Changes

7 files changed (+104 additions, -8 deletions)

View changed files

📝 docs/cosmetics.md (+4 -1)
📝 launcher/src/main.rs (+6 -0)
📝 launcher/src/theme.rs (+6 -0)
📝 launcher/src/themes_page.rs (+8 -5)
📝 launcher/src/wardrobe.rs (+13 -0)
📝 launcher/src/wardrobe/tests.rs (+22 -0)
📝 launcher/src/wardrobe_page.rs (+45 -2)

📄 Description

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

Cosmetics (off by default, behind horizon_cosmetics::ON_BY_DEFAULT): launcher themes. First Light, the founder set's theme, is worn from the Wardrobe's "Launcher theme" row.

  • While the selected account wears a theme, the launcher's sky uses its six stops and its accent hue (Theme::with_sky, Accent::custom). The service's catalogue carries both; a theme has no item file, and the game never asks for it.
  • The theme comes from the outfit kept on disk (Saved::theme), so it holds offline and after a restart. With cosmetics off, nothing changes.
  • The look is recalculated once after each outfit change (a restyle flag checked in render), never every frame.
  • The dev preview's HORIZON_WARDROBE_STATE=theme wears it.

Stacked on #7777 (Wardrobe page).

Tests

  • the_theme_worn_is_the_one_equipped_in_the_theme_slot: no theme when none is worn; wearing one gives its sky (0xe2a0b0 at stop 5) and hue. A theme the catalogue doesn't hold leaves the player's own look.

Checks

cargo fmt -p horizon-launcher --check                     ok
cargo clippy --all-targets -- -D warnings (launcher)      ok
cargo test --lib wardrobe (launcher)                      7 passed

tools/pr_ready.py was not run: the Mac has under 25 GB free (see #7777). Only the launcher workspace changes here; its full suite passed on the parent head.

Perf: one Theme recalculation per outfit change, nothing per frame.

🤖 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/7839 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 11/2/2026 **Status:** 🔄 Open **Base:** `feat/cosmetics-wardrobe-client` ← **Head:** `feat/cosmetics-first-light` --- ### 📝 Commits (2) - [`2b2dfaa`](https://github.com/horizon-rust/horizon/commit/2b2dfaa6db465d678d2ba15f0f66a42506254604) Launcher: a launcher theme worn in the Wardrobe brings its sky and accent - [`4444825`](https://github.com/horizon-rust/horizon/commit/4444825ecbbfa87618dd133ef235d15f238f841f) Merge feat/cosmetics-wardrobe-client into feat/cosmetics-first-light ### 📊 Changes **7 files changed** (+104 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `docs/cosmetics.md` (+4 -1) 📝 `launcher/src/main.rs` (+6 -0) 📝 `launcher/src/theme.rs` (+6 -0) 📝 `launcher/src/themes_page.rs` (+8 -5) 📝 `launcher/src/wardrobe.rs` (+13 -0) 📝 `launcher/src/wardrobe/tests.rs` (+22 -0) 📝 `launcher/src/wardrobe_page.rs` (+45 -2) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. Cosmetics (off by default, behind `horizon_cosmetics::ON_BY_DEFAULT`): **launcher themes**. First Light, the founder set's theme, is worn from the Wardrobe's "Launcher theme" row. - While the selected account wears a theme, the launcher's sky uses its six stops and its accent hue (`Theme::with_sky`, `Accent::custom`). The service's catalogue carries both; a theme has no item file, and the game never asks for it. - The theme comes from the outfit kept on disk (`Saved::theme`), so it holds offline and after a restart. With cosmetics off, nothing changes. - The look is recalculated once after each outfit change (a `restyle` flag checked in `render`), never every frame. - The dev preview's `HORIZON_WARDROBE_STATE=theme` wears it. Stacked on #7777 (Wardrobe page). ## Tests - `the_theme_worn_is_the_one_equipped_in_the_theme_slot`: no theme when none is worn; wearing one gives its sky (`0xe2a0b0` at stop 5) and hue. A theme the catalogue doesn't hold leaves the player's own look. ## Checks ``` cargo fmt -p horizon-launcher --check ok cargo clippy --all-targets -- -D warnings (launcher) ok cargo test --lib wardrobe (launcher) 7 passed ``` `tools/pr_ready.py` was not run: the Mac has under 25 GB free (see #7777). Only the launcher workspace changes here; its full suite passed on the parent head. **Perf:** one `Theme` recalculation per outfit change, nothing per frame. 🤖 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>
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#7853
No description provided.