TENKA_SEAT_COLOURS定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
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 { TENKA_SEAT_COLOURS } from "@johnmorrisdotca/tenka/ui";
定義
const TENKA_SEAT_COLOURS: readonly string[] = ["#c8463d", "#3a6fb5", "#e0b23a", "#4d9a5b", "#8a55a8", "#e07b39"]
例
import { TENKA_SEAT_COLOURS } from "@johnmorrisdotca/tenka/ui";
console.log(TENKA_SEAT_COLOURS);[ '#c8463d', '#3a6fb5', '#e0b23a', '#4d9a5b', '#8a55a8', '#e07b39' ]出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。