SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    Function useResolvedThemeMode

    • Resolves the effective light/dark mode from (in priority order) an explicit mode, a dark/light class on <html>/<body>, then prefers-color-scheme. Framework-neutral (DOM only) — lives here so both the neutral @sheetxl/react layer and the MUI studio resolve the SAME preference the same way (no drift). Re-resolves on class mutations + media changes when no explicit mode is given.

      Parameters

      • Optionaloptions: UseThemeOptions

      Returns { source: Source; themeMode: ThemeMode }