Colors
@Serializable
Constructors
Link copied to clipboard
constructor(background: PaywallColor, text1: PaywallColor, text2: PaywallColor? = null, text3: PaywallColor? = null, callToActionBackground: PaywallColor, callToActionForeground: PaywallColor, callToActionSecondaryBackground: PaywallColor? = null, accent1: PaywallColor? = null, accent2: PaywallColor? = null, accent3: PaywallColor? = null, closeButton: PaywallColor? = null, tierControlBackground: PaywallColor? = null, tierControlForeground: PaywallColor? = null, tierControlSelectedBackground: PaywallColor? = null, tierControlSelectedForeground: PaywallColor? = null)
Properties
Link copied to clipboard
Primary accent color.
Link copied to clipboard
Secondary accent color.
Link copied to clipboard
Tertiary accent color.
Link copied to clipboard
Color for the background of the paywall.
Link copied to clipboard
Background color of the main call to action button.
Link copied to clipboard
Foreground color of the main call to action button.
Link copied to clipboard
If present, the CTA will create a vertical gradient from callToActionBackground to this color.
Link copied to clipboard
Close button accent color.
Link copied to clipboard
Color for the primary text element.
Link copied to clipboard
Color for secondary text element.
Link copied to clipboard
Color for tertiary text element.
Link copied to clipboard
Tier control background color.
Link copied to clipboard
Tier control foreground color.
Link copied to clipboard
Tier control selected background color.
Link copied to clipboard
Tier control selected foreground color.