Skip to content

ViewerTheme

type ViewerTheme = "auto" | "dark" | "light";

Defined in: src/renderers/viewer/viewerStyles.ts:9

Viewer chrome theme. Matches the diagram themes so the shell doesn’t clash with the SVG; 'auto' follows prefers-color-scheme like an 'auto'-themed diagram.