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 · Backgrounds for a bracket

BACKGROUND_PRESETSconstant

The names of the twenty-five poster backgrounds.

Import it

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

Also exported from: @johnmorrisdotca/taisen-brackets

Definition

const BACKGROUND_PRESETS: readonly ["midnight", "crimson", "royal", "emerald", "pitch", "ice", "hardwood", "infield", "turf", "ball-panels", "swirl", "waves", "glow", "floodlights", "confetti", "carbon", "aurora", "sunburst", "chevrons", "halftone", "argyle", "contour", "stardust", "mesh", "spotlight"] = shared.BACKGROUND_PRESETS

Examples

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

console.log(BACKGROUND_PRESETS.length, BACKGROUND_PRESETS[0]);
25 midnight

What it prints (run when this page was built)

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