Skip to content

t27f_view: the plain map backdrop comes from deck.BACKDROP (brand black) - #6

Merged
gHashTag merged 1 commit into
masterfrom
map-black
Oct 17, 2026
Merged

gHashTag merged 1 commit into
masterfrom
map-black

Conversation

@gHashTag

Copy link
Copy Markdown
Owner

What

The plain map look (look: 0) of t27f_view hard-coded #0b0d12 for its background and for the stroke between cells. This PR makes it read deck.BACKDROP from wasm/deck.mjs instead. That file is generated from specs/t27f/deck.t27, where the value is 0x000000 since gHashTag/t27#10036 (the owner's order of 2026-10-18 to follow the brand book's black). Both looks now share one backdrop, and the number lives only in the spec.

server.mjs: 3 lines edited, 0 lines added. No new logic.

Check

A fresh node server.mjs over JSON-RPC stdio, t27f_view {look: 0}: the background rect is fill="#000000", and no #0b0d12 is left in server.mjs.

🤖 Generated with Claude Code

look 0 hard-coded #0b0d12 for its background and its cell strokes. It
now reads deck.BACKDROP from wasm/deck.mjs (generated from
specs/t27f/deck.t27, 0x000000 since gHashTag/t27#10036), so both looks
share one backdrop and the number lives only in the spec. Net change: 0
lines, 3 edited.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@gHashTag
gHashTag merged commit 5f5d14c into master Oct 17, 2026
1 check passed
@gHashTag
gHashTag deleted the map-black branch October 17, 2026 18:28
@tri-claw

tri-claw Bot commented Oct 17, 2026

Copy link
Copy Markdown

Summary by t27-bees

The PR replaces the hardcoded #0b0d12 background and cell-stroke color in the plain map look (look: 0) with a value derived from deck.BACKDROP (brand black, 0x000000), so both looks share a single source of truth defined in specs/t27f/deck.t27.

Worth a look

  • server.mjs:662 — deck.BACKDROP.toString(16).padStart(6, '0') assumes BACKDROP is a 24-bit integer (0–0xFFFFFF). If the spec ever supplies a value outside that range (e.g., with alpha or >24 bits), the hex string will be wrong.
  • server.mjs:666 — The stroke for non-focused, non-gap cells now uses bg (black). Since the background is also bg, cell borders become invisible in the plain map look; only the focused cell (white stroke) and gap cells (cyan stroke) remain outlined.
  • server.mjs:661 — The bg constant is computed unconditionally, but deck.BACKDROP must already be imported/initialized at this point. If the module load order changes, this could reference undefined.

Read: 1 files, +3 -3, the whole diff. Head 345a909. Model: openai-compatible/nvidia/nemotron-3-ultra-550b-a55b. Commands: @t27-bees review | summary | help | pause | resume. Free for every repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant