useAppearanceListener
Functions
default()
default():
Appearance
Defined in: canvas/hooks/useAppearanceListener.ts:13
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.