Skip to content
On this page

Interface

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

Property Type Optional Default Description
background URL ✅ https://i.ibb.co/WnfXZjc/clouds.jpg Background image URL.
centerBar HexColor ✅ rgba(255,255,255,0.65) or rgba(0,0,0,0.55) when light is true Center bar fill color.
centerBarBg HexColor ✅ rgba(255,255,255,0.2) or rgba(0,0,0,0.2) when light is true Center bar background color.
color HexColor ✅ rgba(255,255,255,0.5) or rgba(0,0,0,0.5) when light is true Card overlay/accent color.
fallbackFont string ✅ Absolute file path to a fallback font.
font string ✅ Bundled Baloo2-Regular.woff2 Absolute file path to the primary font.
light boolean ✅ false Use the light compare-card theme.