AAI SDK
    Preparing search index...

    Function useTheme

    • Read the resolved theme (every ClientTheme field filled with its default) from the nearest theme context. Returns the default theme when no provider is present, so components can call it unconditionally.

      Returns Required<ClientTheme>