Appearance and languages
One brand colour themes the whole screen; two languages ship, more plug in.
Appearance
<SigningForm
clientSecret={secret}
appearance={{
theme: 'gallery', // 'quiet' takes your page's background
colorScheme: 'auto', // 'light' | 'dark' | 'auto'
variables: { colorPrimary: '#5b3ea8', fontFamily: 'Inter, sans-serif', radius: 8 },
variablesDark: { colorPrimary: '#b9a4ff' },
}}
/>
colorPrimary is the brand colour: the frame around the document, the markers on the page, the highlights and the buttons all derive from it. Override single parts when you need to:
| Variable | Part |
|---|---|
colorPrimary |
the brand colour everything derives from |
colorWall, colorWallText, colorWallMuted |
the frame and its text |
colorAction, colorActionText |
the main button |
colorMarker, colorMarkerText |
markers on the page |
colorText, colorDanger |
text and errors |
fontFamily, radius |
type and corners |
The variables are scoped to the component's root; unsafe values are dropped rather than injected.
Themes and dark mode
gallery frames the white page on a coloured wall; quiet takes your page's background for components that live inside your app. In dark mode the frame deepens and the page stays a lit page, so the document always reads as a document.
Languages
English and Russian ship. A component picks the locale you pass, else the document's or signer's language, else the browser's. Override any string:
<SigningForm clientSecret={secret} locale="ru" messages={{ ru: { 'signing.sign.submit': 'Подписать договор' } }} />
Emails, the signing page and the certificate follow the signer's language too.