Reference · Browser table and SVG
TENKA_SEAT_COLOURSconstant
THE COLOURS A TABLE IS DRAWN IN: one for each of six seats, and a grey for the neutral army that holds a third of the world in a game for two. Any list of CSS colours may be given instead; a seat past its end wraps round.
Import it
import { TENKA_SEAT_COLOURS } from "@johnmorrisdotca/tenka/ui";
Definition
const TENKA_SEAT_COLOURS: readonly string[] = ["#c8463d", "#3a6fb5", "#e0b23a", "#4d9a5b", "#8a55a8", "#e07b39"]
Examples
import { TENKA_SEAT_COLOURS } from "@johnmorrisdotca/tenka/ui";
console.log(TENKA_SEAT_COLOURS);[ '#c8463d', '#3a6fb5', '#e0b23a', '#4d9a5b', '#8a55a8', '#e07b39' ]What it prints (run when this page was built)