Use this file to discover all available pages before exploring further.
All Synctera card widgets support runtime theming through the styles attribute. Pass a JSON string of design tokens to customize colors, typography, border radius, and more — no widget redeployment needed.
The widget parses the JSON, resolves tokens against built-in defaults, and applies them as CSS custom properties (--gizmo-*) at runtime. Tokens propagate through the widget’s Shadow DOM and are securely bridged into PCI-compliant iframes via URL parameters at creation time.
The theme attribute ("default" or "night-shift") sets a base preset. The styles attribute overrides individual tokens on top of it. If both are set, styles values take precedence per-token.
<!-- Night-shift base with a custom accent color --><set-pin token="your-token" env="production" theme="night-shift" styles='{"primaryColor": "#f59e0b"}'></set-pin>
Tokens are organized into two tiers. Tier 1 (semantic tokens) are the primary styling API — setting 5–6 of these gives you a fully branded widget. Tier 2 (component overrides) provide fine-grained control over individual elements, defaulting to their Tier 1 counterparts when not set.
Unknown token keys are ignored. If you pass a key that doesn’t match a known token, it’s silently dropped.
Invalid JSON falls back to defaults. A malformed styles string logs a console warning and applies no overrides.
Token values are CSS values. Colors accept any CSS color format (#hex, rgb(), hsl(), named colors). Sizes accept px, rem, em, etc. cardBackground supports gradient strings.
Tokens apply at widget initialization. To change tokens after mount, update the styles attribute and the widget will re-apply.