Optional
enabled?: booleanSet false to install the theme but not enable it. Defaults to true. Only one theme can be enabled.
Path on disk to the theme to install.
Optional
enabled?: booleanSet false to install the theme but not enable it. Defaults to true. Only one theme can be enabled.
Github repo of the theme to install, e.g. "some-user/some-theme".
Optional
enabled?: booleanSet false to install the theme but not enable it. Defaults to true. Only one theme can be enabled.
Theme name to install from Obsidian community themes.
A theme to install. Can be a simple string path to the local theme to install, or an object. If an object, set one of:
path
to install a local themerepo
to install a theme from githubname
to install a community themeYou can also pass
enabled: false
to install the theme, but start it disabled by default. You can only have one enabled theme, so if you pass multiple you need to disable all but one.