Skip to content

buildThemeToggleJs

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/libs/pme-core/src/tools/theme.ts

Build the client-side JS for theme toggling. Accepts the default theme mode to use as initial value.

Signature

ts
function buildThemeToggleJs(defaultMode: ThemeMode): string

Parameters

NameType
defaultModeThemeMode

Returns: string

Was this page helpful?

Download as PDF