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
Applies a color mode of the theme in
uiconfig-tweakpane/theme.cssto an element and the Tweakpane panels in it, by setting the classestpThemeandtpTheme-<mode>. Import the stylesheet once.nullremoves the theme.