Skip to main content

Function: setDefaultAppearance()

setDefaultAppearance(value): void

Defined in: connect/dist/client-Bpx7GcWJ.d.ts:9

The appearance of every element that has no appearance attribute of its own: light, dark, or undefined to follow the system. For pages with their own light/dark switch (a docs site's theme toggle).

Parametersโ€‹

valueโ€‹

"light" | "dark" | undefined

Returnsโ€‹

void