Skip to content

bandColorVars()

function bandColorVars(designColor): Record<string, string>;

CSS custom properties for a band with a custom designColor: the caption color and a readable caption text color. Empty when the band uses the theme’s default band color.

Parameter Type
designColor string | undefined

Record<string, string>