Skip to content

CaptureObsidianScreenshotOptions.shouldVerifyTheme?

CaptureObsidianScreenshotOptions › shouldVerifyTheme?

Type: boolean

Whether to refuse the frame when the body is no longer in the theme applyObsidianTheme last applied.

A theme lost after it was applied fails nothing on its own: the frame is simply shot in the other theme and written over the committed one. Refusing turns that into a named error. Nothing is checked when no theme was applied through applyObsidianTheme. Turn it off only for a frame that changes the theme on purpose.