Theme Switching
Overview
The KYC (Know Your Customer) flow supports both light and dark themes, which can be configured via URL parameters. This allows for seamless integration with your application's existing theme preferences.
URL Parameter
Parameter Name
theme
Accepted Values
light- Activates light mode themedark- Activates dark mode theme
Syntax
https://your-kyc-domain.com/kyc?theme=light
https://your-kyc-domain.com/kyc?theme=dark
Usage Examples
Light Mode
https://example.com/kyc?theme=light
This will render the KYC flow with a light background and dark text, optimized for daytime use and bright environments.
Dark Mode
https://example.com/kyc?theme=dark
This will render the KYC flow with a dark background and light text, reducing eye strain in low-light environments.
Updated about 23 hours ago
