Skip to main content

Interface: MuiPaletteOptions

Defined in: packages/sdvplot/src/mui.ts:62

teamColors options: the backgrounds the light and dark palettes keep 3:1 contrast against.

Extends​

Properties​

background?​

optional background?: object

Defined in: packages/sdvplot/src/mui.ts:64

The chart's background in each mode. Default MUI's own: { light: "#ffffff", dark: "#121212" }.

dark?​

optional dark?: string

light?​

optional light?: string


fallback?​

optional fallback?: string

Defined in: packages/sdvplot/src/mui.ts:28

The colour of an unresolved team. Default "#808080".

Inherited from​

MuiColorOptions.fallback


idSystem?​

optional idSystem?: IdSystem

Defined in: packages/sdvplot/src/mui.ts:26

How the team values are read. Default "auto".

Inherited from​

MuiColorOptions.idSystem


season?​

optional season?: SeasonInput

Defined in: packages/sdvplot/src/mui.ts:24

The season the teams are resolved for (a number or string).

Inherited from​

MuiColorOptions.season


which?​

optional which?: Which

Defined in: packages/sdvplot/src/mui.ts:22

"primary" (default) or "secondary" colour.

Inherited from​

MuiColorOptions.which