Function: colorUpdates()
Call Signature
colorUpdates(
sport,primary,secondary?):Paint<BasketballColorKey>
Defined in: packages/sdvplot/src/surfaces.ts:57
Port of _surface.color_updates: the team colours a sport's surface takes, keyed by sporty colour key.
Parameters
sport
"basketball"
primary
string
secondary?
string
Returns
Paint<BasketballColorKey>
Call Signature
colorUpdates(
sport,primary,secondary?):Paint<FootballColorKey>
Defined in: packages/sdvplot/src/surfaces.ts:62
Port of _surface.color_updates: the team colours a sport's surface takes, keyed by sporty colour key.
Parameters
sport
"football"
primary
string
secondary?
string
Returns
Paint<FootballColorKey>
Call Signature
colorUpdates(
sport,primary,secondary?):Paint<HockeyColorKey>
Defined in: packages/sdvplot/src/surfaces.ts:63
Port of _surface.color_updates: the team colours a sport's surface takes, keyed by sporty colour key.
Parameters
sport
"hockey"
primary
string
secondary?
string
Returns
Paint<HockeyColorKey>
Call Signature
colorUpdates(
sport,primary,secondary?):Record<string,string>
Defined in: packages/sdvplot/src/surfaces.ts:64
Port of _surface.color_updates: the team colours a sport's surface takes, keyed by sporty colour key.
Parameters
sport
SurfaceSport
primary
string
secondary?
string
Returns
Record<string, string>