Skip to content

App.getTheme method

App › getTheme

Unofficial

Get the current color scheme of the application.

Signature:

getTheme(): 'moonstone' | 'obsidian'

Returns: 'moonstone' | 'obsidian'The current theme.

Remarks:

Identical to app.vault.getConfig('theme').