Skip to content

Colour Themes

Colour themes

Confluence admins can give every diagram on the site the company's colours.

Creating a theme

  1. Open Confluence settings → Mermaid Diagram settings → Themes. Admins can also get there from Manage themes in the editor's Theme menu.
  2. Create a theme and give it a name.
  3. Pick the colours for boxes, text, borders, lines and the secondary and tertiary fills. A live preview shows the result.
  4. Choose a dark-mode version: generated automatically from your colours, or picked by hand.

Using a theme

Custom themes appear first in every editor's Theme menu. A diagram with a custom theme follows each reader's Confluence colour mode, using the theme's dark-mode version in dark mode.

Archiving

Archive a theme to hide it from the Theme menu. Diagrams that already use it keep its colours.

Dark mode