SheetXL - v1.0.2
    Preparing search index...

    Variable ThemeRootStylesConst

    ThemeRootStyles: MemoExoticComponent<
        (__namedParameters: ThemeRootStylesProps) => Element,
    > = ...

    The stylesheets that make an element a self-contained themed instance: the neutral token defaults for the app, grid and header surfaces, the spreadsheet system colors (--sxl-sys-color-*) resolved against those surfaces, and the host's ThemeRootStylesProps.tokens, all scoped to scopeClass.

    WorkbookElement and WorksheetElement render this at their roots. Render it yourself only when you build your own shell around them and its chrome sits outside their roots: then that shell is the theme root. Set data-sxl-theme-mode on the root element alongside the class.

    const scopeClass = createThemeScopeClass('shell', useId());
    <div className={scopeClass} data-sxl-theme-mode="dark">
    <ThemeRootStyles scopeClass={scopeClass} />
    …
    </div>