CompareCardOptionsバージョン: v2.0
目次
Interface
この型は、compareCard() のオプションプロパティを示します。
Properties
Section titled “Properties”| Property | Type | Optional | Default | Description |
|---|---|---|---|---|
| background | URL | ✅ | https://i.ibb.co/WnfXZjc/clouds.jpg |
背景画像の URL。 |
| centerBar | HexColor | ✅ | rgba(255,255,255,0.65) or rgba(0,0,0,0.55) when light is true |
中央バーの塗り色。 |
| centerBarBg | HexColor | ✅ | rgba(255,255,255,0.2) or rgba(0,0,0,0.2) when light is true |
中央バー背景色。 |
| color | HexColor | ✅ | rgba(255,255,255,0.5) or rgba(0,0,0,0.5) when light is true |
カードのオーバーレイ/アクセント色。 |
| fallbackFont | string | ✅ | フォールバックフォントへの絶対パス。 | |
| font | string | ✅ | Bundled Baloo2-Regular.woff2 |
メインフォントへの絶対パス。 |
| light | boolean | ✅ | false |
ライトテーマの compare card を使うか。 |