uiconfig.js API
    Preparing search index...

    Function applyTweakpaneTheme

    • Applies a color mode of the theme in uiconfig-tweakpane/theme.css to an element and the Tweakpane panels in it, by setting the classes tpTheme and tpTheme-<mode>. Import the stylesheet once. null removes the theme.

      Parameters

      • element: HTMLElement

        the panel's container, or any ancestor of the panels

      • mode: "light" | "dark" | "blue" | "white" | "black" | null

        the color mode, or null for the default Tweakpane look

      Returns void