Trevixal API
    Preparing search index...

    Function parseTheme

    • Read a theme file. It comes from anywhere, so a token that could break out of its declaration is dropped, as the controller would drop it, and a file that is not a theme at all throws ThemeFileError rather than applying half a palette.

      Parameters

      • text: string

      Returns ThemePreset