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

RoadPalettetype

What the road look adds to a palette: the ring and the hairline round a mark, the pill behind a round's name, and the road's dots. Custom properties --tb-mark-ring, --tb-mark-edge, --tb-panel and --tb-spine.

Import it

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

Definition

interface RoadPalette {
    ring: string;
    edge: string;
    panel: string;
    spine: string;
}

Members

NameTypeDescription
ringstring
edgestring
panelstring
spinestring

Examples

import { ROAD_THEMES, type RoadPalette } from "@johnmorrisdotca/taisen-brackets";

const light: RoadPalette = ROAD_THEMES.light;
console.log(light.ring, light.spine);
#ffffff #b9b39f

What it prints (run when this page was built)

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