
3️⃣Customize the Theme
Customize the widget to best match your web’s design.
Last updated
const theme = {
...,
fontFamily: 'ui-sans-serif, system-ui, -apple-system'
}const theme = {
...,
borderRadius: {
container: '12px',
inner: '8px',
button: '32px'
}
}const theme = {
...,
colors: {
primary: '#277EEC',
gradient: ['#277EEC', '#1499E4']
}
}const theme = {
...,
colors: {
primary: '#277EEC',
gradient: ['#277EEC', '#1499E4']
},
components: {
button: {
variant: 'gradient' // 'filled' | 'gradient' | 'grey' | 'neutral'
}
}
}const theme = {
...,
components: {
button: {
variant: 'filled' // The color will be determined by the primary color configuration as it is set to 'filled'.
}
}
}