Aller au contenu principal

Type

This type is used to show the properties of leaderboardCard() options

data object

PropertyTypeOptionalDefaultDescription
artworkColors[HexString, HexString]["#374bff", "#5f69ff"] or ["#ffa237", "#ffcc6b"]The artwork colors.
artworkImageURLThe artwork image.
backgroundColorHexString#000000The background color.
backgroundImageURLThe background image.
borderColors[HexString, HexString]["#374bff", "#5f69ff"] or ["#ffa237", "#ffcc6b"]The border colors.
fallbackFontHexStringThe fallback font file.
lightbooleanfalseWhether to use light mode.
primaryFontHexStringBaloo2The font file path.
rowColors[HexString, HexString]["#1e1e1e", "#282828"] or ["#dcdcdc", "#c8c8c8"]The even & odd row colors.
rowOpacitynumber0.5 or 1The row opacity.
secondaryFontHexStringThe font file path.