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

NUMBER_ONE_COLORSconstant

Orange, crimson, blue, teal, purple and amber, each dark enough for white type (4.5 to 1 or better).

Import it

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

Definition

const NUMBER_ONE_COLORS: readonly string[] = Object.freeze(["#c2410c", "#be123c", "#1d4ed8", "#0f766e", "#6d28d9", "#a16207"])

Examples

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

console.log(NUMBER_ONE_COLORS.length);
6

What it prints (run when this page was built)

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