How it works
Your file only needs the variables you are overriding — everything you leave out keeps its default. A minimal theme is genuinely small:Theming is an account-level setting, like the rest of Partner settings. There is no query parameter or runtime API for it — send the file to your Ripio contact.
The stable contract
These variables are the supported white-label surface. They will not be renamed, so a theme built on them keeps working as the widget’s internals change. Overriding--ripio-color-primary alone repaints buttons, links, focus rings, spinners and selected states, because the internal tokens point at it.
Component and scale tokens
Beyond the contract above, the widget exposes the design-system scales and per-component tokens. These are safe to override for finer control, but they belong to the design system and may be renamed as it evolves — prefer the contract above where it is enough.What not to override
Legacy variable names
If you already sent Ripio a theme, it keeps working. The older typography and text-colour names are still defined and now resolve to the current scale:
Line-height variables follow the same mapping. New themes should use the current names.
Usage
Customize the typography
Import the font from a static host, then set the variable that ownsfont-family.
Example:
- Font:
Montserrat - Host:
https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap
Customize Buttons
Only variables starting with--ripio-btn modify the buttons.
Primary Button