Reference · Draw a bracket, a table or a road to the final
JUDO_MAT_COLORSconstant
The IJF-style mat colours, in turn: red, green, yellow, purple, orange, teal. Each reads with the ink the board picks for it.
Import it
import { JUDO_MAT_COLORS } from "@johnmorrisdotca/taisen-brackets";
Definition
const JUDO_MAT_COLORS: readonly string[] = Object.freeze(["#d2232a", "#1e9c4c", "#e7b800", "#7a3fb4", "#e8741a", "#12877f"])
Examples
import { JUDO_MAT_COLORS } from "@johnmorrisdotca/taisen-brackets";
console.log(JUDO_MAT_COLORS.length, JUDO_MAT_COLORS[0]);6 #d2232aWhat it prints (run when this page was built)