Skip to content

BlockSuite API Documentation / @blocksuite/blocks / getThemeMode

Function: getThemeMode()

getThemeMode(): "light" | "dark"

Returns

"light" | "dark"

Source

packages/blocks/src/_common/utils/query.ts:749