ThemeData object through config.theme. Colors are RGB triple strings such as '255, 50, 114'—not hex values and not rgb(...) wrappers.
Build a color palette
primary and secondary accept DEFAULT, shades 100 through 900, and text. Status colors use Foreground and Background.
- Start from your brand color and generate a 100–900 palette with a tool such as Tailwind Shades.
- Convert
rgb(99, 102, 241)to the Widget format:'99, 102, 241'. - Choose a readable
textvalue for content shown over the palette. - Test the complete flow, including warnings, errors, disabled states, dialogs, and wallet screens.
Layout and visibility
borderRadiusselects a consistent six-step radius scale.header.hideMenu,header.hideTabs, andheader.hideWalletsremove individual header controls.enableWideVersionrenders the wide layout.enablePortalmoves dialogs and dropdowns outside clipping containers.cardBackgroundStyleapplies React CSS properties to the main card.hidePoweredByremoves the footer attribution and is available to every integrator.
Named presets
Named values such aslight, default, ton, immutable, and immutablePlay are Hosted Page URL presets. They do not work through Widget initialValues.theme. For the Widget packages, use config.theme as shown above.
Preview
Open the Widget playground
Test a theme against the current Widget before adding it to your application.