[PR #1259] [MERGED] Website: the Blocks look, a blocky Minecraft-like design in Horizon's purple #3460

Closed
opened 2026-11-03 04:09:43 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

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

Base: main ← Head: feat/website-blocks


📝 Commits (2)

  • 70c0622 Website: the Blocks look, a blocky Minecraft-like design in Horizon's purple
  • 63507e7 Merge remote-tracking branch 'origin/main' into feat/website-blocks

📊 Changes

60 files changed (+1019 additions, -59 deletions)

View changed files

📝 THIRD_PARTY_NOTICES.md (+12 -0)
📝 crates/horizon-theme/Cargo.toml (+1 -1)
➕ crates/horizon-theme/fonts/OFL-PixelifySans.txt (+93 -0)
➕ crates/horizon-theme/fonts/PixelifySans-Bold.ttf (+0 -0)
➕ crates/horizon-theme/fonts/PixelifySans-Medium.ttf (+0 -0)
➕ crates/horizon-theme/fonts/PixelifySans-SemiBold.ttf (+0 -0)
➕ crates/horizon-theme/icons/pixel/LICENSE-pixelarticons.txt (+21 -0)
➕ crates/horizon-theme/icons/pixel/archive.svg (+3 -0)
➕ crates/horizon-theme/icons/pixel/arrow-left.svg (+4 -0)
➕ crates/horizon-theme/icons/pixel/book-open.svg (+3 -0)
➕ crates/horizon-theme/icons/pixel/box.svg (+4 -0)
➕ crates/horizon-theme/icons/pixel/bug.svg (+5 -0)
➕ crates/horizon-theme/icons/pixel/check.svg (+3 -0)
➕ crates/horizon-theme/icons/pixel/chevron-down.svg (+3 -0)
➕ crates/horizon-theme/icons/pixel/chevron-right.svg (+3 -0)
➕ crates/horizon-theme/icons/pixel/clock.svg (+3 -0)
➕ crates/horizon-theme/icons/pixel/close.svg (+3 -0)
➕ crates/horizon-theme/icons/pixel/download.svg (+5 -0)
➕ crates/horizon-theme/icons/pixel/external-link.svg (+4 -0)
➕ crates/horizon-theme/icons/pixel/folder.svg (+3 -0)

...and 40 more files

📄 Description

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

Step 2 of brief design-gaming-1, the website half: playhorizon.dev in the Blocks look Ludovic approved (gaming, Minecraft-like, inspired by GD Launcher without its code or assets), in Horizon's purple, light and dark.

What

  • horizon-theme: the Blocks palettes (BLOCKS_LIGHT, BLOCKS_DARK) with a test that every text colour meets WCAG AA (4.5:1) on every panel, the page and the lightest stone shade; Pixelify Sans (OFL) and Pixelarticons (MIT), each with its licence beside it and in THIRD_PARTY_NOTICES.md. The game's menus keep LIGHT/DARK, unchanged.
  • tokens.css (regenerated by cargo run -p xtask -- tokens): the Blocks colours under the old names plus --panel, --raised, --button, --well, --bevel, --lip, --outline, --face*, --pixel and the block edges.
  • The site: headings, navigation and buttons in Pixelify Sans; buttons and lists as square blocks with an outline, a bevel and a lip; a stone texture behind the page; Horizon's pixel landscape (a sunset in dark, a dawn in light) behind the hero, with the at-a-glance rows moved just under it. Light and dark still follow the system, with the existing toggle.
  • Pixel art drawn in code: website/scripts/art.mjs draws the stone (shades of the page colour, not Minecraft's stone) and the landscape into four PNGs of 0.7 to 1.4 KB, one pixel per texel, scaled with image-rendering: pixelated. npm run assets runs it with the font conversion. LEGAL.md lists all of it.
  • Docs: docs/design-system.md gets a Blocks section; website/README.md updated.

No Mojang assets, no third-party art, no new runtime requests. Page weight: +27 KB preloaded (Pixelify Sans Bold), +55 KB for the other two weights when used, +4 KB of art.

The redesigned launcher is held until Ludovic picks GPUI or Tauri; this PR doesn't depend on it.

Screenshots (macOS, Chromium 1440×900 and 390×844)

Before After
Hero, dark
Hero, light
Phone, dark
Phone, light
Docs, dark
Docs, light

Linux

Built from this branch and captured on the ThinkPad (NixOS) with headless Chromium from nixpkgs' Playwright driver (1.59), at the same sizes. The macOS shots above were taken with Playwright 1.64's Chromium.

Dark Light
Hero
Phone
Docs

The pages match macOS. The one difference is the download line: it says "For Linux x86-64", as it should on Linux.

Self-check

  • node build.mjs (with GITHUB_TOKEN for the baked releases): built, 11 docs pages; npm test: 2 passed
  • cargo fmt --all --check: clean; cargo clippy -p horizon-theme --all-targets -- -D warnings: clean
  • cargo test -p horizon-theme -p xtask: 7 + 2 passed (tokens file up to date, WCAG AA in both Blocks palettes, every icon a pixel SVG)

🤖 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/1259 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/22/2026 **Status:** ✅ Merged **Merged:** 10/22/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `feat/website-blocks` --- ### 📝 Commits (2) - [`70c0622`](https://github.com/horizon-rust/horizon/commit/70c06224fee8b7115bb0f086e681fcd9e3b636d8) Website: the Blocks look, a blocky Minecraft-like design in Horizon's purple - [`63507e7`](https://github.com/horizon-rust/horizon/commit/63507e7c26f87dd4a2724223c5601b7012732778) Merge remote-tracking branch 'origin/main' into feat/website-blocks ### 📊 Changes **60 files changed** (+1019 additions, -59 deletions) <details> <summary>View changed files</summary> 📝 `THIRD_PARTY_NOTICES.md` (+12 -0) 📝 `crates/horizon-theme/Cargo.toml` (+1 -1) ➕ `crates/horizon-theme/fonts/OFL-PixelifySans.txt` (+93 -0) ➕ `crates/horizon-theme/fonts/PixelifySans-Bold.ttf` (+0 -0) ➕ `crates/horizon-theme/fonts/PixelifySans-Medium.ttf` (+0 -0) ➕ `crates/horizon-theme/fonts/PixelifySans-SemiBold.ttf` (+0 -0) ➕ `crates/horizon-theme/icons/pixel/LICENSE-pixelarticons.txt` (+21 -0) ➕ `crates/horizon-theme/icons/pixel/archive.svg` (+3 -0) ➕ `crates/horizon-theme/icons/pixel/arrow-left.svg` (+4 -0) ➕ `crates/horizon-theme/icons/pixel/book-open.svg` (+3 -0) ➕ `crates/horizon-theme/icons/pixel/box.svg` (+4 -0) ➕ `crates/horizon-theme/icons/pixel/bug.svg` (+5 -0) ➕ `crates/horizon-theme/icons/pixel/check.svg` (+3 -0) ➕ `crates/horizon-theme/icons/pixel/chevron-down.svg` (+3 -0) ➕ `crates/horizon-theme/icons/pixel/chevron-right.svg` (+3 -0) ➕ `crates/horizon-theme/icons/pixel/clock.svg` (+3 -0) ➕ `crates/horizon-theme/icons/pixel/close.svg` (+3 -0) ➕ `crates/horizon-theme/icons/pixel/download.svg` (+5 -0) ➕ `crates/horizon-theme/icons/pixel/external-link.svg` (+4 -0) ➕ `crates/horizon-theme/icons/pixel/folder.svg` (+3 -0) _...and 40 more files_ </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. Step 2 of brief design-gaming-1, the website half: playhorizon.dev in the Blocks look Ludovic approved (gaming, Minecraft-like, inspired by GD Launcher without its code or assets), in Horizon's purple, light and dark. ## What - **`horizon-theme`**: the Blocks palettes (`BLOCKS_LIGHT`, `BLOCKS_DARK`) with a test that every text colour meets WCAG AA (4.5:1) on every panel, the page and the lightest stone shade; Pixelify Sans (OFL) and Pixelarticons (MIT), each with its licence beside it and in `THIRD_PARTY_NOTICES.md`. The game's menus keep `LIGHT`/`DARK`, unchanged. - **`tokens.css`** (regenerated by `cargo run -p xtask -- tokens`): the Blocks colours under the old names plus `--panel`, `--raised`, `--button`, `--well`, `--bevel`, `--lip`, `--outline`, `--face*`, `--pixel` and the block edges. - **The site**: headings, navigation and buttons in Pixelify Sans; buttons and lists as square blocks with an outline, a bevel and a lip; a stone texture behind the page; Horizon's pixel landscape (a sunset in dark, a dawn in light) behind the hero, with the at-a-glance rows moved just under it. Light and dark still follow the system, with the existing toggle. - **Pixel art drawn in code**: `website/scripts/art.mjs` draws the stone (shades of the page colour, not Minecraft's stone) and the landscape into four PNGs of 0.7 to 1.4 KB, one pixel per texel, scaled with `image-rendering: pixelated`. `npm run assets` runs it with the font conversion. `LEGAL.md` lists all of it. - Docs: `docs/design-system.md` gets a Blocks section; `website/README.md` updated. No Mojang assets, no third-party art, no new runtime requests. Page weight: +27 KB preloaded (Pixelify Sans Bold), +55 KB for the other two weights when used, +4 KB of art. The redesigned launcher is held until Ludovic picks GPUI or Tauri; this PR doesn't depend on it. ## Screenshots (macOS, Chromium 1440×900 and 390×844) | | Before | After | |---|---|---| | Hero, dark | ![](https://raw.githubusercontent.com/ludovic111/horizon/2804cc8464cbb00343e508c22d6465458a71f56b/website/before-hero-dark.png) | ![](https://raw.githubusercontent.com/ludovic111/horizon/2804cc8464cbb00343e508c22d6465458a71f56b/website/after-hero-dark.png) | | Hero, light | ![](https://raw.githubusercontent.com/ludovic111/horizon/2804cc8464cbb00343e508c22d6465458a71f56b/website/before-hero-light.png) | ![](https://raw.githubusercontent.com/ludovic111/horizon/2804cc8464cbb00343e508c22d6465458a71f56b/website/after-hero-light.png) | | Phone, dark | ![](https://raw.githubusercontent.com/ludovic111/horizon/2804cc8464cbb00343e508c22d6465458a71f56b/website/before-phone-dark.png) | ![](https://raw.githubusercontent.com/ludovic111/horizon/2804cc8464cbb00343e508c22d6465458a71f56b/website/after-phone-dark.png) | | Phone, light | ![](https://raw.githubusercontent.com/ludovic111/horizon/2804cc8464cbb00343e508c22d6465458a71f56b/website/before-phone-light.png) | ![](https://raw.githubusercontent.com/ludovic111/horizon/2804cc8464cbb00343e508c22d6465458a71f56b/website/after-phone-light.png) | | Docs, dark | ![](https://raw.githubusercontent.com/ludovic111/horizon/2804cc8464cbb00343e508c22d6465458a71f56b/website/before-docs-dark.png) | ![](https://raw.githubusercontent.com/ludovic111/horizon/2804cc8464cbb00343e508c22d6465458a71f56b/website/after-docs-dark.png) | | Docs, light | ![](https://raw.githubusercontent.com/ludovic111/horizon/2804cc8464cbb00343e508c22d6465458a71f56b/website/before-docs-light.png) | ![](https://raw.githubusercontent.com/ludovic111/horizon/2804cc8464cbb00343e508c22d6465458a71f56b/website/after-docs-light.png) | ### Linux Built from this branch and captured on the ThinkPad (NixOS) with headless Chromium from nixpkgs' Playwright driver (1.59), at the same sizes. The macOS shots above were taken with Playwright 1.64's Chromium. | | Dark | Light | |---|---|---| | Hero | ![](https://raw.githubusercontent.com/ludovic111/horizon/da8c7b8d1f8aa5ef5d838ca6ccaf209e96e11728/website/linux/after-hero-dark.png) | ![](https://raw.githubusercontent.com/ludovic111/horizon/da8c7b8d1f8aa5ef5d838ca6ccaf209e96e11728/website/linux/after-hero-light.png) | | Phone | ![](https://raw.githubusercontent.com/ludovic111/horizon/da8c7b8d1f8aa5ef5d838ca6ccaf209e96e11728/website/linux/after-phone-dark.png) | ![](https://raw.githubusercontent.com/ludovic111/horizon/da8c7b8d1f8aa5ef5d838ca6ccaf209e96e11728/website/linux/after-phone-light.png) | | Docs | ![](https://raw.githubusercontent.com/ludovic111/horizon/da8c7b8d1f8aa5ef5d838ca6ccaf209e96e11728/website/linux/after-docs-dark.png) | ![](https://raw.githubusercontent.com/ludovic111/horizon/da8c7b8d1f8aa5ef5d838ca6ccaf209e96e11728/website/linux/after-docs-light.png) | The pages match macOS. The one difference is the download line: it says "For Linux x86-64", as it should on Linux. ## Self-check - `node build.mjs` (with `GITHUB_TOKEN` for the baked releases): built, 11 docs pages; `npm test`: 2 passed - `cargo fmt --all --check`: clean; `cargo clippy -p horizon-theme --all-targets -- -D warnings`: clean - `cargo test -p horizon-theme -p xtask`: 7 + 2 passed (tokens file up to date, WCAG AA in both Blocks palettes, every icon a pixel SVG) 🤖 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 04:09:43 +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#3460
No description provided.