launcher: an accent colour and a picture behind Home

Settings > Launcher picks an accent (violet by default, blue, teal, green, amber, red, pink)
and the player's own picture behind Home. An accent turns the violet tokens to its hue and
adjusts their lightness until text on the Play button and the accent on every background read
as well as the violet's. The picture is checked, copied under a name of its hash and shown
cropped under the banner's veils. CLI: settings accent NAME, settings background PATH|default.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Ludovic Marie
2026-10-27 05:07:38 +01:00
parent b3709b9766
commit 8beaa57331
12 changed files with 577 additions and 31 deletions
+7
View File
@@ -129,6 +129,13 @@ The opening, then Play ([clip](docs/opening.webm)):
the Console's Share log takes them out of the log too. `horizon-launcher account offline
[NAME]`, `account select <name>` (an account or an offline name), `account forget-offline
<name>`.
- **Accent and Home background**: on top of Dark, Light or System, Settings > Launcher picks an
accent (Horizon's violet, blue, teal, green, amber, red or pink) and a picture of the player's
own behind Home (PNG, JPEG or WebP, cropped to fill; **Landscape** brings Horizon's back). An
accent turns the violet tokens to its hue, then darkens or lightens them just enough to keep
white on the Play button at 4.5:1 and the accent at 3:1 on every background (a test holds every
accent in both looks to it). The picture is copied into the data folder.
`horizon-launcher settings accent NAME`, `settings background PATH|default`.
- **Language**: English, French and Russian (the languages Horizon's own game menus have).
The window follows the system's language unless the player picks one in Settings > Launcher
(each named in itself); a string a table lacks shows in English. The tables are