Skip to main content

Dark Mode

MonoChat has a light and a dark theme. You can let it follow the light or dark setting of your device, or choose one yourself.

info

On the web, the Theme field appears only when dark mode is turned on for your MonoChat installation. Where it is off, the web app always uses the light theme.

Choose the theme on the web​

  1. Open My Account from the account button at the top right of the top bar and stay on the General tab.
  2. In Theme, pick one of the options below. The theme changes as soon as you pick it.
OptionWhat you see
SystemFollows the light or dark setting of your device or browser, and switches with it without reloading the page. This is the default.
LightAlways the light theme.
DarkAlways the dark theme.

Where your choice is saved​

Your choice is saved in the browser you made it in, not in your MonoChat account and not in your organization. Another browser or another device keeps its own choice and starts with System, and your teammates' choices do not change yours. Clearing the browser's site data brings it back to System.

In the mobile app​

The MonoChat app for Android and iOS has its own setting: open My Account and tap Theme under General, then choose System, Light or Dark. The app saves it on the phone or tablet, apart from the web. App screens that the mobile app opens from the web app (custom views) use the app's theme where the installation has dark mode turned on.

What the dark theme changes​

  • The whole interface, from the chat screen to settings, uses dark surfaces with light text.
  • Charts, the flow designer and embedded reports are drawn in dark colours.
  • The sign-in pages follow the theme too, and their background image is dimmed, since it is drawn for a light theme.
  • Brand colours are adjusted for the dark background so that text and buttons stay readable.
  • The logo switches to the installation's logo for the dark theme.

Colours that carry a meaning stay the same in both themes: channel colours such as the WhatsApp buttons, flow node types, badges and shift colours. Photos, videos and QR codes do not change either.

Emails​

MonoChat's emails also have a dark version. It does not follow your Theme choice: the email app decides. Apple Mail, the Outlook apps and Outlook.com show the dark version when they are in dark mode, Gmail changes the colours itself, and other email apps show the light version.

Brand colours and logo on your own installation​

This section is for operators of an on-premise or white-label MonoChat installation.

  • Dark mode is turned on with theme.darkMode: true in the public block of the server settings. Without it, the Theme field is hidden and the web app stays light.
  • The dark colours are calculated from your installation's theme.colors (primary, secondary and their shades): the hue stays the same and only the lightness changes, until text in that colour is readable on the dark background. Your light theme does not change.
  • To replace a calculated dark colour, set it in theme.dark.colors, for example "primary-fg": "#5b8def".
  • Upload the logo for dark backgrounds in Root › Environment › Settings, under Logo (dark theme). When it is the same image as your logo, the sign-in pages show it on a light frame so that it stays visible.
  • The dark version of emails uses your emails' brand colour, adjusted the same way.