Skip to content

BlockSuite API Documentation / @blocksuite/blocks / ThemeExtension

Interface: ThemeExtension

Properties

getAppTheme()?

optional getAppTheme: () => Signal<ColorScheme>

Returns

Signal<ColorScheme>

Defined in

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


getEdgelessTheme()?

optional getEdgelessTheme: (docId?) => Signal<ColorScheme>

Parameters

docId?: string

Returns

Signal<ColorScheme>

Defined in

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