WDIO Obsidian Service
    Preparing search index...

    Type Alias ThemeEntry

    ThemeEntry:
        | string
        | { enabled?: boolean; path: string }
        | { enabled?: boolean; repo: string }
        | { enabled?: boolean; name: string }

    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 theme
    • repo to install a theme from github
    • name to install a community theme

    You 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.

    Type declaration

    • string
    • { enabled?: boolean; path: string }
      • Optionalenabled?: boolean

        Set false to install the theme but not enable it. Defaults to true. Only one theme can be enabled.

      • path: string

        Path on disk to the theme to install.

    • { enabled?: boolean; repo: string }
      • Optionalenabled?: boolean

        Set false to install the theme but not enable it. Defaults to true. Only one theme can be enabled.

      • repo: string

        Github repo of the theme to install, e.g. "some-user/some-theme".

    • { enabled?: boolean; name: string }
      • Optionalenabled?: boolean

        Set false to install the theme but not enable it. Defaults to true. Only one theme can be enabled.

      • name: string

        Theme name to install from Obsidian community themes.