Skip to main content

Customisation

Override the SDK's default styles using CSS variables and class selectors to match your platform's look and feel.

CSS Variables

Typography

VariableDescription
--font-familyFont applied to all text
:root {
--font-family: 'Roboto', sans-serif;
}

Colours

VariableDescription
--cta-primaryPrimary CTA background
--cta-primary-textPrimary CTA text colour
--cta-primary-hoverPrimary CTA hover background
--cta-primary-text-hoverPrimary CTA hover text colour
--cta-secondarySecondary CTA background
--cta-secondary-textSecondary CTA text colour
--cta-secondary-hoverSecondary CTA hover background
--cta-secondary-text-hoverSecondary CTA hover text colour
--text-titleSection title colour
--text-primaryPrimary text colour
--text-secondarySecondary text colour
--text-labelInput label colour
--text-inputInput text colour
--state-activeActive tab/state colour
:root {
--cta-primary: #74c043;
--cta-primary-text: #fff;
--cta-primary-hover: #fff;
--cta-primary-text-hover: #00a84f;
--text-title: #095738;
--state-active: #095738;
}

Class Overrides

Buttons

.mz-btn {
border-radius: 1rem;
border: 1px solid #74c043;
}

.mz-btn:hover {
border: 2px solid black;
background-color: white;
}

Cards

.mz-card {
background-color: #f5f5f5;
border-radius: 8px;
}