UI: jade inventory screens with slot tooltips #17

Merged
alex merged 2 commits from feat/ui-polish into feat/island-building 2026-10-31 21:50:34 +01:00
Owner

Stacked on #16.

The game's windows now look like a block game's inventory screens, in pastel jade and sage instead of wood and beeswax.

  • Skin (tokens.css, pixel.css): jade/sage palette, two-pixel bevels, slots lit from the bottom right, a jade secondary button, and a lighter hab-pixel-well for notes and the bee details box so ink stays readable.
  • Slots: a light wash on hover, a thicker honey frame when selected, and a tooltip that follows the pointer (data-tip / data-tip-note, drawn once by hab-game-layout; also shown on keyboard focus, skipped on touch). Bee slots show the species with "Princess · unknown genome" style notes.
  • Drawers fit their content instead of running full height.
  • Fix: slot buttons were picking up the browser's default grey button background and white text.
  • CONVENTIONS describes the new skin; progress log entry "Jade inventory screens".

Lint, typecheck and tests pass for platform-frontend-ui, web-apiary-ui and web. Checked in the browser on the demo account.

🤖 Generated with Claude Code

Stacked on #16. The game's windows now look like a block game's inventory screens, in pastel jade and sage instead of wood and beeswax. - **Skin** (`tokens.css`, `pixel.css`): jade/sage palette, two-pixel bevels, slots lit from the bottom right, a jade secondary button, and a lighter `hab-pixel-well` for notes and the bee details box so ink stays readable. - **Slots**: a light wash on hover, a thicker honey frame when selected, and a tooltip that follows the pointer (`data-tip` / `data-tip-note`, drawn once by `hab-game-layout`; also shown on keyboard focus, skipped on touch). Bee slots show the species with "Princess · unknown genome" style notes. - **Drawers** fit their content instead of running full height. - **Fix**: slot buttons were picking up the browser's default grey button background and white text. - CONVENTIONS describes the new skin; progress log entry "Jade inventory screens". Lint, typecheck and tests pass for platform-frontend-ui, web-apiary-ui and web. Checked in the browser on the demo account. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
The pixel skin now follows block-game inventory screens in pastel jade and
sage: thicker bevels, slots lit from the bottom right, a jade secondary
button and a light well for notes. Slots lighten under the pointer and
show a tooltip drawn by the game layout; bees say whether their genome
is known. Drawers fit their contents, and slot buttons no longer pick up
the browser's button colours.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pixelify Sans drew 5 like S and 2 like Z, so timers and counts were hard
to read. The pixel skin now uses Jersey 10, declared as Habitea Pixel and
scaled to sit with Tailwind's sizes; it has one weight, so the skin turns
off synthetic bold.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
alex merged commit bad7cc9946 into feat/island-building 2026-10-31 21:50:34 +01:00
Sign in to join this conversation.
No reviewers
No labels
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
Habitea/App!17
No description provided.