Skip to the content

Taisen Brackets対戦

Knockout brackets as SVG, from a list of ties.

Taisen (対戦, たいせん) is Japanese for a matchup: two sides facing each other. About the name

Contents

Reference · Draw a bracket, a table or a road to the final

CONFERENCE_COLORSconstant

The colours of the two halves (conferences) of the layouts that colour them, each with white letters on it: --tb-conf-a and --tb-conf-b. Both read 5 to 1 or more against white.

Import it

import { CONFERENCE_COLORS } from "@johnmorrisdotca/taisen-brackets";

Definition

const CONFERENCE_COLORS: readonly [string, string] = Object.freeze(["#2457c5", "#b3261e"] as const)

Examples

import { CONFERENCE_COLORS } from "@johnmorrisdotca/taisen-brackets";

console.log(CONFERENCE_COLORS);
[ '#2457c5', '#b3261e' ]

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/taisen-brackets 0.20.0.