Skip to content

BlockSuite API Documentation / @blocksuite/blocks / ThemeObserver

Class: ThemeObserver

Constructors

new ThemeObserver()

new ThemeObserver(): ThemeObserver

Returns

ThemeObserver

Defined in

packages/affine/shared/dist/services/theme-service.d.ts:65

Properties

theme$

theme$: Signal<ColorScheme>

Defined in

packages/affine/shared/dist/services/theme-service.d.ts:64

Methods

destroy()

destroy(): void

Returns

void

Defined in

packages/affine/shared/dist/services/theme-service.d.ts:66