Skip to main content

palette

Palette: the Night-theme colours from DECISIONS.md as Adventure TextColor constants. Source in libs/palette/.

It holds:

  • the core colours — surface, ink/moonlight, shard/aqua, veil/rose, moonfire;
  • the six rarity tiers;
  • health, mana and xp;
  • OK / ERROR / DIM for staff output.

PaletteTest pins every value to the hex codes in DECISIONS.md, so the game and the websites can't drift apart.

Every colour the server shows comes from here; nothing hard-codes a hex value. The plan in DECISIONS.md is to generate this class from the design system's tokens.json once that file lives in the repo.

The same palette drives this site's theme — see the design system note on the intro page.