Skip to content

Appearance and Backgrounds

Vivek Sarin edited this page Nov 16, 2026 · 1 revision

Appearance and backgrounds

This page explains how to change the size, the screen mode, and the background of a diagram.

Screen modes

Each diagram has a screen mode. Choose it from the Screen mode menu in the diagram's toolbar.

Mode What it does
Fit Scales the diagram to fit the space. This is the default.
Normal Shows the diagram at its natural size.
Full screen Shows the diagram across the whole screen.

To set the default mode for a diagram, add mode: fit or mode: normal to the diagram block.

Size

To limit the size of a diagram, add height or width to the block:

height: 60vh
width: 80%
  • height accepts a value in viewport height (vh) or pixels (px). For example, 60vh or 500px.
  • width accepts a value in percent (%), viewport width (vw), or pixels (px). For example, 70%, 80vw, or 900px.
  • The diagram is centred when you set a width.

Light and dark themes

Diagrams follow your Obsidian theme. Drawings made in draw.io use a background sheet, which you can choose as described below.

Backgrounds for draw.io drawings

Drawings made in draw.io keep their own colours. You can choose the sheet behind them in three places:

  1. Settings: Open Settings, then FlowMotion. Choose one background for light mode, and another for dark mode.
  2. Per diagram: Use the Background menu in the diagram's toolbar. It writes a paper: line into the diagram block.
  3. In the block: Add a paper: line. You can use one of these values:
    • light for a white sheet
    • dark for a dark sheet
    • none to follow the Obsidian theme
    • A colour, such as paper: "#f4f1ea"

If you do not choose a background, FlowMotion uses the setting for the current theme.

Presentations

In presentations, FlowMotion fits the diagram to the slide automatically. The Normal mode is not offered there. See Presentations.

Clone this wiki locally