window.initAbhaApp({
containerId: "sdk_container",
clientId: "ext",
theme: {
primary: {
brand: '<your_org_primary_color>', // Brand color
},
semantic: {
error: '<your_semantic_error_color>',
warning: '<your_semantic_warning_color>',
success: '<your_semantic_success_color>',
},
surface: {
base: '<your_base_color>', // Background of pages
subtle: '<your_subtle_color>', // Card backgrounds
muted: '<your_muted_color>', // Dividers and borders
strong: '<your_strong_color>',
success: '<your_success_color>', // Success background alerts
neutral: '<your_neutral_color>',
danger: '<your_danger_color>',
abhaCard: '<your_abhaCard_color>', // Specific background for the ABHA ID card
},
content: {
primary: '<your_content_primary_color>', // Heading and main text
secondary: '<your_content_secondary_color>', // Subtext
muted: '<your_content_muted_color>', // Disabled or placeholder text
success: '<your_content_success_color>', // Success text
enabled: '<enabled_button_text_color>', // Enabled button text color
},
qrCodeColors: {
fgColor: '<your_qrcode_dot_color>', // Color of the QR code dots
bgColor: '<your_qrcode_bg_color>' // Background of the QR code
}
},
data: {
orgIconUrl: "https://your-domain.com/logo.png",
// ... rest of your data
},
onSuccess: (params) => { /* ... */ },
onError: (params) => { /* ... */ },
// ... other methods
});