Files
obsidian-excalidraw-plugin/docs/API/canvas_style.md
Zsolt Viczian b4d9469b7d docs v1.0
2021-05-08 20:26:09 +02:00

517 B

Canvas style settings

Sets the properties of the canvas.

theme, setTheme()

String. Valid values are "light" and "dark".

setTheme() accepts a number:

  • 0: "light"
  • any other number: "dark"

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.