Type
この型は、leaderboardCard() のオプションプロパティを示します。
| Property | Type | Optional | Default | Description |
|---|---|---|---|---|
| artworkColors | [HexColor, HexColor] | ✅ | Dark: ["#6B46D4", "#2e3cff"], Light: ["#997fe1", "#616bff"] | 上部アートワーク領域のグラデーション色。 |
| artworkImage | URL | ✅ | ヘッダー領域に描画するアートワーク画像。 | |
| backgroundColor | HexColor | ✅ | Dark: #141414, Light: #FFFFFF | カード本体領域の背景色。 |
| backgroundImage | URL | ✅ | カード本体領域に描画する背景画像。 | |
| borderColors | [HexColor, HexColor] | ✅ | ["#e0d440", "#fffa6b"] | ギルドアイコンのグラデーション枠色。 |
| fallbackFont | string | ✅ | フォールバックフォントへの絶対パス。 | |
| light | boolean | ✅ | false | ライトテーマの leaderboard card を使うか。 |
| primaryFont | string | ✅ | Bundled Baloo2-Regular.woff2 | メインフォントへの絶対パス。 |
| rowColors | [HexColor, HexColor] | ✅ | Dark: ["#1e1e1e", "#282828"], Light: ["#f0f0f0", "#dcdcdc"] | ランキング行の偶数/奇数背景色。 |
| rowOpacity | number | ✅ | 1, or 0.5 when backgroundImage is provided | 行の不透明度。0..1 の範囲に丸められます。 |
| secondaryFont | string | ✅ | サブフォントへの絶対パス。 |