Dark Mode

Dark mode is a feature that allows you to switch the color scheme of your live-chat widget from light to dark. This can help you match the theme of your website and provide a better user experience for your visitors.

This guide will show you how to enable dark mode for the Neo live-chat widget on your website.

To enable dark mode on Neo widget, use the darkMode parameter along with the neoSettings.

darkMode parameter supports two values.

  1. light - Enable only light mode. This is the default value.

  2. auto - Enable dark mode based on the operating system preference.

For example, you can use the following code to enable dark mode based on the operating system preference.

window.chatwootSettings = {
  //... other Settings
  darkMode: "auto",
};

Note:dark only is not supported now. We will add the support in future releases.

Last updated