Skip to main content
Theme the dialogs opened by your shared embedded wallet client.

Configure the initial theme

Add a theme field to the canonical client initializer:
Each backdrop property defaults independently. On dark pages, a lighter tint can make the dialog boundary clearer.

Update the theme at runtime

Use this when your application changes color mode after the client has been created.

Override one request

Methods such as signMessage() accept a request-specific theme override:
A request override applies only to that dialog. Keep the client theme as the application-wide default.