◀ 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:
- 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
.
gridSize
Number. The size of the grid. If set to zero, no grid is displayed.