less than a minute read • Updated 10 minutes ago
Style the customer portal
How to style the Foxy customer portal to match your site's branding.
The customer portal’s appearance can be customized to match your branding by adding a style block to the page where it’s embedded.
Steps
<custom-styles>
<style>
html {
--lumo-border-radius: 0.5em;
--lumo-primary-color: #53275E;
--lumo-primary-text-color: rgb(83, 39, 94);
--lumo-body-text-color: hsl(214, 0%, 16%);
/* ...additional variables... */
}
</style>
</custom-styles>
Notes
To apply the styles globally in your page’s
<head>instead of scoping them to the portal, change thehtmlselector to:root.Dark mode is not currently supported by the customer portal.
If you use the “advanced” options on the Lumo editor’s typography page, note that the portal’s elements don’t use the “3X large” size.