obsidian-excalidraw-plugin

A plugin to edit and view Excalidraw drawings in Obsidian

View on GitHub

◀ Excalidraw Automate How To

Canvas style settings

Sets the properties of the canvas.

theme, setTheme()

String. Valid values are “light” and “dark”.

setTheme() accepts a number:

viewBackgroundColor

String. This is the fill color of an object. CSS Legal Color Values

Allowed values are HTML color names, hexadecimal RGB strings e.g. #FF0000 for red, or transparent.

gridSize

Number. The size of the grid. If set to zero, no grid is displayed.