Customisation
Theme Tokens
<SurfWidget
theme={{
colors: {
primary: "#6366f1", // buttons, active states, progress indicators
primaryText: "#ffffff", // text on primary-coloured surfaces
background: "#f9fafb", // widget background
cardBackground: "#ffffff", // card and modal backgrounds
text: "#111827", // primary body text
textSecondary: "#6b7280", // labels and descriptions
apy: "#10b981", // APY value highlight colour
border: "#e5e7eb", // dividers and outlines
success: "#10b981", // success state colour
},
borderRadius: "12px",
fontFamily: "'Inter', sans-serif",
}}
/>CSS Class Overrides
Layout Modes
Mode
How to use
Best for
Last updated