mirror of
https://github.com/zsviczian/obsidian-excalidraw-plugin.git
synced 2025-08-06 05:46:28 +00:00
docs: resolve typos and add Chinese documentation - Fixed multiple spelling errors (e.g. "nmuber" → "number") - Removed a blank file (foo) - Added Chinese version of documentation with cross-linking between readme.md of languages [Note] Added a translator donation link in docs/zh-cn/docs/readme.md - please confirm if appropriate
733 B
733 B
◀ Excalidraw 自动化指南
画布样式设置
设置画布的属性。
theme, setTheme()
字符串。有效值为 "light"(明亮)和 "dark"(黑暗)。
setTheme() 接受一个数字参数:
- 0:"light"(明亮)
- 其他任何数字:"dark"(黑暗)
viewBackgroundColor
字符串。这是对象的填充颜色。CSS 合法颜色值
允许的值包括 HTML 颜色名称、十六进制 RGB 字符串(例如红色使用 #FF0000)或 transparent(透明)。
gridSize
数字。网格的大小。如果设置为零,则不显示网格。