olark.configure('system.hb_dark_theme', true );

Notes

Choose a light or dark theme for the chatbox. This can also be changed site wide from the Theme Settings Page.

light and dark themes

You can enable a dark theme on a specific page. You can also do this for your entire site from the Theme Settings Page.