MCP Apps Kit - v0.5.0
    Preparing search index...

    Function applyDocumentTheme

    • Apply a theme to the document

      Sets the appropriate class and data attribute on the document element. When "os" is specified, the system preference is detected and applied.

      Parameters

      • theme: Theme

        The theme to apply ("light", "dark", or "os")

      Returns void