• Internal

    Extracts theme annotations from a given string.

    Format: @@<annotationName> value (until end of line)

    Possible annotation names:

    • id: a unique identifier for the theme
    • displayName: a human-readable name for the theme
    • description: a short description of the theme
    • defaultTheme: a boolean flag indicating if this is the default theme

    Parameters

    • s: undefined | null | string

      The string to extract annotations from.

    Returns Theme | null

    An object containing the extracted annotations, or null if no annotations were found.