Skip to main content

Interface: MatchupColorOptions

Defined in: packages/sdvplot/src/matchup-colors.ts:155

Options for matchupColors: the league, how to resolve the two teams, and the backgrounds.

Extends​

Properties​

idSystem?​

optional idSystem?: IdSystem

Defined in: packages/sdvplot/src/resolve.ts:12

Inherited from​

ResolveOptions.idSystem


league​

league: "aaf" | "ahl" | "ajhl" | "bchl" | "cchl" | "cebl" | "cfb" | "cfl" | "chl" | "cricket" | "easl" | "echl" | "f1" | "fiba" | "gojhl" | "iihf" | "kijhl" | "lba" | "mbb" | "mhl" | "milb" | "mjhl" | "mlb" | "nba" | "nbagl" | "nbl" | "ncaa_baseball" | "ncaa_mhockey" | "ncaa_softball" | "ncaa_whockey" | "nfl" | "nhl" | "nojhl" | "ohl" | "ojhl" | "phf" | "pwhl" | "qmjhl" | "sjhl" | "soccer" | "sphl" | "ufl" | "usfl" | "ushl" | "vijhl" | "wbb" | "whl" | "wnba" | "xfl"

Defined in: packages/sdvplot/src/matchup-colors.ts:157

The league both teams belong to.


season?​

optional season?: SeasonInput | readonly SeasonInput[]

Defined in: packages/sdvplot/src/resolve.ts:11

Inherited from​

ResolveOptions.season


strict?​

optional strict?: boolean

Defined in: packages/sdvplot/src/resolve.ts:13

Inherited from​

ResolveOptions.strict


theme?​

optional theme?: object

Defined in: packages/sdvplot/src/matchup-colors.ts:159

The background each theme's pair must read on; default { light: "#ffffff", dark: "#181a1b" } (Game on Paper's pages).

dark?​

optional dark?: string

light?​

optional light?: string