useThemeAppearanceListener
Functions
default()
default():
ThemeAppearance
Handle the theme appearance of the canvas.
This hook works by listening to the "switch-theme-appearance" event and updating the appearance state accordingly. The appearance is initialized to "dark".
Returns
The current theme appearance.