Type
This type is used to show the properties of leaderboardCard() options
data object
| Property | Type | Optional | Default | Description |
|---|---|---|---|---|
| artworkColors | [HexString, HexString] | ✅ | ["#374bff", "#5f69ff"] or ["#ffa237", "#ffcc6b"] | The artwork colors. |
| artworkImage | URL | ✅ | The artwork image. | |
| backgroundColor | HexString | ✅ | #000000 | The background color. |
| backgroundImage | URL | ✅ | The background image. | |
| borderColors | [HexString, HexString] | ✅ | ["#374bff", "#5f69ff"] or ["#ffa237", "#ffcc6b"] | The border colors. |
| fallbackFont | HexString | ✅ | The fallback font file. | |
| light | boolean | ✅ | false | Whether to use light mode. |
| primaryFont | HexString | ✅ | Baloo2 | The font file path. |
| rowColors | [HexString, HexString] | ✅ | ["#1e1e1e", "#282828"] or ["#dcdcdc", "#c8c8c8"] | The even & odd row colors. |
| rowOpacity | number | ✅ | 0.5 or 1 | The row opacity. |
| secondaryFont | HexString | ✅ | The font file path. |