SheetXL - v1.0.2
    Preparing search index...

    Function themeSurfaceProps

    • The selection attributes for a surface container, ready to spread onto the element — e.g. <div {...themeSurfaceProps('grid', 'dark')}>.

      mode is required: a surface container always states its own mode, so every themed region matches the compound [data-sxl-theme-mode][data-sxl-theme-surface] selector — the one a client override addresses.

      Parameters

      Returns ThemeAttrs