Skip to main content
Version: v2.0

Interface

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

Properties​

PropertyTypeOptionalDefaultDescription
backgroundURLβœ…https://i.ibb.co/WnfXZjc/clouds.jpgBackground image URL.
centerBarHexColorβœ…rgba(255,255,255,0.65) or rgba(0,0,0,0.55) when light is trueCenter bar fill color.
centerBarBgHexColorβœ…rgba(255,255,255,0.2) or rgba(0,0,0,0.2) when light is trueCenter bar background color.
colorHexColorβœ…rgba(255,255,255,0.5) or rgba(0,0,0,0.5) when light is trueCard overlay/accent color.
fallbackFontstringβœ…Absolute file path to a fallback font.
fontstringβœ…Bundled Baloo2-Regular.woff2Absolute file path to the primary font.
lightbooleanβœ…falseUse the light compare-card theme.