← Back to API
Set Theme Color
olark.configure('system.hb_primary_color', string);
Notes
Set the primary color of the chatbox. This can also be changed site wide from the Theme Settings Page.
This configure call will only accept a hex string. For example
olark.configure('system.hb_primary_color', '#744da8');