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:11

Inherited from​

ResolveOptions.idSystem


league​

league: "aaf" | "ahl" | "cfb" | "cricket" | "echl" | "mbb" | "milb" | "mlb" | "nba" | "nbagl" | "ncaa_baseball" | "ncaa_mhockey" | "ncaa_softball" | "ncaa_whockey" | "nfl" | "nhl" | "ohl" | "phf" | "pwhl" | "qmjhl" | "soccer" | "ufl" | "usfl" | "ushl" | "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:10

Inherited from​

ResolveOptions.season


strict?​

optional strict?: boolean

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

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