Palettes & roles

A palette isn't just a row of colors. It's five roles:

RoleUsed for
Background (bg)The block's base color and the area outside the shape
InkMost of the letters
AccentLetters you highlight with per-letter coloring
StrokeLetter outlines
ShadowLetter shadows

A template only remembers which role goes where, not the hex codes. Swap the palette and the whole set recolors. Per-letter coloring also points at a role, so it follows the new palette too.

Built-in palettes

Y2K Night, Bubblegum, Milk Tea, Mono, Lemon Soda and Matcha. Custom palettes are in progress.