Type
Ce type montre les propriétés des options de leaderboardCard()
data object
| Propriété | Type | Optionnel | Défaut | Description |
|---|---|---|---|---|
| artworkColors | [HexString, HexString] | ✅ | ["#374bff", "#5f69ff"] ou ["#ffa237", "#ffcc6b"] | Les couleurs de l'illustration. |
| artworkImage | URL | ✅ | L'image de l'illustration. | |
| backgroundColor | HexString | ✅ | #000000 | La couleur de fond. |
| backgroundImage | URL | ✅ | L'image de fond. | |
| borderColors | [HexString, HexString] | ✅ | ["#374bff", "#5f69ff"] ou ["#ffa237", "#ffcc6b"] | Les couleurs de bordure. |
| fallbackFont | HexString | ✅ | Le fichier de police secondaire. | |
| light | boolean | ✅ | false | Mode clair ou non. |
| primaryFont | HexString | ✅ | Baloo2 | Le fichier de police principal. |
| rowColors | [HexString, HexString] | ✅ | ["#1e1e1e", "#282828"] ou ["#dcdcdc", "#c8c8c8"] | Les couleurs des lignes. |
| rowOpacity | number | ✅ | 0.5 ou 1 | L'opacité des lignes. |
| secondaryFont | HexString | ✅ | Le fichier de police secondaire. |